Lines Matching refs:ip
87 ip link set dev lag1 address $(mac_get $h1)
88 ip link set dev $h1 master lag1
89 ip link set dev $h4 master lag1
91 ip link set dev $h1 up
92 ip link set dev $h4 up
93 ip -4 route add 192.0.2.128/28 vrf vlag1 nexthop via 192.0.2.2
94 ip -6 route add 2001:db8:2::/64 vrf vlag1 nexthop via 2001:db8:1::2
99 ip -6 route del 2001:db8:2::/64 vrf vlag1
100 ip -4 route del 192.0.2.128/28 vrf vlag1
101 ip link set dev $h4 down
102 ip link set dev $h1 down
104 ip link set dev $h4 nomaster
105 ip link set dev $h1 nomaster
112 ip link set dev lag4 address $(mac_get $h2)
113 ip link set dev $h2 master lag4
114 ip link set dev $h3 master lag4
116 ip link set dev $h2 up
117 ip link set dev $h3 up
118 ip -4 route add 192.0.2.0/28 vrf vlag4 nexthop via 192.0.2.129
119 ip -6 route add 2001:db8:1::/64 vrf vlag4 nexthop via 2001:db8:2::1
124 ip -6 route del 2001:db8:1::/64 vrf vlag4
125 ip -4 route del 192.0.2.0/28 vrf vlag4
126 ip link set dev $h3 down
127 ip link set dev $h2 down
129 ip link set dev $h3 nomaster
130 ip link set dev $h2 nomaster
137 ip link set dev lag2 address $(mac_get $swp1)
138 ip link set dev $swp1 master lag2
139 ip link set dev $swp4 master lag2
141 ip link add name br1 address $(mac_get lag2) \
143 ip link set dev lag2 master br1
145 ip link set dev $swp1 up
146 ip link set dev $swp4 up
147 ip link set dev br1 up
152 ip link set dev lag3 address $(mac_get $swp2)
153 ip link set dev $swp2 master lag3
154 ip link set dev $swp3 master lag3
155 ip link set dev $swp2 up
156 ip link set dev $swp3 up
163 ip link set dev $swp3 down
164 ip link set dev $swp2 down
165 ip link set dev $swp3 nomaster
166 ip link set dev $swp2 nomaster
171 ip link set dev $swp4 down
172 ip link set dev $swp1 down
173 ip link set dev br1 down
175 ip link set dev lag2 nomaster
176 ip link del dev br1
178 ip link set dev $swp4 nomaster
179 ip link set dev $swp1 nomaster
187 ip link set dev lag2 nomaster
189 ip link set dev lag2 master br1
196 ip link set dev lag3 master br1
198 ip link set dev lag3 nomaster
206 ip link set dev $netdev down
207 ip link set dev $netdev nomaster
208 ip link set dev $netdev up
237 ip link set dev $netdev down
238 ip link set dev $netdev master $master
239 ip link set dev $netdev up