• Home
  • Raw
  • Download

Lines Matching refs:ip1

39 ip1() { pretty 1 "ip $*"; ip -n $netns1 "$@"; }  function
52 ip1 link del dev wg0
53 ip1 link del dev wg1
92 ip1 addr add 192.168.241.1/24 dev wg0
93 ip1 addr add fd00::1/112 dev wg0
111 ip1 link set up dev wg0
159 [[ $(ip1 link show dev wg0) =~ mtu\ ([0-9]+) ]] && orig_mtu="${BASH_REMATCH[1]}"
169 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip1 -stats link show dev …
179 ip1 link set wg0 mtu $big_mtu
183 ip1 link set wg0 mtu $orig_mtu
190 ip1 link set wg0 mtu $big_mtu
195 ip1 link set wg0 mtu 1300
207 ip1 link set wg0 mtu $orig_mtu
254 ip1 addr flush dev wg0
256 ip1 addr add fd00::5:1/112 dev wg0
260 ip1 link add wg1 type wireguard
262 ip1 addr add 192.168.241.1/24 dev wg1
263 ip1 addr add fd00::1/112 dev wg1
266 ip1 link set mtu 1340 up dev wg1
272 ip1 link set netns $netns0 dev wg1
286 ip1 link del wg0
300 ip1 link add dev wg0 type wireguard
312 ip1 addr add 192.168.1.100/24 dev vethc
313 ip1 link set vethc up
314 ip1 route add default via 192.168.1.1
346 ip1 addr add 192.168.242.1/24 dev wg0
356 ip1 addr del 192.168.242.1/24 dev wg0
359 ip1 -6 addr add fc00::9/96 dev vethc
360 ip1 -6 route add default via fc00::1
364 ip1 -6 route add default dev wg0 table 51820
365 ip1 -6 rule add not fwmark 51820 table 51820
366 ip1 -6 rule add table main suppress_prefixlength 0
367 ip1 -4 route add default dev wg0 table 51820
368 ip1 -4 rule add not fwmark 51820 table 51820
369 ip1 -4 rule add table main suppress_prefixlength 0
388 ip1 link del wg0
403 ip1 link add dev wg0 type wireguard
406 ip1 link add veth1 type veth peer name veth2
407 ip1 link set veth2 netns $netns2
415 ip1 addr add 10.0.0.1/24 dev veth1
416 ip1 addr add fd00:aa::1/96 dev veth1
419 ip1 link set veth1 up
425 ip1 addr add 10.0.0.10/24 dev veth1
426 ip1 addr del 10.0.0.1/24 dev veth1
430 ip1 addr add fd00:aa::10/96 dev veth1
431 ip1 addr del fd00:aa::1/96 dev veth1
435 ip1 link set veth1 down
437 ip1 addr flush dev veth1
439 ip1 addr add 10.0.0.1/24 dev veth1
440 ip1 addr add 10.0.0.2/24 dev veth1
441 ip1 addr add fd00:aa::1/96 dev veth1
442 ip1 addr add fd00:aa::2/96 dev veth1
445 ip1 link set veth1 up
463 ip1 link add dummy0 type dummy
464 ip1 addr add 10.50.0.1/24 dev dummy0
465 ip1 link set dummy0 up
471 ip1 link del dummy0
472 ip1 addr flush dev veth1
474 ip1 route flush dev veth1
478 ip1 link add veth3 type veth peer name veth4
479 ip1 link set veth4 netns $netns2
480 ip1 addr add 10.0.0.1/24 dev veth1
482 ip1 addr add 10.0.0.3/24 dev veth3
483 ip1 link set veth1 up
485 ip1 link set veth3 up
491 ip1 route flush dev veth1
492 ip1 route flush dev veth3
493 ip1 route add 10.0.0.0/24 dev veth1 src 10.0.0.1 metric 2
497 ip1 route add 10.0.0.0/24 dev veth3 src 10.0.0.3 metric 1
505 ip1 link del veth1
506 ip1 link del veth3
507 ip1 link del wg0
617 ip1 link add dev wg0 type wireguard
620 ip1 link add veth1 type veth peer name veth2
621 ip1 link set veth2 netns $netns2
622 ip1 addr add fd00:aa::1/64 dev veth1
624 ip1 link set veth1 up
628 ip1 -6 route add default dev veth1 via fd00:aa::2
639 ip1 link add wg1 type wireguard
641 ip1 link set wg1 netns $netns2