Home
last modified time | relevance | path

Searched refs:testns (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/tools/testing/selftests/net/
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" link set dev "$vxlan" type vxlan nolearning
[all …]
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 vrf102 100
[all …]
Dfib_rule_tests.sh54 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
/Linux-v5.10/tools/testing/selftests/netfilter/
Dnft_trans_stress.sh12 testns=testns1
49 ip netns add "$testns"
50 ip -netns "$testns" link set lo up
56 ip netns exec "$testns" taskset $mask ping -4 127.0.0.1 -fq > /dev/null &
57 ip netns exec "$testns" taskset $mask ping -6 ::1 -fq > /dev/null &
62 for i in $(seq 1 10) ; do ip netns exec "$testns" nft -f "$tmp" & done
67 ip netns exec "$testns" nft delete table inet $table 2>/dev/null
78 ip netns del "$testns"