Home
last modified time | relevance | path

Searched refs:testns (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Drtnetlink.sh430 testns="$1"
432 ip -netns "$testns" link add "$vxlan" type vxlan id 42 group 239.1.1.1 \
440 ip -netns "$testns" addr add 10.2.11.49/24 dev "$vxlan"
443 ip -netns "$testns" link set up dev "$vxlan"
446 ip -netns "$testns" link add link "$vxlan" name "$vlan" type vlan id 1
450 ip -netns "$testns" link set dev "$vxlan" type vxlan vni 43 2>/dev/null
453 ip -netns "$testns" link set dev "$vxlan" type vxlan group ffe5::5 dev "$devdummy" 2>/dev/null
456 ip -netns "$testns" link set dev "$vxlan" type vxlan ttl inherit 2>/dev/null
459 ip -netns "$testns" link set dev "$vxlan" type vxlan ttl 64
462 ip -netns "$testns" lin
[all...]
H A Dvrf_strict_mode_test.sh245 ip netns add testns
246 ip netns exec testns ip link set lo up
251 ip netns del testns 2>/dev/null
292 vrf_strict_mode_check_support testns
294 strict_mode_check_default testns
296 enable_strict_mode_and_check testns
298 add_vrf_and_check testns vrf100 100
299 config_vrf_and_check testns 10.0.100.1/24 vrf100
301 add_vrf_and_check_fail testns vrf101 100
303 add_vrf_and_check_fail testns vrf10
[all...]
H A Dfib_rule_tests.sh9 IP="ip -netns testns"
54 ip netns add testns
68 ip netns del testns
192 ip netns exec testns sysctl -w net.ipv4.ip_forward=1
193 ip netns exec testns sysctl -w net.ipv4.conf.$DEV.rp_filter=0
196 ip netns exec testns sysctl -w net.ipv4.ip_forward=0
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
H A Dnft_trans_stress.sh12 testns=testns-$(mktemp -u "XXXXXXXX")
21 ip netns pids "$testns" | xargs kill 2>/dev/null
22 ip netns del "$testns"
77 ip netns add "$testns"
78 ip -netns "$testns" link set lo up
84 ip netns exec "$testns" taskset $mask ping -4 127.0.0.1 -fq > /dev/null &
85 ip netns exec "$testns" taskset $mask ping -6 ::1 -fq > /dev/null &
90 ip netns exec "$testns" nft -f "$tmp"
91 for i in $(seq 1 10) ; do ip netns exec "$testns" nf
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dvrf_strict_mode_test.sh17 TESTS="init testns mix"
250 ip netns add testns
251 ip netns exec testns ip link set lo up
256 ip netns del testns 2>/dev/null
299 log_section "VRF strict_mode test on testns network namespace"
301 vrf_strict_mode_check_support testns
303 strict_mode_check_default testns
305 enable_strict_mode_and_check testns
307 add_vrf_and_check testns vrf100 100
308 config_vrf_and_check testns 10.
[all...]
H A Drtnetlink.sh456 testns="$1"
458 ip -netns "$testns" link add "$vxlan" type vxlan id 42 group 239.1.1.1 \
466 ip -netns "$testns" addr add 10.2.11.49/24 dev "$vxlan"
469 ip -netns "$testns" link set up dev "$vxlan"
472 ip -netns "$testns" link add link "$vxlan" name "$vlan" type vlan id 1
476 ip -netns "$testns" link set dev "$vxlan" type vxlan vni 43 2>/dev/null
479 ip -netns "$testns" link set dev "$vxlan" type vxlan group ffe5::5 dev "$devdummy" 2>/dev/null
482 ip -netns "$testns" link set dev "$vxlan" type vxlan ttl inherit 2>/dev/null
485 ip -netns "$testns" link set dev "$vxlan" type vxlan ttl 64
488 ip -netns "$testns" lin
[all...]
H A Dfib_rule_tests.sh12 IP="ip -netns testns"
87 ip netns add testns
101 ip netns del testns
111 ip link add name veth0 netns testns type veth \
273 nettest -q -6 -B -t 5 -N testns -O peerns -U -D \
277 nettest -q -6 -B -t 5 -N testns -O peerns -Q "${dsfield}" \
340 ip netns exec testns sysctl -qw net.ipv4.ip_forward=1
341 ip netns exec testns sysctl -qw net.ipv4.conf.$DEV.rp_filter=0
344 ip netns exec testns sysctl -qw net.ipv4.ip_forward=0
410 nettest -q -B -t 5 -N testns
[all...]
H A Dtest_vxlan_vnifiltering.sh308 ip link add veth-host type veth peer name veth-testns
309 ip netns add testns
310 ip link set veth-testns netns testns
316 ip netns del testns 2>/dev/null || true
334 run_cmd "ip -netns testns link add vxlan100 type vxlan id 100 local $localip dev veth-testns dstport 4789"
338 run_cmd "ip -netns testns link add vxlan-ext1 type vxlan vnifilter local $localip dev veth-testns dstport 4789"
341 run_cmd "ip -netns testns lin
[all...]

Completed in 4 milliseconds