Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 1997 09:36:45 -0700
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        David Ramahefason <rama@easynet.fr>
Cc:        security@freebsd.org, hackers@freebsd.org
Subject:   Re: Virutal Interfaces how ?? 
Message-ID:  <199704111636.JAA18709@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Fri, 11 Apr 1997 17:59:43 +0200 (MET DST) 
 David Ramahefason <rama@easynet.fr> wrote:

 > I've seen that aliasing on IP was allowed under FreeBSD,
 > but How do I specify the name of those Interfaces as on
 > Linux ??? de0:0-de0:1 etc....

You don't ... you simply do:

	ifconfig de0 alias xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx

...and the new address is stashed in the interfaces address list.

(This is how it works under NetBSD, anyhow, and I wouldn't think FreeBSD
would be any different)

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939



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