[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: virtual ip's



I've only ever used
for the first IP

ifconfig eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx broadcast
xxx.xxx.xxx.xxx

For the 2nd IP (got about 4 all up on this box that i'm using this for,
works perfectly)

ifconfig eth0:0 xxx.xxx.xxx.xxx

Pete.


Oki DZ wrote:
> 
> On Fri, 5 May 2000, Wayne Sitton wrote:
> 
> > How do I bind 2 ip's to the same nic in Debian
> >
> > I've tried
> > ifconfig eth0:1 xxx.xxx.xxx.xxx up
> > ifconfig eth0:2 XXX.XXX.XXX.XXY up
> >
> > is there something I'm forgeting?
> 
> ifconfig eth0:1 xxx.xxx.xxx.xxx netmask 255.255.255.0 broadcast
> xxx.xxx.xxx.255?
> 
> Oki
> 
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

--
In the beginning, the universe was created. 
This made a lot of people very angry, and 
has been widely regarded as a bad idea.

***************************************************************
*Peter Good                    Email: psgood@petesinternet.net*
*Pete's Internet Services      Sales: sales@petesinternet.net *
*http://www.petesinternet.net  Phone: 0401 283 482            *
*Morayfield QLD Australia                                     *
***************************************************************



Reply to: