Searched refs:SERVER_NS (Results 1 – 3 of 3) sorted by relevance
21 setup_ns CLIENT_NS1 CLIENT_NS2 SERVER_NS25 ip net exec $SERVER_NS sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null27 ip -n $SERVER_NS link add veth1 type veth peer name veth1 netns $CLIENT_NS128 ip -n $SERVER_NS link add veth2 type veth peer name veth1 netns $CLIENT_NS238 ip -n $SERVER_NS link add dummy1 type dummy39 ip -n $SERVER_NS link set dummy1 up40 ip -n $SERVER_NS link add vrf-1 type vrf table 1041 ip -n $SERVER_NS link add vrf-2 type vrf table 2042 ip -n $SERVER_NS link set vrf-1 up43 ip -n $SERVER_NS link set vrf-2 up[all …]
11 SERVER_NS=$(mktemp -u server-XXXXXXXX)29 ip netns add $SERVER_NS32 ip -net $ROUTER_NS link add link2 type veth peer name link3 netns $SERVER_NS69 ip -net $SERVER_NS link set link3 up70 ip -net $SERVER_NS addr add $SERVER_IP4/24 dev link371 ip -net $SERVER_NS addr add $SERVER_IP6/64 dev link3 nodad72 ip -net $SERVER_NS route add $CLIENT_IP4 dev link3 via $SERVER_GW473 ip -net $SERVER_NS route add $CLIENT_IP6 dev link3 via $SERVER_GW674 ip -net $SERVER_NS link set dev link3 \76 ip -net $SERVER_NS link set dev link3 \[all …]
28 setup_ns CLIENT_NS SERVER_NS ROUTER_NS29 ip -n "$SERVER_NS" link add link0 type veth peer name link1 netns "$ROUTER_NS"32 ip -n "$SERVER_NS" link set link0 up33 ip -n "$SERVER_NS" addr add $SERVER_IP/24 dev link034 ip -n "$SERVER_NS" route add $CLIENT_IP dev link0 via $SERVER_GW48 tc -n "$SERVER_NS" qdisc add dev link0 root handle 1: htb r2q 6449 tc -n "$SERVER_NS" class add dev link0 parent 1: classid 1:1 htb rate 100mbit50 tc -n "$SERVER_NS" filter add dev link0 parent 1: protocol ip u32 match ip protocol 132 \52 if ! tc -n "$SERVER_NS" qdisc add dev link0 parent 1:1 handle 10: netem delay 1200ms; then68 ip net exec "$SERVER_NS" pkill sctp_collision >/dev/null 2>&1[all …]