Lines Matching refs:ip2
40 ip2() { pretty 2 "ip $*"; ip -n $netns2 "$@"; } function
54 ip2 link del dev wg0
55 ip2 link del dev wg1
95 ip2 addr add 192.168.241.2/24 dev wg0
96 ip2 addr add fd00::2/112 dev wg0
112 ip2 link set up dev wg0
167 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip2 -stats link show dev …
180 ip2 link set wg0 mtu $big_mtu
184 ip2 link set wg0 mtu $orig_mtu
191 ip2 link set wg0 mtu $big_mtu
196 ip2 link set wg0 mtu 1300
208 ip2 link set wg0 mtu $orig_mtu
255 ip2 addr flush dev wg0
257 ip2 addr add fd00::5:2/112 dev wg0
261 ip2 link add wg1 type wireguard
264 ip2 addr add 192.168.241.2/24 dev wg1
265 ip2 addr add fd00::2/112 dev wg1
267 ip2 link set mtu 1340 up dev wg1
277 ip2 link del wg0
278 ip2 link del wg1
301 ip2 link add dev wg0 type wireguard
315 ip2 addr add 10.0.0.100/24 dev veths
316 ip2 link set veths up
347 ip2 link add wg1 type wireguard
348 ip2 addr add 192.168.242.2/24 dev wg1
350 ip2 link set wg1 up
352 ip2 link del wg1
361 ip2 -4 addr add 192.168.99.7/32 dev wg0
362 ip2 -6 addr add abab::1111/128 dev wg0
389 ip2 link del wg0
404 ip2 link add dev wg0 type wireguard
417 ip2 addr add 10.0.0.2/24 dev veth2
418 ip2 addr add fd00:aa::2/96 dev veth2
420 ip2 link set veth2 up
436 ip2 link set veth2 down
438 ip2 addr flush dev veth2
443 ip2 addr add 10.0.0.3/24 dev veth2
444 ip2 addr add fd00:aa::3/96 dev veth2
446 ip2 link set veth2 up
466 ip2 route add 10.50.0.0/24 dev veth2
473 ip2 addr flush dev veth2
475 ip2 route flush dev veth2
481 ip2 addr add 10.0.0.2/24 dev veth2
484 ip2 link set veth2 up
486 ip2 link set veth4 up
508 ip2 link del wg0
618 ip2 link add dev wg0 type wireguard
623 ip2 addr add fd00:aa::2/64 dev veth2
625 ip2 link set veth2 up
629 ip2 -6 route add default dev veth2 via fd00:aa::1
640 ip2 link add wg2 type wireguard
642 ip2 link set wg2 netns $netns1