Lines Matching +full:route +full:- +full:up
2 # SPDX-License-Identifier: GPL-2.0
49 ip link set dev $swp1 up
50 ip link set dev $swp2 up
67 ip link add name vrf-test type vrf table 10
68 ip link set dev $swp1 master vrf-test
70 ip -4 address add 192.0.2.1/24 dev vrf-test
72 ip -6 address add 2001:db8:1::1/64 dev vrf-test
75 log_test "RIF - setting IP address on VRF"
77 ip link del dev vrf-test
91 ip link add name br1 up type bridge vlan_filtering 0
98 ip link add name d up type dummy
110 log_test "RIF - attach port with bad MAC to bridge with set MAC"
130 ip -6 address add 2001:db8:1::1/64 dev br0.10
135 ip -6 address add 2001:db8:1::1/64 dev br0.20
153 ip -6 address add 2001:db8::1/64 dev br0
156 ip -6 address add 2001:db8:1::1/64 dev br0.10
159 ip -6 address add 2001:db8:2::1/64 dev br0.20
164 ip -6 address add 2001:db8:1::1/64 dev $swp1
165 ip -6 address del 2001:db8:1::1/64 dev $swp1
191 # Allow netdevices to be re-created following the reload
216 # in a VLAN-aware bridge or as a VLAN device
248 ip link set dev $swp1 up
249 ip link set dev br0 up
251 ip link add link br0 name br0.10 up type vlan id 10
252 ip -6 address add 2001:db8:1::1/64 dev br0.10
255 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
260 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
265 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
270 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
294 ip link set dev bond1 up
295 ip link add link bond1 name bond1.10 up type vlan id 10
296 ip -6 address add 2001:db8:1::1/64 dev bond1
297 ip -6 address add 2001:db8:2::1/64 dev bond1.10
300 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
303 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
308 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
311 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
316 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
319 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
342 ip link set dev bond1 up
343 ip -6 address add 2001:db8:1::1/64 dev bond1
346 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
351 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
357 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
358 check_err $? "subport rif of lag device was destroyed after re-adding a port and removing another"
362 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
436 ip -6 address add 2001:db8:1::1/64 dev $swp1
440 ip -6 address add 2001:db8:10::1/64 dev $swp1.10
444 ip -6 address add 2001:db8:20::1/64 dev $swp1.20
486 ip -6 address add 2001:db8:1::1/64 dev br0.10
492 ip link add name vrf-test type vrf table 10
493 ip link set dev br0.10 master vrf-test
495 ip link del dev vrf-test
497 ip link add name br-test type bridge
498 ip link set dev br0.10 master br-test &> /dev/null
500 ip link del dev br-test
532 ip -4 address add 192.0.2.1/24 dev $swp1
533 ip -6 address add 2001:db8:1::1/64 dev $swp1
535 ip -4 neigh add 192.0.2.2 lladdr de:ad:be:ef:13:37 nud perm dev $swp1
536 ip -6 neigh add 2001:db8:1::2 lladdr de:ad:be:ef:13:37 nud perm \
540 ip -4 neigh show dev $swp1 192.0.2.2
543 ip -6 neigh show dev $swp1 2001:db8:1::2
548 ip -6 neigh del 2001:db8:1::2 dev $swp1
549 ip -4 neigh del 192.0.2.2 dev $swp1
550 ip -6 address del 2001:db8:1::1/64 dev $swp1
551 ip -4 address del 192.0.2.1/24 dev $swp1
564 ip -4 route add 198.51.100.0/24 vrf v$swp1 \
566 ip -6 route add 2001:db8:2::/64 vrf v$swp1 \
570 ip -4 route show 198.51.100.0/24 vrf v$swp1
573 ip -6 route show 2001:db8:2::/64 vrf v$swp1
580 ip -4 route show 198.51.100.0/24 vrf v$swp1
583 ip -6 route show 2001:db8:2::/64 vrf v$swp1
586 ip link set dev $swp2 up
590 ip -4 route show 198.51.100.0/24 vrf v$swp1
593 ip -6 route show 2001:db8:2::/64 vrf v$swp1
598 ip -6 route del 2001:db8:2::/64 vrf v$swp1
599 ip -4 route del 198.51.100.0/24 vrf v$swp1
625 check_fail $? "managed to configure a nexthop group with device-only nexthops when should not"
634 …check_fail $? "managed to configure a resilient nexthop group with device-only nexthops when shoul…
639 check_fail $? "managed to populate a nexthop bucket with a device-only nexthop when should not"
641 log_test "nexthop objects - invalid configurations"
859 ip route replace 198.51.100.0/24 nhid 1
861 ip route show 198.51.100.0/24
862 check_err $? "route not marked as offloaded when using valid nexthop"
866 ip route show 198.51.100.0/24
867 check_err $? "route not marked as offloaded after replacing valid nexthop with a valid one"
871 ip route show 198.51.100.0/24
872 check_err $? "route marked as offloaded after replacing valid nexthop with an invalid one"
876 ip route show 198.51.100.0/24
877 check_err $? "route not marked as offloaded after replacing invalid nexthop with a valid one"
881 ip route del 198.51.100.0/24
894 ip link add name br1 up type bridge vlan_filtering 0
929 log_test "devlink reload - last test"