[Gllug] adding multiple IP's to one interface?
tet at accucard.com
tet at accucard.com
Thu Nov 15 13:04:23 UTC 2001
>what does the output of ifconfig <int> look like when you have multiple
>addresses per interface?
If you specify the interface, it just gives you the first IP address
assigned to that interface:
acapp02:~% ifconfig qfe0
qfe0: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
inet 10.0.8.68 netmask ffffff00 broadcast 10.0.8.255
groupname prod
Of course, ifconfig -a will show you them all, or you can explicitly ask
for qfe0:1, for example.
qfe0: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
inet 10.0.8.68 netmask ffffff00 broadcast 10.0.8.255
groupname prod
qfe0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.0.8.66 netmask ffffff00 broadcast 10.0.8.255
Tet
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list