Lines Matching full:h1
5 # | H1 | | H2 |
6 # | $h1 + | | $h2 + |
29 vrf_create "vrf-h1"
30 ip link set dev $h1 master vrf-h1
32 ip link set dev vrf-h1 up
33 ip link set dev $h1 up
35 ip address add 192.0.2.2/24 dev $h1
36 ip address add 2001:db8:1::2/64 dev $h1
38 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
39 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
44 ip route del 2001:db8:2::/64 vrf vrf-h1
45 ip route del 198.51.100.0/24 vrf vrf-h1
47 ip address del 2001:db8:1::2/64 dev $h1
48 ip address del 192.0.2.2/24 dev $h1
50 ip link set dev $h1 down
51 vrf_destroy "vrf-h1"
124 h1=${NETIFS[p1]}
158 ping_test $h1 198.51.100.2
163 ping6_test $h1 2001:db8:2::2