Date: Wed, 13 Jan 1999 08:23:25 +0100 From: Andrzej Szydlo <andrzej@maciek.gv.edu.pl> To: sysadmin@skynetweb.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IP Aliasing... Message-ID: <19990113082325.F13581@gv.edu.pl> In-Reply-To: <369AA6A2.12810085@skynetweb.com>; from Phillip Ryker - System Administrator on Mon, Jan 11, 1999 at 08:34:26PM -0500 References: <369AA6A2.12810085@skynetweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 11, 1999 at 08:34:26PM -0500, Phillip Ryker - System Administrator wrote: > List, > > I have been using the 'ifconfig' command in conjunction with the 'route' > command to add ip aliases to the ethernet interface in my freebsd box. > After experimenting a little I have found that I do not need to use the > 'route' command at all for the addresses to work. > > I simply use: > > ifconfig vx0 inet 208.239.248.xxx netmask 255.255.255.xxx alias > > and it adds the ip numbers and the route in the kernels routing table. > > My question is: Do I really need to be adding a route for each IP or can > I just simply use the 'ifconfig' command to add ip aliases?? What is the > CORRECT way of doing this?? I only ask because after going through the > e-mail archives and tutorials I have seen examples in using both. It depends on what you want to achieve, but if it works without "route", you don't need it in this case. Andrzej 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?19990113082325.F13581>