Date: Thu, 16 Nov 1995 09:51:47 +0100 (MET) From: me@tartufo.muc.ditec.de (Michael Elbel) To: questions@freebsd.org Subject: Re: How do I setup IP aliases? Message-ID: <m0tG02u-000Pa7C@tartufo.muc.ditec.de> In-Reply-To: <9511151711.AA26207@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Nov 15, 95 12:11:51 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > ifconfig de0 134.98.17.10 netmask 0xffffff00 > > ifconfig de0 alias 134.98.18.10 netmask 0xffffffff > > ifconfig de0 alias 134.98.19.10 netmask 0xffffffff > > > Should I expect problems, or am I understanding something wrong? > > Yes. You should expect to be unable to contact any other host on the > 134.98.18 and 134.98.19 subnets. > Aah, now I begin to understand. Am I right that giving netmask 0xffffffff I prevent another route to the respective net from being added? The netmask 0xffffffff aliases *do* work for me, but I have to say route add net 134.98.18 -interface 134.98.18.10 route add net 134.98.19 -interface 134.98.19.10 I've just checked and with netmask 0xffffff00 those routes get added automatically. "Elbel, sit down and read about IP basics again" :-) Michael -- Michael Elbel, DITEC, Muenchen, Germany - me@muc.ditec.de Fermentation fault (coors dumped)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0tG02u-000Pa7C>