Lines Matching +full:6 +full:ns
7 readonly BASE="ns-$(mktemp -u XXXXXX)"
24 local ns
28 for ns in $NS_SRC $NS_DST; do
29 ip netns del $ns 2>/dev/null
37 local ns
39 for ns in $NS_SRC $NS_DST; do
40 ip netns add $ns
41 ip -n $ns link set dev lo up
44 ip netns exec $ns sysctl -qw net.ipv6.conf.default.router_solicitations=0
45 ip netns exec $ns sysctl -qw net.ipv6.conf.all.router_solicitations=0
50 for ns in $SRC $DST; do
51 ip link set dev veth$ns netns $BASE$ns
52 ip -n $BASE$ns link set dev veth$ns up
53 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24
54 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V6$ns/64 nodad
74 local ns
78 for ns in $SRC $DST; do
80 create_vxlan_endpoint $BASE$ns veth$ns $BM_NET_V4$((3 - $ns)) vxlan$ns 4
81 ip -n $BASE$ns addr add dev vxlan$ns $OL_NET_V4$ns/24
83 for ns in $SRC $DST; do
84 create_vxlan_endpoint $BASE$ns veth$ns $BM_NET_V6$((3 - $ns)) vxlan6$ns 6
85 ip -n $BASE$ns addr add dev vxlan6$ns $OL_NET_V6$ns/24 nodad
117 # rx program does not support '-6' and implies ipv6 usage by default
119 family=-6
176 is_ipv6 $dst && family=-6
195 for family in 4 6; do
203 if [ $family = 6 ]; then