Searched refs:ns1 (Results 1 – 25 of 44) sorted by relevance
12
27 ns1="ns1-$rndh"34 ip netns del $ns145 ip netns add $ns1 || exit $ksft_skip46 ip -net $ns1 link set lo up75 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.185 ip netns exec $ns1 ./pm_nl_ctl del 2103 ip netns exec $ns1 ./pm_nl_ctl del 9106 ip netns exec $ns1 ./pm_nl_ctl del $i116 ip netns exec $ns1 ./pm_nl_ctl flush131 ip netns exec $ns1 ./pm_nl_ctl flush[all …]
46 ns1="ns1-$rndh"49 for netns in "$ns1" "$ns2";do93 for netns in "$ns1" "$ns2"; do116 for netns in "$ns1" "$ns2";do845 addr_ns=$ns1849 subflow_ns=$ns1943 run_tests $ns1 $ns2 10.0.1.1951 run_tests $ns1 $ns2 10.0.1.1959 run_tests $ns1 $ns2 10.0.1.1967 run_tests $ns1 $ns2 10.0.1.1[all …]
5 ns1="ns1-$rndh"30 for netns in "$ns1" "$ns2" "$ns3";do60 for i in "$ns1" "$ns2" "$ns3";do71 ip -net "$ns1" addr add 10.0.1.1/24 dev ns1eth173 ip -net "$ns1" link set ns1eth1 up mtu 150074 ip -net "$ns1" route add default via 10.0.1.275 ip -net "$ns1" route add default via dead:beef:1::277 ip -net "$ns1" addr add 10.0.2.1/24 dev ns1eth279 ip -net "$ns1" link set ns1eth2 up mtu 150083 ip netns exec "$ns1" ./pm_nl_ctl limits 1 1[all …]
36 ns1="ns1-$rndh"39 for netns in "$ns1" "$ns2";do49 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i50 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad51 ip -net "$ns1" link set ns1eth$i up60 ip netns exec $ns1 ./pm_nl_ctl add 10.0.$i.1 flags signal67 ip netns exec $ns1 ./pm_nl_ctl limits 8 870 add_mark_rules $ns1 176 for netns in "$ns1" "$ns2"; do291 run_tests $ns1 $ns2 10.0.1.1[all …]
121 ns1="ns1-$rndh"154 for i in "$ns1" "$ns2" "$ns3" "$ns4";do171 ip -net "$ns1" link set ns1eth2 up679 run_tests_lo "$ns1" "$ns1" 10.0.1.1 1 "-P ${peekmode}"680 run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1 "-P ${peekmode}"713 do_ping "$ns1" $sender 10.0.1.1759 run_tests_lo "$ns1" "$ns1" 10.0.1.1 1762 run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1765 for sender in $ns1 $ns2 $ns3 $ns4;do768 if [ $sender = $ns1 ]; then[all …]
12 ns1="ns1-$sfx"18 ip netns del ${ns1}48 ip netns add ${ns1}57 ip -net ${ns1} link set lo up58 ip -net ${ns1} link set veth0 up63 ip -net ${ns1} addr add 10.0.1.1/24 dev veth064 ip -net ${ns1} addr add dead:1::1/64 dev veth0123 check_for_helper "$ns1" "ip $msg" $port140 check_for_helper "$ns1" "ipv6 $msg" $port146 load_ruleset_family ip ${ns1}[all …]
10 ns1="ns1-$sfx"19 ip netns del ${ns1}53 ip netns add ${ns1}116 load_ruleset ${ns1}135 ip -net ${ns1} link set lo up136 ip -net ${ns1} link set eth0 up141 ip -net ${ns1} addr add 10.0.1.99/24 dev eth0143 ip -net ${ns1} route add default via 10.0.1.1190 ip -net ${ns1} route del default191 ip -net ${ns1} -6 route del default[all …]
13 ns1="ns1-$sfx"41 ip netns add "$ns1"43 echo "SKIP: Could not create net namespace $ns1"289 bad_counter "$ns0" ns1$dir "$expect" "test_local_dnat 1"339 bad_counter "$ns1" ns1$dir "$expect" "test_local_dnat 5"388 echo "ERROR: cannot ping $ns1 from $ns2 via ipv6"490 echo "ERROR: cannot ping $ns1 from "$ns2" $natflags"589 echo "ERROR: cannnot ping $ns1 from $ns2 via ipv6"671 echo "ERROR: cannot ping $ns1 from $ns2"685 bad_counter "$ns2" ns1$dir "$expect" "test_redirect 2"[all …]
70 ip netns add ns185 ip netns exec ns1 ip link set lo up86 ip netns exec ns1 ip link set veth10 up88 ip netns exec ns1 ip link set veth12 up141 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1144 ip netns exec ns1 ip addr add ${vip_v4}/32 dev lo:1160 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1163 ip netns exec ns1 ip addr add ${vip_v4}/32 dev lo:1174 ip netns exec ns1 modprobe ipip175 ip netns exec ns1 ip link set tunl0 up[all …]
12 ns1="ns1-$sfx"19 ip netns pids ${ns1} | xargs kill 2>/dev/null23 ip netns del ${ns1}55 ip netns add ${ns1}74 ip -net ${ns1} link set lo up75 ip -net ${ns1} link set eth0 up80 ip -net ${ns1} addr add 10.0.1.99/24 dev eth0346 ip -net $ns1 li set eth0 master tvrf347 ip -net $ns1 li set tvrf up376 ip netns exec ${ns1} nft list ruleset[all …]
13 ns1="ns1-$sfx"29 ip netns pids $ns1 | xargs kill 2>/dev/null32 ip netns del $ns158 ip netns add $ns1 || exit 166 ip -net $ns1 link set netns $ns2 dev veth268 ip -net $ns1 link set up dev lo70 ip -net $ns1 link set up dev veth181 ip -net $ns1 addr add 10.11.11.1/24 dev veth182 ip -net $ns1 route add 10.99.99.99 via 10.11.11.2109 echo "INFO: connect $ns1 -> $ns2 to the virtual ip"[all …]
12 ns1="ns1-$sfx"17 ip netns del $ns139 ip netns add "$ns1"41 echo "SKIP: Could not create net namespace $ns1"51 ip link set netns $ns1 dev veth154 ip netns exec $ns1 ip link set up dev lo55 ip netns exec $ns1 ip link set up dev veth156 ip netns exec $ns1 ip addr add 192.168.1.1/24 dev veth163 ip netns exec $ns1 iperf3 -s > /dev/null 2>&1 &
41 ip netns add ns1113 ip -net ns1 link set eth0 mtu $omtu315 if test_tcp_forwarding ns1 ns2; then418 ip -net ns1 addr flush dev eth0420 ip -net ns1 link set eth0 up421 ip -net ns1 link set eth0.10 up440 ip -net ns1 addr flush dev eth0.10441 ip -net ns1 link set eth0.10 down442 ip -net ns1 link set eth0 down446 ip -net ns1 link set eth0 up[all …]
27 ip netns add ns130 ip link add veth0 netns ns0 type veth peer name eth0 netns ns172 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null 2>&187 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null97 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null106 ip netns exec ns1 ping -q -c 1 10.0.0.12 > /dev/null 2>&1126 ip netns exec ns1 ping -c 1 -q 10.0.0.12 > /dev/null
40 ns1="ns1-$sfx"45 ip netns pids $ns1 | xargs kill 2>/dev/null47 ip netns del $ns0 $ns167 ip netns add "$ns1"75 ip link add veth0 netns "$ns0" type veth peer name veth0 netns "$ns1" > /dev/null 2>&192 ip -net $ns1 li set veth0 up95 ip -net $ns1 addr add $IP1/$PFXL dev veth097 ip netns exec $ns1 iperf3 -s > /dev/null 2>&1&129 ip netns exec $ns1 ping -W 1 -c 1 -I veth0 $IP0 > /dev/null
59 ip netns del ns1 2> /dev/null129 ip netns del ns1 2> /dev/null147 ip netns add ns1157 ip link set veth1 netns ns1165 ip netns exec ns1 ethtool -K veth1 rxvlan off170 ip netns exec ns1 ethtool -K veth1 txvlan off177 ip netns exec ns1 ip link set veth1 up188 ip netns exec ns1 ip link set lo up211 ip netns exec ns1 tc qdisc add dev $DEVNS1 clsact217 ip netns exec ns1 ping -i 0.2 -W 2 -c 2 $IPADDR2[all …]
110 ip netns exec ns1 ping 192.0.2.254 -i 0.1 -c 4 &> /dev/null126 ip netns exec ns1 ip neigh add 2001:db8::2 dev veth0 lladdr 00:00:00:00:00:02128 ip netns exec ns1 tcpdump -i veth0 -nn -l -e &> ${LOG_DIR}/ns1-1_${mode}.log &133 ip netns exec ns1 arping -q -c 2 -I veth0 192.0.2.254135 ip netns exec ns1 ping 192.0.2.253 -i 0.1 -c 4 &> /dev/null137 ip netns exec ns1 ping6 2001:db8::2 -i 0.1 -c 2 &> /dev/null153 [ $(grep -c "ICMP echo request" ${LOG_DIR}/ns1-1_${mode}.log) -eq 4 ] && \156 [ $(grep -c "ICMP echo request" ${LOG_DIR}/ns1-2_${mode}.log) -eq 4 ] && \159 [ $(grep -c "ICMP echo request" ${LOG_DIR}/ns1-3_${mode}.log) -eq 4 ] && \164 [ $(grep -c "ICMP6, echo request" ${LOG_DIR}/ns1-1_${mode}.log) -eq 4 ] && \[all …]
16 ip netns del ns1 2> /dev/null27 ip netns add ns134 ip link set veth1 netns ns137 ip netns exec ns1 ip addr add 10.1.1.11/24 dev veth140 ip netns exec ns1 tc qdisc add dev veth1 clsact43 ip netns exec ns1 tc filter add dev veth1 ingress bpf da obj test_xdp_meta.o sec t46 ip netns exec ns1 ip link set dev veth1 xdp obj test_xdp_meta.o sec x49 ip netns exec ns1 ip link set dev veth1 up52 ip netns exec ns1 ping -c 1 10.1.1.22
10 readonly ns1="${ns_prefix}1"28 ip netns add "${ns1}"31 ip link add dev veth1 mtu 1500 netns "${ns1}" type veth \34 ip netns exec "${ns1}" ethtool -K veth1 tso off36 ip -netns "${ns1}" link set veth1 up39 ip -netns "${ns1}" -4 addr add "${ns1_v4}/24" dev veth145 ip -netns "${ns1}" -4 route flush table main46 ip -netns "${ns1}" -6 route flush table main57 ip netns del "${ns1}"197 ip netns exec "${ns1}" tc qdisc add dev veth1 clsact[all …]
20 ip netns add ns123 ip link add veth1 index 111 type veth peer name veth11 netns ns128 ip -n ns1 link set dev veth11 up31 ip -n ns1 addr add 10.1.1.11/24 dev veth1139 ip netns del ns1 2> /dev/null55 ip -n ns1 link set veth11 $xdpmode obj xdp_dummy.o sec xdp &> /dev/null60 if ip netns exec ns1 ping -c 1 10.1.1.22 &> /dev/null &&
32 ip netns del ns1 2> /dev/null80 ip netns add ns184 ip link add veth1 index 111 type veth peer name veth11 netns ns192 ip -n ns1 addr add 10.1.1.11/24 dev veth1195 ip -n ns1 link set dev veth11 up110 ip -n ns1 link set dev veth11 xdp obj xdp_dummy.o sec xdp116 ip netns exec ns1 ping -c 1 -W 1 10.1.1.33
44 ip netns del ns1 2> /dev/null55 ip netns add ns170 ip link set veth1 netns ns181 ip netns exec ns1 ip link set dev veth1 up94 ip netns exec ns1 ip -6 addr add fb00::12/16 dev veth1 scope link95 ip netns exec ns1 ip -6 route add fb00::21 dev veth1 scope link111 ip netns exec ns1 ip -6 addr add fb00::1/16 dev lo112 ip netns exec ns1 ip -6 route add fb00::6 dev veth1 via fb00::21130 ip netns exec ns1 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null141 ip netns exec ns1 bash -c "echo 'foobar' | nc -w0 -6 -u -p 2121 -s fb00::1 fb00::6 7330"
16 $IP netns add ns124 $IP link set dev vens1 netns ns127 $IP -n ns1 link set dev lo up28 $IP -n ns1 link set dev vens1 up29 $IP -n ns1 addr add 10.1.1.101/24 dev vens130 $IP -n ns1 addr add 2401:db01::65/64 dev vens1 nodad31 $IP -n ns1 route add default via 10.1.1.1 dev vens132 $IP -n ns1 route add default via 2401:db01::1 dev vens172 $IP netns delete ns1 >& /dev/null108 $IP netns exec ns1 ping -c1 10.10.1.102 >& /dev/null[all …]
390 ip netns add ns1391 ip link set dev v2 netns ns1392 in_ns ns1 ns_init397 ip netns exec ns1 ip link set dev v2 netns 1398 ip netns del ns1423 local h1_ns_mac=$(in_ns ns1 mac_get w2)424 local h2_ns_mac=$(in_ns ns1 mac_get w4)502 local actual=$(in_ns ns1 tc_rule_stats_get vx10 1 ingress)512 in_ns ns1 tc qdisc add dev vx10 clsact557 ip neigh add 10.1.1.102 lladdr $(in_ns ns1 mac_get w2) nud noarp \[all …]
53 ip netns add ns154 ip netns set ns1 auto59 ip link set veth1 netns ns173 ip netns del ns1148 a2=$(get_linklocal veth0 ns1)
Completed in 70 milliseconds