Lines Matching refs:veth1
39 # IP addresses of veth0 (IP0) and veth1 (IP1) devices (ipv4/ipv6 variant
105 # IPv4 addresses for veth0 and veth1 devices.
107 # IPv6 addresses for veth0 and veth1 devices.
152 tst_brkm TBROK "fifth argument must be the IPv4 address for veth1"
158 tst_brkm TBROK "seventh argument must be the IPv6 address for veth1"
200 $NS_EXEC $NS_HANDLE0 $NS_TYPE ip link add veth0 type veth peer name veth1 || \
203 $NS_EXEC $NS_HANDLE0 $NS_TYPE ns_ifmove veth1 $NS_HANDLE1
213 tst_brkm TBROK "unable to add device veth1 to the separate network namespace"
236 $NS_EXEC $NS_HANDLE0 ip link add veth0 type veth peer name veth1 || \
239 $NS_EXEC $NS_HANDLE0 ip link set veth1 netns $NS_HANDLE1 || \
240 tst_brkm TBROK "unable to add device veth1 to the separate network namespace"
263 tee /proc/sys/net/ipv6/conf/veth1/accept_dad \
264 /proc/sys/net/ipv6/conf/veth1/accept_ra >/dev/null
270 $NS_EXEC $NS_HANDLE1 $NS_TYPE ifconfig veth1 $IFCONF_IN6_ARG $IP1/$NETMASK ||
271 tst_brkm TBROK "adding address to veth1 failed"
274 $NS_EXEC $NS_HANDLE1 $NS_TYPE ifconfig veth1 up ||
275 tst_brkm TBROK "enabling veth1 device failed"
280 $NS_EXEC $NS_HANDLE1 $NS_TYPE ip address add $IP1/$NETMASK dev veth1 ||
281 tst_brkm TBROK "adding address to veth1 failed"
284 $NS_EXEC $NS_HANDLE1 $NS_TYPE ip link set veth1 up ||
285 tst_brkm TBROK "enabling veth1 device failed"
296 # removes veth0 device (which also removes the paired veth1 device)
310 # removes veth0 device (which also removes the paired veth1 device)