Lines Matching refs:ip
150 addr=$(${pfx} ip -6 -br addr show dev ${dev} | \
179 ip netns add ${PEER_NS}
180 ip -netns ${PEER_NS} li set lo up
183 ip li add ${VRF} type vrf table ${VRF_TABLE}
184 ip li set ${VRF} up
185 ip ro add table ${VRF_TABLE} unreachable default metric 8192
186 ip -6 ro add table ${VRF_TABLE} unreachable default metric 8192
189 ip li add ${NETIFS[p1]} type veth peer name ${NETIFS[p2]}
190 ip li add ${NETIFS[p3]} type veth peer name ${NETIFS[p4]}
191 ip li add ${NETIFS[p5]} type veth peer name ${NETIFS[p6]}
192 ip li add ${NETIFS[p7]} type veth peer name ${NETIFS[p8]}
196 ip li set ${NETIFS[p${n}]} vrf ${VRF}
201 ip li set ${NETIFS[p${n}]} up
202 ip addr add ${V4ADDRS[p${n}]}/24 dev ${NETIFS[p${n}]}
203 ip addr add ${V6ADDRS[p${n}]}/64 dev ${NETIFS[p${n}]} nodad
208 ip li set ${NETIFS[p${n}]} netns ${PEER_NS} up
209 ip -netns ${PEER_NS} addr add ${V4ADDRS[p${n}]}/24 dev ${NETIFS[p${n}]}
210 ip -netns ${PEER_NS} addr add ${V6ADDRS[p${n}]}/64 dev ${NETIFS[p${n}]} nodad
213 ip -6 ro add default via ${V6ADDRS[p3]/::[0-9]/::64}
214 ip -6 ro add table ${VRF_TABLE} default via ${V6ADDRS[p7]/::[0-9]/::64}
222 ip netns del ${PEER_NS} 2>/dev/null
224 ip link del ${NETIFS[p${n}]} 2>/dev/null
226 ip link del ${VRF} 2>/dev/null
227 ip ro flush table ${VRF_TABLE}
228 ip -6 ro flush table ${VRF_TABLE}
247 run_cmd ip ro add table "${table}" "${prefix}"/32 via "${gw}" "${dev}" onlink
263 run_cmd ip ro add table "${table}" "${prefix}"/32 \
345 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 via "${gw}" "${dev}" onlink
359 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 "${opts}" \