Lines Matching refs:SERVER_NS

21 	setup_ns CLIENT_NS1 CLIENT_NS2 SERVER_NS
25 ip net exec $SERVER_NS sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null
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
38 ip -n $SERVER_NS link add dummy1 type dummy
39 ip -n $SERVER_NS link set dummy1 up
40 ip -n $SERVER_NS link add vrf-1 type vrf table 10
41 ip -n $SERVER_NS link add vrf-2 type vrf table 20
42 ip -n $SERVER_NS link set vrf-1 up
43 ip -n $SERVER_NS link set vrf-2 up
44 ip -n $SERVER_NS link set veth1 master vrf-1
45 ip -n $SERVER_NS link set veth2 master vrf-2
47 ip -n $SERVER_NS addr add $SERVER_IP4/24 dev dummy1
48 ip -n $SERVER_NS addr add $SERVER_IP4/24 dev veth1
49 ip -n $SERVER_NS addr add $SERVER_IP4/24 dev veth2
50 ip -n $SERVER_NS addr add $SERVER_IP6/24 dev dummy1
51 ip -n $SERVER_NS addr add $SERVER_IP6/24 dev veth1
52 ip -n $SERVER_NS addr add $SERVER_IP6/24 dev veth2
54 ip -n $SERVER_NS link set veth1 up
55 ip -n $SERVER_NS link set veth2 up
56 ip -n $SERVER_NS route add table 10 $CLIENT_IP4 dev veth1 src $SERVER_IP4
57 ip -n $SERVER_NS route add table 20 $CLIENT_IP4 dev veth2 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
60 ip -n $SERVER_NS route add table 20 $CLIENT_IP6 dev veth2 src $SERVER_IP6
61 ip -n $SERVER_NS route add $CLIENT_IP6 dev veth1 src $SERVER_IP6
65 ip netns exec $SERVER_NS pkill sctp_hello 2>&1 >/dev/null
66 cleanup_ns $CLIENT_NS1 $CLIENT_NS2 $SERVER_NS
73 until ip netns exec $SERVER_NS ss -lS src $SERVER_IP:$SERVER_PORT | \
84 ip netns exec $SERVER_NS pkill sctp_hello 2>&1 >/dev/null
85 ip netns exec $SERVER_NS ./sctp_hello server $AF $SERVER_IP \
99 ip netns exec $SERVER_NS pkill sctp_hello 2>&1 >/dev/null
100 ip netns exec $SERVER_NS ./sctp_hello server $AF $SERVER_IP \
104 ip netns exec $SERVER_NS ./sctp_hello server $AF $SERVER_IP \
117 ip netns exec $SERVER_NS sysctl -w net.sctp.l3mdev_accept=1 2>&1 >/dev/null
126 ip netns exec $SERVER_NS sysctl -w net.sctp.l3mdev_accept=0 2>&1 >/dev/null