Lines Matching refs:veth1
27 ip -n $SERVER_NS link add veth1 type veth peer name veth1 netns $CLIENT_NS1
28 ip -n $SERVER_NS link add veth2 type veth peer name veth1 netns $CLIENT_NS2
30 ip -n $CLIENT_NS1 link set veth1 up
31 ip -n $CLIENT_NS1 addr add $CLIENT_IP4/24 dev veth1
32 ip -n $CLIENT_NS1 addr add $CLIENT_IP6/24 dev veth1
34 ip -n $CLIENT_NS2 link set veth1 up
35 ip -n $CLIENT_NS2 addr add $CLIENT_IP4/24 dev veth1
36 ip -n $CLIENT_NS2 addr add $CLIENT_IP6/24 dev veth1
44 ip -n $SERVER_NS link set veth1 master vrf-1
48 ip -n $SERVER_NS addr add $SERVER_IP4/24 dev veth1
51 ip -n $SERVER_NS addr add $SERVER_IP6/24 dev veth1
54 ip -n $SERVER_NS link set veth1 up
56 ip -n $SERVER_NS route add table 10 $CLIENT_IP4 dev veth1 src $SERVER_IP4
58 ip -n $SERVER_NS route add $CLIENT_IP4 dev veth1 src $SERVER_IP4
59 ip -n $SERVER_NS route add table 10 $CLIENT_IP6 dev veth1 src $SERVER_IP6
61 ip -n $SERVER_NS route add $CLIENT_IP6 dev veth1 src $SERVER_IP6
140 do_test $CLIENT_NS1 veth1 || { echo "[FAIL]"; return $RET; }