Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 09:20:11 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        fred@timogen.com
Cc:        budsz@kumprang.or.id (budsz), freebsd-questions@FreeBSD.ORG (OrgFreebsd-Questions@Freebsd.)
Subject:   Re: Fw: How to configure multiple IPs on FreeBSD
Message-ID:  <200208271320.g7RDKBl15462@clunix.cl.msu.edu>
In-Reply-To: <005001c24de2$8626c2b0$8d05a8c0@fred> from "fred@timogen.com" at Aug 27, 2002 08:57:50 AM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
>  Hi,
> 
>      I know I can change the IP address by modifying the configure file.
>      Do u know where is the configure files for ifconfig or route in
> FreeBSD?

The ifconfigs go in /etc/rc.conf or /etc/rc.conf.local

////jerry
> 
> 
>  Regards,
> Fred Zhang
> 
> 
> 
> > ----- Original Message -----
> > From: "budsz" <budsz@kumprang.or.id>
> > To: "FBSDQ" <freebsd-questions@FreeBSD.ORG>
> > Sent: Sunday, August 25, 2002 11:18 PM
> > Subject: Re: How to configure multiple IPs on FreeBSD
> >
> >
> > > On Sun, Aug 25, 2002 at 08:46:11PM -0700, Roger Harrell wrote:
> > > >I added the lines
> > > >ifconfig_fxp0_alias0="inet anotherserverip netmask 255.255.255.0"
> > > >ifconfig_fxp0_alias1="inet anotherserverip netmask 255.255.255.0"
> > > >to rc.conf but haven't rebooted, I'm a bit nervous that something's not
> > > >quite right.
> > > >
> > > >When I do:
> > > >ifconfig fxp0 inet myextractip netmask 255.255.255.0 add
> > > >I get the error:
> > > >ifconfig: ioctl (SIOCAIFADDR): File exists
> > > >
> > > >I get the same error if I run it:
> > > >ifconfig fxp0 inet myextractip netmask 255.255.255.0 alias
> > > >
> > > >What am I missing?
> > >
> > > For assure, You should check all of interface (ifconfig -a) that is
> > > already "up/down". "ifconfig: ioctl (SIOCAIFADDR): File exists" I think
> > > this error message mean You repeating entry to database interface.
> > >
> > > --
> > > budsz
> > >
> > > 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
> 


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?200208271320.g7RDKBl15462>