Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 1996 11:47:16 +0200
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Vincent Poy <vince@venus.GAIANET.NET>
Cc:        questions@freebsd.org
Subject:   Re: two ip's for one ne0 interface
Message-ID:  <32B66C24.AA@barcode.co.il>
References:  <Pine.BSF.3.95.961217011439.447A-100000@venus.GAIANET.NET>

next in thread | previous in thread | raw e-mail | index | archive | help
Vincent Poy wrote:
> 
> On Mon, 16 Dec 1996, Nadav Eiron wrote:
> 
> > Vincent Poy wrote:
> > >
> > > Hi everyone,
> > >
> > >         What do I need to do in /etc/sysconfig to make the ne0 also known
> > > as 206.171.98.1 as well as the current ip of 206.171.98.29 for the
> > > ifconfig line?  Thanks.
> >
> > It's all in the IP Aliasing Tutorial. Look at:
> > http://www.cypher.net/~black/ipalias.html
> 
>         I tried to look at that but somehow can't connect to that machine.
> What would the lines in /etc/sysconfig look like for something like this?
> 
> Cheers,
> Vince
> GaiaNet Corporation - Unix Networking Operations - GUS Mailing Lists Admin

If they are on the same subnet, all that is required is the command:
ifconfig inet ne0 206.171.98.29 netmask 255.255.255.255 alias

Note the netmask of all 1s. Put this command someplace in netstart, or
modify it to look for the required info in sysconfig. 

Nadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32B66C24.AA>