Trying to ping from a subinterface.

CLOSE Dave Dave.Close at us.thalesgroup.com
Mon Jun 2 23:45:15 UTC 2014


I wrote:

> # ping -I eth3:sub1 172.17.30.1
> ping: SO_BINDTODEVICE: Invalid argument

Rick Stevens responded:

> "eth3:sub1" isn't an interface, it's an alias. The interface name is
> the bit before the ":" (or "." in the case of a VLAN).
>
> If you were to do a "netstat -rn", you'd only see "eth3" as a network
> device. You wouldn't see "eth3:sub1" listed.

Thanks. And you are obviously correct, technically. But this command 
worked as I expected on earlier versions of Fedora. We now have many 
procedures with such commands embedded and were surprised to discover 
they no longer work on F20. Why was it changed?
-- 
Dave Close


More information about the users mailing list