Lines Matching refs:ns1

100 	setup_ns ns1
102 ip -n $ns1 address add 192.0.2.1/32 dev lo
103 ip -n $ns1 address add 198.51.100.1/32 dev lo
105 ip -n $ns1 link add name vx0 up type vxlan id 100 local 198.51.100.1 \
107 ip -n $ns1 link add name vx1 up type vxlan id 100 dstport 4790
112 cleanup_ns $ns1
123 run_cmd "bridge -n $ns1 fdb add $dmac dev vx0 self static dst 192.0.2.1 port 4790"
125 run_cmd "tc -n $ns1 qdisc add dev vx1 clsact"
126 …run_cmd "tc -n $ns1 filter add dev vx1 ingress pref 1 handle 101 proto all flower src_mac $smac ds…
128 run_cmd "tc -n $ns1 qdisc add dev lo clsact"
129 …run_cmd "tc -n $ns1 filter add dev lo ingress pref 1 handle 101 proto ip flower ip_proto udp dst_p…
131 …run_cmd "ip -n $ns1 -d -j link show dev vx0 | jq -e '.[][\"linkinfo\"][\"info_data\"][\"localbypas…
134 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
136 tc_check_packets "$ns1" "dev vx1 ingress" 101 1
139 run_cmd "ip -n $ns1 link set dev vx0 type vxlan nolocalbypass"
141 …run_cmd "ip -n $ns1 -d -j link show dev vx0 | jq -e '.[][\"linkinfo\"][\"info_data\"][\"localbypas…
144 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
146 tc_check_packets "$ns1" "dev vx1 ingress" 101 1
149 run_cmd "ip -n $ns1 link set dev vx0 type vxlan localbypass"
151 …run_cmd "ip -n $ns1 -d -j link show dev vx0 | jq -e '.[][\"linkinfo\"][\"info_data\"][\"localbypas…
154 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
156 tc_check_packets "$ns1" "dev vx1 ingress" 101 2