Re: virtual ip's
On Wed, May 10, 2000 at 06:35:38PM +1000, Peter Good wrote
> 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.
>
If the two IPs are on the same network, that's probably enough;
if they're on different networks you need the full form so that
the kernel knows the netmask and broadcast address.
>
> Oki DZ wrote:
> >
> > On Fri, 5 May 2000, Wayne Sitton wrote:
> >
> > > How do I bind 2 ip's to the same nic in Debian
> > >
<snip>
John P.
--
huiac@camtech.net.au
john@huiac.apana.org.au
http://www.mdt.net.au/~john Debian Linux admin & support:technical services
Reply to: