Date: Tue, 27 Aug 1996 06:19:56 -0500 (CDT) From: Mike <flaq@synwork.com> To: satan@yoss.canweb.net Cc: questions@FreeBSD.org Subject: Re: having trouble with ip aliasing Message-ID: <Pine.BSI.3.94.960827061701.6998A-100000@synwork.com> In-Reply-To: <199608270817.EAA18066@yoss.canweb.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Aug 1996 satan@yoss.canweb.net wrote: > > Hi! > I am having trouble configuring my server for virtual ips. > Its 'main' ip is 152.160.182.16 (ifconfig) > I do the following > > ifconfig ed0 inet 152.160.5.1 alias > route add -host 152.160.5.1 localhost > > The route command fails with 'file exists' error, and I cant ping > the server on 152.160.5.1, even from a local machine (same LAN). > Now, I have no problem aliasing to ips on same subnet, ie., > aliasing to 152.160.182.224, for example. So I suspect this is a > problem with netmask on ifconfig, but I cant figure out what it > should be. > > Thanks, > > --Stan > For an IP alias, I use: ifconfig ed0 xxx.xxx.xxx.xxx netmask 255.255.255.255 alias I don't think you should have to add a route. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Syn-Work Media, Inc. | WWW Development & Hosting | Life Safety http://www.synwork.com | Systems Integration | CCTV mike@synwork.com | Voice/Data/Fiber | Access Control Flaq on IRC | Dukane Distributor | BICSI/RCDD :|:|:|: Powered By FreeBSD :|:|:|: Turning PC's Into Workstations ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960827061701.6998A-100000>