Lines Matching refs:ip

58 	ip netns add ns1
59 ip netns set ns1 auto
61 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1
62 ip netns exec ns1 sysctl -qw net.ipv6.conf.all.forwarding=1
75 ip netns del ns1 &> /dev/null
76 ip netns del ns2 &> /dev/null
451 ip netns add ns2
452 ip netns set ns2 auto
454 ip -netns ns2 link set dev lo up
459 ip -netns ns2 address add 192.0.2.1/24 dev veth2
461 ip -netns ns2 link set dev veth2 up
465 ip -netns ns2 link set dev lo address 52:54:00:6a:c7:5e
466 ip -netns ns2 link set dev veth2 address 52:54:00:6a:c7:5e
469 ip netns exec ns2 tc qdisc add dev lo parent root handle 1: fq_codel
470 ip netns exec ns2 tc filter add dev lo parent 1: protocol arp basic \
472 ip netns exec ns2 tc filter add dev lo parent 1: protocol ip basic \
479 $NS_EXEC tc filter add dev veth1 ingress protocol ip basic \
486 $NS_EXEC tc filter add dev lo parent 1: protocol ip basic \
490 ip netns exec ns2 tc qdisc add dev veth2 ingress
491 ip netns exec ns2 tc filter add dev veth2 ingress protocol arp basic \
493 ip netns exec ns2 tc filter add dev veth2 ingress protocol ip basic \
499 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.rp_filter=1
500 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.accept_local=1
501 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.route_localnet=1
677 $NS_EXEC ip monitor route &> errors.txt &
724 $NS_EXEC ip monitor route &> errors.txt &
729 nexthop encap ip dst 192.168.10.20 via 20.20.20.1 dev dummy_20 \
730 nexthop encap ip dst 192.168.10.30 via 20.20.30.1 dev dummy_30 \
731 nexthop encap ip dst 192.168.10.40 via 20.20.40.1 dev dummy_40 \
732 nexthop encap ip dst 192.168.10.50 via 20.20.50.1 dev dummy_50 \
733 nexthop encap ip dst 192.168.10.60 via 20.20.60.1 dev dummy_60 \
734 nexthop encap ip dst 192.168.10.70 via 20.20.70.1 dev dummy_70
962 ip netns add ns2
963 ip netns set ns2 auto
964 ip -netns ns2 link set dev lo up
965 ip netns exec ns2 sysctl -qw net.ipv4.ip_forward=1
966 ip netns exec ns2 sysctl -qw net.ipv6.conf.all.forwarding=1
975 ip -netns ns2 li add dummy1 type dummy
976 ip -netns ns2 li set dummy1 up
983 ip -netns ns2 -6 addr add 2001:db8:101::2/64 dev veth2 nodad
984 ip -netns ns2 -6 addr add 2001:db8:103::2/64 dev veth4 nodad
985 ip -netns ns2 -6 addr add 2001:db8:104::1/64 dev dummy1 nodad
987 ip -netns ns2 addr add 172.16.101.2/24 dev veth2
988 ip -netns ns2 addr add 172.16.103.2/24 dev veth4
989 ip -netns ns2 addr add 172.16.104.1/24 dev dummy1
1174 ip addr help 2>&1 | grep -q metric
2199 ip netns exec ns2 socat UDP4-LISTEN:54321,fork $tmp_file &
2257 ip netns exec ns2 socat UDP6-LISTEN:54321,fork $tmp_file &
2303 ip neigh help 2>&1 | grep -q 'ip neigh get'
2400 ip -n $ns -j -s link show dev $dev \
2445 local dmac=$(ip -n ns2 -j link show dev veth2 | jq -r '.[]["address"]')
2490 local dmac=$(ip -n ns2 -j link show dev veth2 | jq -r '.[]["address"]')
2557 ip route help 2>&1 | grep -q fibmatch