Lines Matching +full:route +full:- +full:up
2 # SPDX-License-Identifier: GPL-2.0
4 # +-------------------------+ +-------------------------+
9 # +-------------------|-----+ +-------------------|-----+
11 # +-------------------|----------------------------|-----+
16 # +------------------------------------------------------+
29 vrf_create "vrf-h1"
30 ip link set dev $h1 master vrf-h1
32 ip link set dev vrf-h1 up
33 ip link set dev $h1 up
38 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
39 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
44 ip route del 2001:db8:2::/64 vrf vrf-h1
45 ip route del 198.51.100.0/24 vrf vrf-h1
51 vrf_destroy "vrf-h1"
56 vrf_create "vrf-h2"
57 ip link set dev $h2 master vrf-h2
59 ip link set dev vrf-h2 up
60 ip link set dev $h2 up
65 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
66 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
71 ip route del 2001:db8:1::/64 vrf vrf-h2
72 ip route del 192.0.2.0/24 vrf vrf-h2
78 vrf_destroy "vrf-h2"
83 ip link set dev $rp1 up
84 ip link set dev $rp2 up
113 ip -6 nexthop add id 101 dev $rp1
114 ip -6 nexthop add id 102 dev $rp2
116 ip route replace 192.0.2.0/24 nhid 101
117 ip route replace 2001:db8:1::/64 nhid 101
118 ip route replace 198.51.100.0/24 nhid 102
119 ip route replace 2001:db8:2::/64 nhid 102