Date: Sat, 17 Aug 1996 13:43:58 +0000 () From: "Lenzi, Sergio" <lenzi@bsi.com.br> To: Ulf Schmidt <slash@microtronic.de> Cc: Question freeBSD <questions@FreeBSD.ORG> Subject: Re: virtual IPs - more specific question Message-ID: <Pine.BSF.3.91.960817134118.12949B-100000@sergio.lenzi> In-Reply-To: <Pine.BSF.3.95.960817122842.28911B-100000@elle.microtronic.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 17 Aug 1996, Ulf Schmidt wrote: > Hi, > I now know that a named works on a virtual IP. At least it does under > Linux if I configure the interface as follows (on Linux 2.0.7): > /sbin/ifconfig eth0:0 x.x.x.x netmask 255.255.255.192 broadcast 194.64.170.63 > /sbin/route add -host 194.64.170.41 dev eth0:0 > > Unfortunatly, I can't get this IP aliasing to work under FreeBSD. If I try > to set an alias w/ FreeBSD and specify a netmask other than 0xffffffff, I > get: > # ifconfig de0 194.64.170.16 alias netmask 0xffffffc0 > ifconfig: ioctl (SIOCAIFADDR): File exists > # ifconfig de0 194.64.170.16 alias netmask 0xffffffff > works fine, but then a named won't respond on that interface. > Hello Ulf. I had simillar problems with my BSD also. I solved it, by adding a reverse addr on named.boot to that interface and boot up named. primary 170.64.194.in-addr.arpa xx.rev at this time, named is found on net 194.64.170.x This worked for me... Sergio Lenzi. Unix consult.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960817134118.12949B-100000>