Lines Matching refs:h1
67 ip netns add h1
68 ip -n h1 link set lo up
73 ip -n h1 link add name eth0 type dummy
74 ip -n h1 link set eth0 up
75 ip -n h1 address add 192.168.0.1/24 dev eth0
78 ip -n h1 link add name veth0 type veth peer name veth1 netns h2
79 ip -n h1 link set veth0 up
88 ip -n h1 nexthop add id 1 dev veth0
89 ip -n h1 route add 192.168.1.1 nhid 1
94 ip netns del h1 2>/dev/null
114 run_cmd ip -netns h1 route get 192.168.1.1
116 run_cmd ip netns exec h1 ping -c1 192.168.1.1