[ILUG] Ubuntu networking questions

Colm MacCarthaigh colm at stdlib.net
Thu Feb 23 09:59:02 GMT 2006


On Thu, Feb 23, 2006 at 09:47:28AM +0000, Niall O Broin wrote:
> >iface ethX:1
> >	address a.b.c.d
> >	netmask 255.255.255.255
> 
> OK - I could have hazarded a guess at that one, but that will give me 
> an ethX:1 interface, no? Whereas what I wanted to do was add another ip 
> to ethX.

Yep, but is that really a problem? There's no built in-way to add IPv4
addresses afaik, in IPv6 the sub-int addresses will be stacked on 
the primary one though. So you'd have to hack in a command to add it,
be aware that this will seriously complicate default source-address
selection though, which can be a pain.

-- 
Colm MacCárthaigh                        Public Key: colm+pgp at stdlib.net



More information about the ILUG mailing list