On 09/08/12 04:05 PM, Thomas Goirand wrote:
When we are talking about IPv4, then it's probably right to tell that having multiple IPs on a single interface isn't a very common setup. But for IPv6, that's another story! It's very common to setup more than one IP per iface with IPv6. And yes, we should consider IPv6 as important.
Just for the record, ifconfig seems to display multiple IPv6 addresses just fine:
$ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:30:48:87:0d:fainet addr:64.15.147.134 Bcast:64.15.147.159 Mask:255.255.255.224
inet6 addr: 2607:f748:1200:f9::4:1/64 Scope:Global inet6 addr: 2607:f748:1200:f9::5:f/64 Scope:Global inet6 addr: 2607:f748:1200:f9::2:f/64 Scope:Global inet6 addr: 2607:f748:1200:f9::a:1/64 Scope:Global ... etc. This ifconfig hiding of extra addresses appears to be an IPv4-only problem. Jason Rhinelander