Date: Thu, 12 Feb 1998 18:31:30 -0800 (PST) From: Dan Busarow <dan@dpcsys.com> To: Anthony Hill <ahill@blacksun.net.au> Cc: questions@FreeBSD.ORG Subject: Re: subnet alias for ethernet device wont work Message-ID: <Pine.UW2.3.95.980212182922.4804A-100000@cedb> In-Reply-To: <Pine.BSF.3.95q.980213110939.23713A-100000@blacksun.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Feb 1998, Anthony Hill wrote: > The general opionion was that I should use a full class C netmask for > the aliases that I add to the ethernet device. This confuses me for two > main reasons :- # ifconfig ed1 inet 210.8.131.132 netmask 0xffffffff alias Has *always* worked for me. > I do have a work-around which is to add a specific route pointing at the > loopback address:- > > /sbin/route add -host 210.8.131.132 -gateway 127.0.0.1 This does essentially what the ifconfig above does, adds a host route for the alias. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 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?Pine.UW2.3.95.980212182922.4804A-100000>