Searched refs:netns (Results 1 – 25 of 601) sorted by relevance
12345678910>>...25
49 for netns in "$ns1" "$ns2";do50 ip netns add $netns || exit $ksft_skip51 ip -net $netns link set lo up52 ip netns exec $netns sysctl -q net.mptcp.enabled=153 ip netns exec $netns sysctl -q net.ipv4.conf.all.rp_filter=054 ip netns exec $netns sysctl -q net.ipv4.conf.default.rp_filter=056 ip netns exec $netns sysctl -q net.mptcp.checksum_enabled=167 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"94 ip netns del $netns117 ip netns exec $netns sysctl -q net.ipv4.tcp_syncookies=2[all …]
34 ip netns del $ns145 ip netns add $ns1 || exit $ksft_skip75 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 flush119 ip netns exec $ns1 ./pm_nl_ctl limits 9 1123 ip netns exec $ns1 ./pm_nl_ctl limits 1 9131 ip netns exec $ns1 ./pm_nl_ctl flush[all …]
39 for netns in "$ns1" "$ns2";do40 ip netns add $netns || exit $ksft_skip41 ip -net $netns link set lo up42 ip netns exec $netns sysctl -q net.mptcp.enabled=143 ip netns exec $netns sysctl -q net.ipv4.conf.all.rp_filter=044 ip netns exec $netns sysctl -q net.ipv4.conf.default.rp_filter=048 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"76 for netns in "$ns1" "$ns2"; do77 ip netns del $netns180 ip netns exec ${listener_ns} \[all …]
111 ip netns add "${NS1}"112 ip netns add "${NS2}"113 ip netns add "${NS3}"131 ip link set veth1 netns ${NS1}132 ip link set veth2 netns ${NS2}133 ip link set veth3 netns ${NS2}134 ip link set veth4 netns ${NS3}135 ip link set veth5 netns ${NS1}136 ip link set veth6 netns ${NS2}137 ip link set veth7 netns ${NS2}[all …]
55 ip netns add ns156 ip netns add ns257 ip netns add ns358 ip netns add ns459 ip netns add ns560 ip netns add ns670 ip link set veth1 netns ns171 ip link set veth2 netns ns272 ip link set veth3 netns ns273 ip link set veth4 netns ns3[all …]
59 ip netns del ns1 2> /dev/null60 ip netns del ns2 2> /dev/null129 ip netns del ns1 2> /dev/null130 ip netns del ns2 2> /dev/null147 ip netns add ns1148 ip netns add ns2157 ip link set veth1 netns ns1158 ip link set veth2 netns ns2177 ip netns exec ns1 ip link set veth1 up188 ip netns exec ns1 ip link set lo up[all …]
28 ip netns add "${ns1}"29 ip netns add "${ns2}"32 peer name veth2 mtu 1500 netns "${ns2}"34 ip netns exec "${ns1}" ethtool -K veth1 tso off36 ip -netns "${ns1}" link set veth1 up37 ip -netns "${ns2}" link set veth2 up45 ip -netns "${ns1}" -4 route flush table main46 ip -netns "${ns1}" -6 route flush table main56 ip netns del "${ns2}"57 ip netns del "${ns1}"[all …]
69 ip netns add ns070 ip netns add ns171 ip netns add ns273 ip link add veth01 netns ns0 type veth peer name veth10 netns ns174 ip link add veth02 netns ns0 type veth peer name veth20 netns ns275 ip link add veth12 netns ns1 type veth peer name veth21 netns ns285 ip netns exec ns1 ip link set lo up91 ip netns exec ns2 ip link set lo up105 ip netns del ns$i > /dev/null 2>&1174 ip netns exec ns1 modprobe ipip[all …]
18 for i in 0 1 2; do ip netns del ns$i-"$sfx";done33 ip netns add "$ns0"41 ip netns add "$ns1"47 ip netns add "$ns2"53 ip link add veth0 netns "$ns0" type veth peer name eth0 netns "$ns1" > /dev/null 2>&158 ip link add veth1 netns "$ns0" type veth peer name eth0 netns "$ns2"184 ip netns exec "$ns0" nft -f /dev/stdin <<EOF411 ip netns exec "$ns0" nft -f /dev/stdin <<EOF512 ip netns exec "$ns0" nft -f /dev/stdin <<EOF611 ip netns exec "$ns0" nft -f /dev/stdin <<EOF[all …]
17 ip netns del $ns118 ip netns del $ns239 ip netns add "$ns1"47 ip netns add $ns251 ip link set netns $ns1 dev veth152 ip link set netns $ns2 dev veth254 ip netns exec $ns1 ip link set up dev lo55 ip netns exec $ns1 ip link set up dev veth158 ip netns exec $ns2 ip link set up dev lo59 ip netns exec $ns2 ip link set up dev veth2[all …]
177 ip netns del $ns 2>/dev/null217 ip netns add $ns233 ip -netns h1 link set r1h1 netns r1 name eth0 up236 ip -netns h2 link set r1h2 netns r1 name eth1 up298 ip netns add $ns314 ip -netns h1 link set r1h1 netns r1 name eth0 up317 ip -netns h1 link set r2h1 netns r2 name eth0 up320 ip -netns h2 link set r1h2 netns r1 name eth1 up323 ip -netns h2 link set r2h2 netns r2 name eth1 up329 ip -netns h1 link set br0 up[all …]
146 ip netns del $ns 2>/dev/null162 ip -netns ${ns} ru del pref 0176 ip netns add $ns177 ip -netns $ns li set lo up199 ip -netns h1 li set r1h1 netns r1 name eth0 up202 ip -netns h1 li set r2h1 netns r2 name eth0 up205 ip -netns h2 li set eth0 up206 ip -netns h2 li set r2h2 netns r2 name eth2 up209 ip -netns r1 li set eth1 up210 ip -netns r1 li set r2r1 netns r2 name eth1 up[all …]
111 ip -netns "${ns}" link set dev lo up118 ip link set l_gw netns "${LISTENER}" up119 ip link set gw_l netns "${GATEWAY}" up121 ip link set relay_gw netns "${RELAY}" up122 ip link set relay_src netns "${RELAY}" up170 ip netns exec "${RELAY}" smcrouted179 REMOTE=$(ip netns exec "${GATEWAY}" \191 ip netns exec "${SOURCE}" bash -c \198 ip netns exec "${SOURCE}" bash -c \238 ip netns exec "${SOURCE}" bash -c \[all …]
196 ip netns add ioam-tmp-node213 ip netns del ioam-tmp-node || true229 ip netns del ioam-tmp-node || true234 ip netns del ioam-tmp-node || true266 ip netns del ioam-node-alpha || true267 ip netns del ioam-node-beta || true268 ip netns del ioam-node-gamma || true278 ip netns add ioam-node-alpha279 ip netns add ioam-node-beta280 ip netns add ioam-node-gamma[all …]
127 ip netns delete "${ns}" 2>/dev/null || true143 ip netns add "${NS0}" || exit_cleanup144 ip netns add "${NS1}" || exit_cleanup "${NS0}"176 ip -netns "${NS}" link set dev "${DEV}" up192 ip -netns "${ns}" link set dev lo up195 ip link add name veth01 netns "${NS0}" type veth peer name veth10 netns "${NS1}"196 ip link add name veth12 netns "${NS1}" type veth peer name veth21 netns "${NS2}"197 ip link add name veth23 netns "${NS2}" type veth peer name veth32 netns "${NS3}"205 tc -netns "${NS1}" qdisc add dev veth10 ingress492 ip -netns "${NS1}" link delete bareudp_ns1[all …]
69 ip netns add hv-$hv76 ip -netns hv-$hv link set veth0 up79 ip -netns hv-$hv link set br0 up83 ip -netns hv-$hv link set vxlan0 up97 ip netns add vm-$id100 ip link set veth-tap netns hv-$id106 ip link set veth-hv netns vm-$id123 ip -netns hv-1 link set veth0 down124 ip -netns hv-1 link set veth0 up126 ip -netns hv-2 link set veth0 down[all …]
75 ip netns del ${ns} 2>/dev/null77 ip netns add ${ns}79 ip -netns ${ns} link set lo up112 ip -netns h${i} li set eth0 up113 ip -netns h${i} li set r1h${i} netns r1 name eth${i} up137 ip -netns h0 li sh138 ip -netns h0 ro sh139 ip -netns h0 -6 ro sh149 ip netns del ${n} 2>/dev/null181 ip -netns h0 ro get ${dst}[all …]
49 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)72 ip netns add ${ns}74 ip netns exec ${ns} ip link set lo up76 ip netns exec ${ns} ip addr add dev lo ${addr}105 ip netns exec ${ns1} ip li set ${ns1_dev} up106 ip netns exec ${ns1} ip li set tmp netns ${ns2} name ${ns2_dev}107 ip netns exec ${ns2} ip li set ${ns2_dev} up167 ip netns del ${ns} 2>/dev/null194 ip netns exec router-1 ip link set ${brdev} up247 ip netns del ${ns} 2>/dev/null[all …]
83 ip netns add ${ns}85 ip -netns ${ns} link set lo up116 ip -netns ${ns1} li set ${ns1_dev} up117 ip -netns ${ns1} li set tmp netns ${ns2} name ${ns2_dev}118 ip -netns ${ns2} li set ${ns2_dev} up140 ip netns del ${ns} 2>/dev/null250 ip -netns host-1 xfrm state add \255 ip -netns host-1 xfrm state add \260 ip -netns host-2 xfrm state add \265 ip -netns host-2 xfrm state add \[all …]
255 ip netns del ${ns} || true265 ip netns add ${nsname}266 ip link set veth-rt-${rt} netns ${nsname}273 ip -netns ${nsname} link set veth0 up274 ip -netns ${nsname} link set lo up290 ip netns add ${hsname}296 ip -netns ${hsname} link set ${rtveth} netns ${rtname}299 ip -netns ${hsname} link set veth0 up300 ip -netns ${hsname} link set lo up314 ip -netns ${rtname} link set ${rtveth} up[all …]
14 ip netns add "${NETNS}"15 ip -netns "${NETNS}" link set lo up19 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_time=1 >/dev/null 2>&123 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&134 ip netns del "${NETNS}"41 ip netns exec "${NETNS}" ./ip_defrag -444 ip netns exec "${NETNS}" ./ip_defrag -4o47 ip netns exec "${NETNS}" ./ip_defrag -650 ip netns exec "${NETNS}" ./ip_defrag -6o56 ip netns exec "${NETNS}" ./ip_defrag -6[all …]
124 ip netns add foo-ns125 ip netns add bar-ns126 ip link add foo netns foo-ns type veth peer name bar netns bar-ns133 ip netns del foo-ns134 ip netns del bar-ns150 ip netns add foo-ns151 ip netns add bar-ns153 ip link add foo netns foo-ns type veth peer name foo1 netns router-ns154 ip link add bar netns bar-ns type veth peer name bar1 netns router-ns162 ip netns del foo-ns[all …]
225 ip netns del ${ns} || true235 ip netns add ${nsname}236 ip link set veth-rt-${rt} netns ${nsname}243 ip -netns ${nsname} link set veth0 up244 ip -netns ${nsname} link set lo up259 ip netns add ${hsname}265 ip -netns ${hsname} link set ${rtveth} netns ${rtname}267 ip -netns ${hsname} link set veth0 up268 ip -netns ${hsname} link set lo up281 ip -netns ${rtname} link set ${rtveth} up[all …]
27 ip netns del $ns 2>/dev/null37 ip netns add $ns44 ip link set dev veth$ns netns $BASE$ns up176 ip netns exec $NS_DST ./udpgso_bench_rx &238 ip netns exec $NS_DST ethtool -K veth$DST gro on252 ip netns exec $NS_DST ethtool -K veth$DST gro on268 ip netns exec $NS_DST ethtool -L veth$DST tx 2296 ip netns exec $NS_SRC ethtool -L veth$SRC rx 2297 ip netns exec $NS_DST ethtool -L veth$DST rx 2336 ip netns exec $NS_DST ethtool -L veth$DST tx 1[all …]
442 old_net = netns; in test_link_update_netns_gone()443 netns = unshare_net(old_net); in test_link_update_netns_gone()444 if (netns < 0) in test_link_update_netns_gone()454 close(netns); in test_link_update_netns_gone()482 old_net = netns; in test_link_get_info()483 netns = unshare_net(old_net); in test_link_get_info()484 if (netns < 0) in test_link_get_info()544 close(netns); in test_link_get_info()546 netns = -1; in test_link_get_info()568 if (netns != -1) in test_link_get_info()[all …]
Completed in 137 milliseconds