Searched +full:route +full:- +full:up (Results 1 – 25 of 1031) sorted by relevance
12345678910>>...42
| /kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
| D | fib_offload_lib.sh | 1 # SPDX-License-Identifier: GPL-2.0 9 local route=$1; shift 13 ip -n $ns -j -p -$family route show $route \ 14 | jq -e '.[]["flags"] | contains(["trap"])' &> /dev/null 17 if [[ $ret -ne 0 ]]; then 31 local route=$1; shift 34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail 40 local route=$1; shift 43 fib_trap_check $ns 4 "$route" $should_fail 49 local route=$1; shift [all …]
|
| D | router_multipath.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 vrf_create "vrf-h1" 11 ip link set dev $h1 master vrf-h1 13 ip link set dev vrf-h1 up 14 ip link set dev $h1 up 19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 25 ip route del 2001:db8:2::/64 vrf vrf-h1 26 ip route del 198.51.100.0/24 vrf vrf-h1 32 vrf_destroy "vrf-h1" [all …]
|
| D | router_vid_1.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 vrf_create "vrf-h1" 11 ip link set dev vrf-h1 up 13 ip link set dev $h1 up 14 vlan_create $h1 1 vrf-h1 192.0.2.2/24 2001:db8:1::2/64 16 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 17 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 22 ip route del 2001:db8:2::/64 vrf vrf-h1 23 ip route del 198.51.100.0/24 vrf vrf-h1 28 ip link set dev vrf-h1 down [all …]
|
| D | router_broadcast.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 vrf_create "vrf-h1" 11 ip link set dev $h1 master vrf-h1 13 ip link set dev vrf-h1 up 14 ip link set dev $h1 up 18 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 19 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.1 24 ip route del 198.51.200.0/24 vrf vrf-h1 25 ip route del 198.51.100.0/24 vrf vrf-h1 30 vrf_destroy "vrf-h1" [all …]
|
| D | router_mpath_nh.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 vrf_create "vrf-h1" 11 ip link set dev $h1 master vrf-h1 13 ip link set dev vrf-h1 up 14 ip link set dev $h1 up 19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 25 ip route del 2001:db8:2::/64 vrf vrf-h1 26 ip route del 198.51.100.0/24 vrf vrf-h1 32 vrf_destroy "vrf-h1" [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
| D | fib_offload_lib.sh | 1 # SPDX-License-Identifier: GPL-2.0 9 local route=$1; shift 13 ip -n $ns -j -p -$family route show $route \ 14 | jq -e '.[]["flags"] | contains(["trap"])' &> /dev/null 17 if [[ $ret -ne 0 ]]; then 31 local route=$1; shift 34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail 40 local route=$1; shift 43 fib_trap_check $ns 4 "$route" $should_fail 49 local route=$1; shift [all …]
|
| D | router_multipath.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 vrf_create "vrf-h1" 11 ip link set dev $h1 master vrf-h1 13 ip link set dev vrf-h1 up 14 ip link set dev $h1 up 19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 25 ip route del 2001:db8:2::/64 vrf vrf-h1 26 ip route del 198.51.100.0/24 vrf vrf-h1 32 vrf_destroy "vrf-h1" [all …]
|
| D | router_nh.sh | 2 # SPDX-License-Identifier: GPL-2.0 15 vrf_create "vrf-h1" 16 ip link set dev $h1 master vrf-h1 18 ip link set dev vrf-h1 up 19 ip link set dev $h1 up 24 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 25 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 30 ip route del 2001:db8:2::/64 vrf vrf-h1 31 ip route del 198.51.100.0/24 vrf vrf-h1 37 vrf_destroy "vrf-h1" [all …]
|
| D | router_mpath_nh.sh | 2 # SPDX-License-Identifier: GPL-2.0 16 vrf_create "vrf-h1" 17 ip link set dev $h1 master vrf-h1 19 ip link set dev vrf-h1 up 20 ip link set dev $h1 up 25 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 26 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 31 ip route del 2001:db8:2::/64 vrf vrf-h1 32 ip route del 198.51.100.0/24 vrf vrf-h1 38 vrf_destroy "vrf-h1" [all …]
|
| D | router_broadcast.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 vrf_create "vrf-h1" 11 ip link set dev $h1 master vrf-h1 13 ip link set dev vrf-h1 up 14 ip link set dev $h1 up 18 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 19 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.1 24 ip route del 198.51.200.0/24 vrf vrf-h1 25 ip route del 198.51.100.0/24 vrf vrf-h1 30 vrf_destroy "vrf-h1" [all …]
|
| D | router_bridge_1d_lag.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +--------------------------------------------+ 18 # +----------|-----------|---------------------+ 20 # +----------|-----------|---------------------+ 29 # | +------|------------+ +-------|----------+ | 36 # | +-------------------+ +------------------+ | 49 # +-------|---------|--------------------------+ 51 # +-------|---------|--------------------------+ 66 # +--------------------------------------------+ 123 ip link set dev $h1 up [all …]
|
| D | router_mpath_nh_res.sh | 2 # SPDX-License-Identifier: GPL-2.0 14 vrf_create "vrf-h1" 15 ip link set dev $h1 master vrf-h1 17 ip link set dev vrf-h1 up 18 ip link set dev $h1 up 23 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 24 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 29 ip route del 2001:db8:2::/64 vrf vrf-h1 30 ip route del 198.51.100.0/24 vrf vrf-h1 36 vrf_destroy "vrf-h1" [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | fib_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # Kselftest framework requirement - SKIP code is 4. 11 # all tests in this script. Can be overridden with -t option 17 IP="ip -netns ns1" 28 if [ ${rc} -eq ${expected} ]; then 29 printf " TEST: %-60s [ OK ]\n" "${msg}" 34 printf " TEST: %-60s [FAIL]\n" "${msg}" 53 set -e 56 $IP link set dev lo up 57 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1 [all …]
|
| D | vrf_route_leaking.sh | 2 # SPDX-License-Identifier: GPL-2.0 13 # +----+ .253 +----+ .253 +----+ 14 # | h1 |-------------------| r1 |-------------------| h2 | 15 # +----+ .1 +----+ .2 +----+ 20 # Route from h1 to h2 and back goes through r1, incoming vrf blue has a route 21 # to the outgoing vrf red for the n2 network and red has a route back to n1. 38 # and VRF route leaking was initialy reported. The MTU test isn't done here 39 # because of the lack of a return route in the red VRF. 42 # .253 +----+ .253 43 # +----| r1 |----+ [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | vrf_route_leaking.sh | 2 # SPDX-License-Identifier: GPL-2.0 13 # +----+ .253 +----+ .253 +----+ 14 # | h1 |-------------------| r1 |-------------------| h2 | 15 # +----+ .1 +----+ .2 +----+ 20 # Route from h1 to h2 and back goes through r1, incoming vrf blue has a route 21 # to the outgoing vrf red for the n2 network and red has a route back to n1. 38 # and VRF route leaking was initialy reported. The MTU test isn't done here 39 # because of the lack of a return route in the red VRF. 42 # .253 +----+ .253 43 # +----| r1 |----+ [all …]
|
| D | fib_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # Kselftest framework requirement - SKIP code is 4. 11 # all tests in this script. Can be overridden with -t option 21 IP="$(which ip) -netns ns1" 32 if [ ${rc} -eq ${expected} ]; then 33 printf " TEST: %-60s [ OK ]\n" "${msg}" 38 printf " TEST: %-60s [FAIL]\n" "${msg}" 57 set -e 60 $IP link set dev lo up 61 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1 [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | test_lwt_ip_encap.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # veth1 <---> veth2 veth3 <---> veth4 (the top route) 8 # veth5 <---> veth6 veth7 <---> veth8 (the bottom route) 18 # IP*_1 <=> IP*_2 <=> IP*_3 <=> IP*_4 (the top route) 21 # NS1/NS2 are configured to route packets to IPv*_GRE via IP*_8 22 # (the bottom route) 26 # 1. routes NS2->IPv*_DST are brought down, so the only way a ping 30 # that encaps the packets with an IP/GRE header to route to IPv*_GRE 32 # ping: SRC->[encap at veth1:egress]->GRE:decap->DST 33 # ping replies go DST->SRC directly [all …]
|
| D | test_lwt_seg6local.sh | 4 # NS1 ---- NS2 ---- NS3 ---- NS4 ---- NS5 ---- NS6 10 # fd00::1 -> fd00::2 -> fd00::3 -> fd00::4 13 # - fd00::1 : add a TLV, change the flags and apply a End.X action to fc42::1 14 # - fd00::2 : remove the TLV, change the flags, add a tag 15 # - fd00::3 : apply an End.T action to fd00::4, through routing table 117 24 # Kselftest framework requirement - SKIP code is 4. 27 readonly NS1="ns1-$(mktemp -u XXXXXX)" 28 readonly NS2="ns2-$(mktemp -u XXXXXX)" 29 readonly NS3="ns3-$(mktemp -u XXXXXX)" 30 readonly NS4="ns4-$(mktemp -u XXXXXX)" [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_lwt_ip_encap.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # veth1 <---> veth2 veth3 <---> veth4 (the top route) 8 # veth5 <---> veth6 veth7 <---> veth8 (the bottom route) 18 # IP*_1 <=> IP*_2 <=> IP*_3 <=> IP*_4 (the top route) 21 # NS1/NS2 are configured to route packets to IPv*_GRE via IP*_8 22 # (the bottom route) 26 # 1. routes NS2->IPv*_DST are brought down, so the only way a ping 30 # that encaps the packets with an IP/GRE header to route to IPv*_GRE 32 # ping: SRC->[encap at veth1:egress]->GRE:decap->DST 33 # ping replies go DST->SRC directly [all …]
|
| D | test_lwt_seg6local.sh | 4 # NS1 ---- NS2 ---- NS3 ---- NS4 ---- NS5 ---- NS6 10 # fd00::1 -> fd00::2 -> fd00::3 -> fd00::4 13 # - fd00::1 : add a TLV, change the flags and apply a End.X action to fc42::1 14 # - fd00::2 : remove the TLV, change the flags, add a tag 15 # - fd00::3 : apply an End.T action to fd00::4, through routing table 117 24 # Kselftest framework requirement - SKIP code is 4. 50 rm -f $TMP_FILE 53 set -e 81 ip netns exec ns1 ip link set dev veth1 up 82 ip netns exec ns2 ip link set dev veth2 up [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
| D | vxlan.sh | 2 # SPDX-License-Identifier: GPL-2.0 20 ip link set dev $swp1 up 21 ip link set dev $swp2 up 66 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \ 74 log_test "vxlan device - valid configuration" 83 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \ 91 log_test "vxlan device with a vlan-aware bridge" 100 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \ 116 ip link add name dummy1 up type dummy 118 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \ [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | vxlan.sh | 2 # SPDX-License-Identifier: GPL-2.0 45 ip link set dev $swp1 up 46 ip link set dev $swp2 up 91 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 99 log_test "vxlan device - valid configuration" 108 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 116 log_test "vxlan device with a vlan-aware bridge" 125 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 141 ip link add name dummy1 up type dummy 143 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | vrf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 routing and forwarding domains (aka VRFs, VRF-lite to be specific) in the 12 Linux network stack. One use case is the multi-tenancy problem where each 30 ------ 31 A VRF device is created with an associated route table. Network interfaces 34 +-----------------------------+ 35 | vrf-blue | ===> route table 10 36 +-----------------------------+ 38 +------+ +------+ +-------------+ 40 +------+ +------+ +-------------+ [all …]
|
| /kernel/linux/linux-5.10/drivers/thunderbolt/ |
| D | test.c | 1 // SPDX-License-Identifier: GPL-2.0 20 res->data = ida; in __ida_init() 26 struct ida *ida = res->data; in __ida_destroy() 36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, in alloc_switch() argument 47 sw->config.upstream_port_number = upstream_port; in alloc_switch() 48 sw->config.depth = tb_route_length(route); in alloc_switch() 49 sw->config.route_hi = upper_32_bits(route); in alloc_switch() 50 sw->config.route_lo = lower_32_bits(route); in alloc_switch() 51 sw->config.enabled = 0; in alloc_switch() 52 sw->config.max_port_number = max_port_number; in alloc_switch() [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | vrf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 routing and forwarding domains (aka VRFs, VRF-lite to be specific) in the 12 Linux network stack. One use case is the multi-tenancy problem where each 30 ------ 31 A VRF device is created with an associated route table. Network interfaces 34 +-----------------------------+ 35 | vrf-blue | ===> route table 10 36 +-----------------------------+ 38 +------+ +------+ +-------------+ 40 +------+ +------+ +-------------+ [all …]
|
12345678910>>...42