Lines Matching refs:ip2

42 ip2() { pretty 2 "ip $*"; ip -n $netns2 "$@"; }  function
56 ip2 link del dev wg0
57 ip2 link del dev wg1
97 ip2 addr add 192.168.241.2/24 dev wg0
98 ip2 addr add fd00::2/112 dev wg0
114 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
313 ip2 link add dev wg0 type wireguard
327 ip2 addr add 10.0.0.100/24 dev veths
328 ip2 link set veths up
359 ip2 link add wg1 type wireguard
360 ip2 addr add 192.168.242.2/24 dev wg1
362 ip2 link set wg1 up
364 ip2 link del wg1
373 ip2 -4 addr add 192.168.99.7/32 dev wg0
374 ip2 -6 addr add abab::1111/128 dev wg0
401 ip2 link del wg0
416 ip2 link add dev wg0 type wireguard
429 ip2 addr add 10.0.0.2/24 dev veth2
430 ip2 addr add fd00:aa::2/96 dev veth2
432 ip2 link set veth2 up
448 ip2 link set veth2 down
450 ip2 addr flush dev veth2
455 ip2 addr add 10.0.0.3/24 dev veth2
456 ip2 addr add fd00:aa::3/96 dev veth2
458 ip2 link set veth2 up
478 ip2 route add 10.50.0.0/24 dev veth2
485 ip2 addr flush dev veth2
487 ip2 route flush dev veth2
493 ip2 addr add 10.0.0.2/24 dev veth2
496 ip2 link set veth2 up
498 ip2 link set veth4 up
519 ip2 link del dev wg0
652 ip2 link add dev wg0 type wireguard
657 ip2 addr add fd00:aa::2/64 dev veth2
659 ip2 link set veth2 up
663 ip2 -6 route add default dev veth2 via fd00:aa::1
674 ip2 link add wg2 type wireguard
676 ip2 link set wg2 netns $netns1