Lines Matching full:h1
5 # | H1 (vrf) | | H2 (vrf) |
6 # | + $h1.100 + $h1.200 | | + $h2 |
11 # | + $h1 | | | |
41 simple_if_init $h1
42 vlan_create $h1 100 v$h1 192.0.2.1/28 2001:db8:1::1/64
43 vlan_create $h1 200 v$h1 192.0.2.17/28 2001:db8:3::1/64
44 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
45 ip -4 route add 192.0.2.144/28 vrf v$h1 nexthop via 192.0.2.18
46 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
47 ip -6 route add 2001:db8:4::/64 vrf v$h1 nexthop via 2001:db8:3::2
52 ip -6 route del 2001:db8:4::/64 vrf v$h1
53 ip -6 route del 2001:db8:2::/64 vrf v$h1
54 ip -4 route del 192.0.2.144/28 vrf v$h1
55 ip -4 route del 192.0.2.128/28 vrf v$h1
56 vlan_destroy $h1 200
57 vlan_destroy $h1 100
58 simple_if_fini $h1
136 h1=${NETIFS[p1]}
168 ping_test $h1 192.0.2.130 ": via 100"
169 ping_test $h1 192.0.2.146 ": via 200"
174 ping6_test $h1 2001:db8:2::2 ": via 100"
175 ping6_test $h1 2001:db8:4::2 ": via 200"