[Gllug] adding multiple IP's to one interface?
Bruce Richardson
itsbruce at uklinux.net
Thu Nov 15 13:12:02 UTC 2001
On Thu, Nov 15, 2001 at 10:54:39AM -0000, Steve Nicholson wrote:
> > # ifconfig eth0:1 x.x.x.x
>
> Great thank you, still can't see in the man page where it says this.
>
> I notice the new IP isn't added to /etc/network/interfaces (using
> Debian).
> Can I add this new address to /etc/network/interfaces by including the
> following line:
>
> iface eth0:1 inet static
> address x.x.x.x
I do it by adding an ifup entry to the iface line for eth0:
ifup /usr/local/sbin/eth0up
and put the ip line from my previous message (and any other associated
tasks) in the eth0up script.
--
Bruce
Remember you're a Womble.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 261 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20011115/a57f5809/attachment.pgp>
More information about the GLLUG
mailing list