Date: Tue, 27 Aug 2002 08:57:50 -0700 From: fred@timogen.com To: "budsz" <budsz@kumprang.or.id> Cc: "OrgFreebsd-Questions@Freebsd." <freebsd-questions@freebsd.org> Subject: Fw: How to configure multiple IPs on FreeBSD Message-ID: <005001c24de2$8626c2b0$8d05a8c0@fred>
next 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? 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005001c24de2$8626c2b0$8d05a8c0>