Lines Matching full:h1
10 vrf_create "vrf-h1"
11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
16 ip address add 192.0.2.2/24 dev $h1
18 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
19 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.1
24 ip route del 198.51.200.0/24 vrf vrf-h1
25 ip route del 198.51.100.0/24 vrf vrf-h1
27 ip address del 192.0.2.2/24 dev $h1
29 ip link set dev $h1 down
30 vrf_destroy "vrf-h1"
109 h1=${NETIFS[p1]}
187 ping_test_from $h1 198.51.100.255 192.0.2.1
188 log_test "h1 -> net2: reply from r1 (not forwarding)"
189 ping_test_from $h1 198.51.200.255 192.0.2.1
190 log_test "h1 -> net3: reply from r1 (not forwarding)"
191 ping_test_from $h1 192.0.2.255 192.0.2.1
192 log_test "h1 -> net1: reply from r1 (not dropping)"
193 ping_test_from $h1 255.255.255.255 192.0.2.1
194 log_test "h1 -> 255.255.255.255: reply from r1 (not forwarding)"
208 ping_test_from $h1 198.51.100.255 198.51.100.2
209 log_test "h1 -> net2: reply from h2 (forwarding)"
210 ping_test_from $h1 198.51.200.255 198.51.200.2
211 log_test "h1 -> net3: reply from h3 (forwarding)"
212 ping_test_from $h1 192.0.2.255 192.0.2.1 1
213 log_test "h1 -> net1: no reply (dropping)"
214 ping_test_from $h1 255.255.255.255 192.0.2.1
215 log_test "h1 -> 255.255.255.255: reply from r1 (not forwarding)"
218 log_test "h2 -> net1: reply from h1 (forwarding)"