Lines Matching refs:devdummy
7 devdummy="test-dummy0"
31 ip link add name "$devdummy" type dummy
33 ip link set "$devdummy" up
39 ip link del dev "$devdummy"
73 ip link set dev "$devdummy" master "$devbr"
90 for name in "$devbr" "$vlandev" "$devdummy" ; do
125 ip addr add dev "$devdummy" 10.23.7.11/24
134 ip addr del dev "$devdummy" 10.23.7.11/24
214 ip route get 127.0.0.1 dev "$devdummy" > /dev/null
218 ip route get fe80::1 dev "$devdummy" > /dev/null
224 ip addr add dev "$devdummy" 10.23.7.11/24
226 ip route get 10.23.7.11 from 10.23.7.12 iif "$devdummy" > /dev/null
229 nexthop via 10.23.7.13 dev "$devdummy" \
230 nexthop via 10.23.7.14 dev "$devdummy"
241 ip addr del dev "$devdummy" 10.23.7.11/24
256 ip addr add 10.23.11.$i/32 dev "$devdummy" preferred_lft $lft valid_lft $((lft+1))
262 ip addr show dev "$devdummy" | grep "10.23.11."
274 promote=$(sysctl -n net.ipv4.conf.$devdummy.promote_secondaries)
276 sysctl -q net.ipv4.conf.$devdummy.promote_secondaries=1
280 ip -f inet addr add $IP/16 brd + dev "$devdummy"
281 ifconfig "$devdummy" $IP netmask 255.255.0.0
284 ip addr flush dev "$devdummy"
286 [ $promote -eq 0 ] && sysctl -q net.ipv4.conf.$devdummy.promote_secondaries=0
335 syspathname="/sys/class/net/$devdummy/ifalias"
337 ip link set dev "$devdummy" alias "$namewant"
341 echo "FAIL: cannot set interface alias of $devdummy to $namewant"
345 ip link show "$devdummy" | grep -q "alias $namewant"
357 ip link show "$devdummy" | grep -q "alias $namewant"
363 ip link show "$devdummy" | grep -q "alias $namewant"
373 ip link set dev "$devdummy" alias "$namewant"
378 echo "FAIL: set interface alias $devdummy to $namewant"
382 echo "PASS: set ifalias $namewant for $devdummy"
413 ip link set dev "$devdummy" master "$vrfname"
434 dev "$devdummy" dstport 4789 2>/dev/null
454 ip -netns "$testns" link set dev "$vxlan" type vxlan group ffe5::5 dev "$devdummy" 2>/dev/null
562 ip -netns "$testns" link add name "$devdummy" type dummy
564 ip -netns "$testns" link set "$devdummy" up
584 ip link add link "$devdummy" "$msname" type macsec port 42 encrypt on
640 ip addr add $srcip dev $devdummy
711 ip addr del $srcip/32 dev $devdummy
1137 ip neigh add $dstip lladdr $dstmac dev "$devdummy" > /dev/null
1139 ip neigh get $dstip dev "$devdummy" 2> /dev/null | grep -q "$dstmac"
1141 ip neigh del $dstip lladdr $dstmac dev "$devdummy" > /dev/null
1145 ip neigh add proxy $dstip dev "$devdummy" > /dev/null
1147 ip neigh get proxy $dstip dev "$devdummy" 2>/dev/null | grep -q "$dstip"
1149 ip neigh del proxy $dstip dev "$devdummy" > /dev/null
1153 ip neigh add $dstip6 lladdr $dstmac dev "$devdummy" > /dev/null
1155 ip neigh get $dstip6 dev "$devdummy" 2> /dev/null | grep -q "$dstmac"
1157 ip neigh del $dstip6 lladdr $dstmac dev "$devdummy" > /dev/null
1161 ip neigh add proxy $dstip6 dev "$devdummy" > /dev/null
1163 ip neigh get proxy $dstip6 dev "$devdummy" 2>/dev/null | grep -q "$dstip6"
1165 ip neigh del proxy $dstip6 dev "$devdummy" > /dev/null