Lines Matching +full:6 +full:ns
4 # Validate cached routes in fib{6}_nh that is used by multiple prefixes.
74 local ns=${1}
76 ip netns exec ${ns} sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
77 case ${ns} in
79 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
82 ip netns exec $ns sysctl -q -w net.ipv4.ip_forward=1
83 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
90 local ns
101 for ns in ${h[0]} ${r[1]} ${h[1]} ${h[2]} ${h[3]}
103 create_ns ${ns}
117 ip -netns ${h[$i]} -6 addr add dev eth0 2001:db8:10${i}::1/64
119 ip -netns ${r[1]} -6 addr add dev eth${i} 2001:db8:10${i}::64/64
123 ip -netns ${h[0]} nexthop add id 6 via 2001:db8:100::64 dev eth0
131 ip -netns ${h[0]} -6 ro add 2001:db8:10${i}::/64 nhid 6
132 ip -netns ${h[$i]} -6 ro add 2001:db8:100::/64 via 2001:db8:10${i}::64
140 ip -netns ${h[0]} -6 ro sh
208 ip -netns ${h0} -6 ro get ${dst}
214 ip -netns ${h0} -6 ro get ${dst} | \
284 ip -netns ${h0} -6 ro del 2001:db8:102::/64 nhid 6
287 ip -netns ${h0} nexthop del id 6