Lines Matching refs:link
46 ip -n ${g_ns} link add br0 type bridge
47 ip -n ${g_ns} link set br0 up
54 ip -n ${g_ns} link del br0
61 ip -n ${s_ns} link add bond0 type bond mode active-backup miimon 100
64 ip -n ${s_ns} link add eth${i} type veth peer name s${i} netns ${g_ns}
66 ip -n ${g_ns} link set s${i} up
67 ip -n ${g_ns} link set s${i} master br0
68 ip -n ${s_ns} link set eth${i} master bond0
73 ip -n ${s_ns} link set bond0 up
84 local link_num=$(ip -n ${s_ns} -br link show | grep -c "^eth")
88 ip -n ${s_ns} link set bond0 down
89 ip -n ${s_ns} link del bond0
91 ip -n ${s_ns} link add bond0 type bond $param
93 ip -n ${s_ns} link set eth$i master bond0
96 ip -n ${s_ns} link set bond0 up
106 local link_num=$(ip -n ${s_ns} -br link show | grep -c "^eth")
109 ip -n ${s_ns} link del eth${i}
117 ip -n ${c_ns} link add eth0 type veth peer name c0 netns ${g_ns}
119 ip -n ${g_ns} link set c0 up
120 ip -n ${g_ns} link set c0 master br0
122 ip -n ${c_ns} link set eth0 up
129 ip -n ${c_ns} link del eth0