Lines Matching refs:ns2
67 ip netns del ns2 &> /dev/null
699 ip netns add ns2
700 ip -netns ns2 link set dev lo up
701 ip netns exec ns2 sysctl -qw net.ipv4.ip_forward=1
702 ip netns exec ns2 sysctl -qw net.ipv6.conf.all.forwarding=1
709 $IP li set veth2 netns ns2 up
710 $IP li set veth4 netns ns2 up
711 ip -netns ns2 li add dummy1 type dummy
712 ip -netns ns2 li set dummy1 up
719 ip -netns ns2 -6 addr add 2001:db8:101::2/64 dev veth2 nodad
720 ip -netns ns2 -6 addr add 2001:db8:103::2/64 dev veth4 nodad
721 ip -netns ns2 -6 addr add 2001:db8:104::1/64 dev dummy1 nodad
723 ip -netns ns2 addr add 172.16.101.2/24 dev veth2
724 ip -netns ns2 addr add 172.16.103.2/24 dev veth4
725 ip -netns ns2 addr add 172.16.104.1/24 dev dummy1