Lines Matching refs:devdummy

7 devdummy="test-dummy0"
30 ip link add name "$devdummy" type dummy
32 ip link set "$devdummy" up
38 ip link del dev "$devdummy"
72 ip link set dev "$devdummy" master "$devbr"
89 for name in "$devbr" "$vlandev" "$devdummy" ; do
124 ip addr add dev "$devdummy" 10.23.7.11/24
133 ip addr del dev "$devdummy" 10.23.7.11/24
213 ip route get 127.0.0.1 dev "$devdummy" > /dev/null
217 ip route get fe80::1 dev "$devdummy" > /dev/null
223 ip addr add dev "$devdummy" 10.23.7.11/24
225 ip route get 10.23.7.11 from 10.23.7.12 iif "$devdummy" > /dev/null
228 nexthop via 10.23.7.13 dev "$devdummy" \
229 nexthop via 10.23.7.14 dev "$devdummy"
240 ip addr del dev "$devdummy" 10.23.7.11/24
255 ip addr add 10.23.11.$i/32 dev "$devdummy" preferred_lft $lft valid_lft $((lft+1))
261 ip addr show dev "$devdummy" | grep "10.23.11."
273 promote=$(sysctl -n net.ipv4.conf.$devdummy.promote_secondaries)
275 sysctl -q net.ipv4.conf.$devdummy.promote_secondaries=1
279 ip -f inet addr add $IP/16 brd + dev "$devdummy"
280 ifconfig "$devdummy" $IP netmask 255.255.0.0
283 ip addr flush dev "$devdummy"
285 [ $promote -eq 0 ] && sysctl -q net.ipv4.conf.$devdummy.promote_secondaries=0
334 syspathname="/sys/class/net/$devdummy/ifalias"
336 ip link set dev "$devdummy" alias "$namewant"
340 echo "FAIL: cannot set interface alias of $devdummy to $namewant"
344 ip link show "$devdummy" | grep -q "alias $namewant"
356 ip link show "$devdummy" | grep -q "alias $namewant"
362 ip link show "$devdummy" | grep -q "alias $namewant"
372 ip link set dev "$devdummy" alias "$namewant"
377 echo "FAIL: set interface alias $devdummy to $namewant"
381 echo "PASS: set ifalias $namewant for $devdummy"
412 ip link set dev "$devdummy" master "$vrfname"
433 dev "$devdummy" dstport 4789 2>/dev/null
453 ip -netns "$testns" link set dev "$vxlan" type vxlan group ffe5::5 dev "$devdummy" 2>/dev/null
566 ip -netns "$testns" link add name "$devdummy" type dummy
568 ip -netns "$testns" link set "$devdummy" up
591 ip link add link "$devdummy" "$msname" type macsec port 42 encrypt on
647 ip addr add $srcip dev $devdummy
718 ip addr del $srcip/32 dev $devdummy
1144 ip neigh add $dstip lladdr $dstmac dev "$devdummy" > /dev/null
1146 ip neigh get $dstip dev "$devdummy" 2> /dev/null | grep -q "$dstmac"
1148 ip neigh del $dstip lladdr $dstmac dev "$devdummy" > /dev/null
1152 ip neigh add proxy $dstip dev "$devdummy" > /dev/null
1154 ip neigh get proxy $dstip dev "$devdummy" 2>/dev/null | grep -q "$dstip"
1156 ip neigh del proxy $dstip dev "$devdummy" > /dev/null
1160 ip neigh add $dstip6 lladdr $dstmac dev "$devdummy" > /dev/null
1162 ip neigh get $dstip6 dev "$devdummy" 2> /dev/null | grep -q "$dstmac"
1164 ip neigh del $dstip6 lladdr $dstmac dev "$devdummy" > /dev/null
1168 ip neigh add proxy $dstip6 dev "$devdummy" > /dev/null
1170 ip neigh get proxy $dstip6 dev "$devdummy" 2>/dev/null | grep -q "$dstip6"
1172 ip neigh del proxy $dstip6 dev "$devdummy" > /dev/null