Lines Matching refs:ip
12 ip netns del "ns${i}" || true
13 ip link del "veth${i}" || true
14 ip netns add "ns${i}"
15 ip link add "veth${i}" type veth peer name "veth${i}_"
16 ip link set "veth${i}_" netns "ns${i}"
17 ip -n "ns${i}" link set dev "veth${i}_" up
18 ip -n "ns${i}" link set dev lo up
19 ip -n "ns${i}" addr add "192.168.113."$((4*i+1))/30 dev "veth${i}_"
20 ip link set dev "veth${i}" up
21 ip addr add "192.168.113."$((4*i+2))/30 dev "veth${i}"
30 ip netns del "ns${i}"
31 ip link del "veth${i}"