Lines Matching +full:route +full:- +full:up

2 # SPDX-License-Identifier: GPL-2.0
24 vrf_create "vrf-h1"
25 ip link set dev $h1 master vrf-h1
27 ip link set dev vrf-h1 up
28 ip link set dev $h1 up
33 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
34 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
39 ip route del 2001:db8:2::/64 vrf vrf-h1
40 ip route del 198.51.100.0/24 vrf vrf-h1
46 vrf_destroy "vrf-h1"
51 vrf_create "vrf-h2"
52 ip link set dev $h2 master vrf-h2
54 ip link set dev vrf-h2 up
55 ip link set dev $h2 up
60 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
61 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
66 ip route del 2001:db8:1::/64 vrf vrf-h2
67 ip route del 192.0.2.0/24 vrf vrf-h2
73 vrf_destroy "vrf-h2"
78 ip link set dev $rp1 up
79 ip link set dev $rp2 up
106 SMCROUTEDIR="$(mktemp -d)"
113 $MCD -N -I $table_name -f $SMCROUTEDIR/$table_name.conf \
114 -P $SMCROUTEDIR/$table_name.pid
120 rm -rf $SMCROUTEDIR
182 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \
183 -A 240.0.0.1 -b $rp1mac -B 198.51.100.2 -q
202 $MC_CLI -I $table_name add $if_name $s_addr $mcast $dest_ifs
212 $MC_CLI -I $table_name remove $if_name $s_addr $mcast $dest_ifs
221 local flags=${1:-""}; shift
231 $MZ $flags $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $dmac \
232 -B $dip -q
246 __mc_mac_mismatch "IPv6" "ipv6" 2001:db8:1::2 ff0e::3 "-6"
260 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \
261 -A 198.51.100.2 -b $rp1mac -B 198.51.100.2 -q
280 $MZ -6 $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \
281 -A 2001:db8:2::2 -b $rp1mac -B 2001:db8:2::2 -q
301 ip route add 169.254.1.0/24 dev $rp2
303 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $rp1mac -B $dip -q
308 log_test "IPv4 destination IP is link-local"
310 ip route del 169.254.1.0/24 dev $rp2