Lines Matching +full:route +full:- +full:up
2 # SPDX-License-Identifier: GPL-2.0
44 ip link set dev $swp1 up
45 ip link set dev $swp2 up
80 | grep -q mlxsw_spectrum
93 | grep -q mlxsw_spectrum
96 log_test "RIF - bad MAC change"
111 ip link add name vrf-test type vrf table 10
112 ip link set dev $swp1 master vrf-test
114 ip -4 address add 192.0.2.1/24 dev vrf-test
116 ip -6 address add 2001:db8:1::1/64 dev vrf-test
119 log_test "RIF - setting IP address on VRF"
121 ip link del dev vrf-test
133 ip link add name br1 up type bridge vlan_filtering 0
139 ip link add name d up type dummy
147 | grep -q mlxsw_spectrum
153 | grep -q mlxsw_spectrum
156 log_test "RIF - attach port with bad MAC to bridge"
174 ip link add name br1 up type bridge vlan_filtering 0
181 ip link add name d up type dummy
193 log_test "RIF - attach port with bad MAC to bridge with set MAC"
213 ip -6 address add 2001:db8:1::1/64 dev br0.10
218 ip -6 address add 2001:db8:1::1/64 dev br0.20
236 ip -6 address add 2001:db8::1/64 dev br0
239 ip -6 address add 2001:db8:1::1/64 dev br0.10
242 ip -6 address add 2001:db8:2::1/64 dev br0.20
247 ip -6 address add 2001:db8:1::1/64 dev $swp1
248 ip -6 address del 2001:db8:1::1/64 dev $swp1
274 # Allow netdevices to be re-created following the reload
314 ip -6 address add 2001:db8:1::1/64 dev $swp1
315 ip -6 address del 2001:db8:1::1/64 dev $swp1
326 # in a VLAN-aware bridge or as a VLAN device
358 ip link set dev $swp1 up
359 ip link set dev br0 up
361 ip link add link br0 name br0.10 up type vlan id 10
362 ip -6 address add 2001:db8:1::1/64 dev br0.10
365 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
370 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
375 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
380 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
404 ip link set dev bond1 up
405 ip link add link bond1 name bond1.10 up type vlan id 10
406 ip -6 address add 2001:db8:1::1/64 dev bond1
407 ip -6 address add 2001:db8:2::1/64 dev bond1.10
410 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
413 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
418 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
421 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
426 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
429 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
504 ip -6 address add 2001:db8:1::1/64 dev $swp1
508 ip -6 address add 2001:db8:10::1/64 dev $swp1.10
512 ip -6 address add 2001:db8:20::1/64 dev $swp1.20
557 ip -6 address add 2001:db8:1::1/64 dev br0.10
563 ip link add name vrf-test type vrf table 10
564 ip link set dev br0.10 master vrf-test
566 ip link del dev vrf-test
568 ip link add name br-test type bridge
569 ip link set dev br0.10 master br-test &> /dev/null
571 ip link del dev br-test
603 ip -4 address add 192.0.2.1/24 dev $swp1
604 ip -6 address add 2001:db8:1::1/64 dev $swp1
606 ip -4 neigh add 192.0.2.2 lladdr de:ad:be:ef:13:37 nud perm dev $swp1
607 ip -6 neigh add 2001:db8:1::2 lladdr de:ad:be:ef:13:37 nud perm \
611 ip -4 neigh show dev $swp1 192.0.2.2
614 ip -6 neigh show dev $swp1 2001:db8:1::2
619 ip -6 neigh del 2001:db8:1::2 dev $swp1
620 ip -4 neigh del 192.0.2.2 dev $swp1
621 ip -6 address del 2001:db8:1::1/64 dev $swp1
622 ip -4 address del 192.0.2.1/24 dev $swp1
635 ip -4 route add 198.51.100.0/24 vrf v$swp1 \
637 ip -6 route add 2001:db8:2::/64 vrf v$swp1 \
641 ip -4 route show 198.51.100.0/24 vrf v$swp1
644 ip -6 route show 2001:db8:2::/64 vrf v$swp1
651 ip -4 route show 198.51.100.0/24 vrf v$swp1
654 ip -6 route show 2001:db8:2::/64 vrf v$swp1
657 ip link set dev $swp2 up
661 ip -4 route show 198.51.100.0/24 vrf v$swp1
664 ip -6 route show 2001:db8:2::/64 vrf v$swp1
669 ip -6 route del 2001:db8:2::/64 vrf v$swp1
670 ip -4 route del 198.51.100.0/24 vrf v$swp1
686 log_test "devlink reload - last test"