Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 1998 16:14:25 -0500
From:      jmire@lsumc.edu (Mire, John)
To:        "'FreeBSD Questions'" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: IP Aliasing supported?
Message-ID:  <F17CAD5363F1D01184F300A0246203121BF2AF@SH-EXCH1.COMPSERV.LSUMC.EDU>

next in thread | raw e-mail | index | archive | help
speaking of IP aliasing on an interface, currently I'm using the
following rc.local entry to set ip aliases
on the ep0 interface:

/bin/echo -n 'setting alias for ep0 interface:'
/sbin/ifconfig ep0 inet AAA.BB.CCC.2 netmask 255.255.255.0 alias
/sbin/ifconfig ep0 inet AAA.BB.CCC.3 netmask 255.255.255.0 alias
/bin/echo ' done.'

is there any way to accomplish this with an entry in rc.conf, i.e.,

for primary interface:
ifconfig_ep0="inet AAA.BB.CCC.1	netmask 255.255.255.0"

then for the aliases:
ifconfig_ep0="inet AAA.BB.CCC.2	netmask 255.255.255.0 alias"
ifconfig_ep0="inet AAA.BB.CCC.3	netmask 255.255.255.0 alias"


\john

--
John Mire: jmire@lsumc.edu
LSUMC Shreveport Computer Services
pgpkey: <http://pgp.ai.mit.edu:11371/pks/lookup?op=index&search=jmire>;
voice: 318.675.5443
fax: 318.675.4641



> ----------
> From: 	Doug White[SMTP:dwhite@gdi.uoregon.edu]
> Reply To: 	Doug White
> Sent: 	Monday, April 20, 1998 4:01 PM
> To: 	Francis Vidal
> Cc: 	FreeBSD Questions
> Subject: 	Re: IP Aliasing supported?
> 
> On Mon, 20 Apr 1998, Francis Vidal wrote:
> 
> > is IP aliasing supported in FreeBSD?
> 
> Yes.
> 
> (This covers both types -- IP address aliasing on interfaces and what
> Linux calls ``IP Masquerading''.)
> 
> Doug White                              | University of Oregon  
> Internet:  dwhite@resnet.uoregon.edu    | Residence Networking
> Assistant
> http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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