Lines Matching refs:veth1
132 ip link add veth1 type veth peer name veth2
140 ip link set veth1 netns ${NS1}
154 ip -netns ${NS1} link set veth1 vrf red
168 ip -netns ${NS1} addr add ${IPv4_1}/24 dev veth1
172 ip -netns ${NS1} -6 addr add ${IPv6_1}/128 nodad dev veth1
187 ip -netns ${NS1} link set dev veth1 up
201 ip -netns ${NS1} route add ${IPv4_2}/32 dev veth1 ${VRF}
202 ip -netns ${NS1} route add default dev veth1 via ${IPv4_2} ${VRF} # go top by default
203 ip -netns ${NS1} -6 route add ${IPv6_2}/128 dev veth1 ${VRF}
204 ip -netns ${NS1} -6 route add default dev veth1 via ${IPv6_2} ${VRF} # go top by default
298 ip netns exec ${NS1} ping -c 1 -W 1 -I veth1 ${IPv4_DST} 2>&1 > /dev/null
301 ip netns exec ${NS1} ping6 -c 1 -W 1 -I veth1 ${IPv6_DST} 2>&1 > /dev/null
377 ${BPF_FILE} sec encap_gre dev veth1 ${VRF}
379 ${BPF_FILE} sec encap_gre dev veth1 ${VRF}
382 ${BPF_FILE} sec encap_gre6 dev veth1 ${VRF}
384 ${BPF_FILE} sec encap_gre6 dev veth1 ${VRF}