From owner-freebsd-questions Sat Aug 17 10:52:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA06183 for questions-outgoing; Sat, 17 Aug 1996 10:52:35 -0700 (PDT) Received: from sergio.lenzi ([200.247.23.105]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA06178 for ; Sat, 17 Aug 1996 10:52:24 -0700 (PDT) Received: (from lenzi@localhost) by sergio.lenzi (8.7.5/8.7.3) id NAA13016; Sat, 17 Aug 1996 13:43:59 GMT Date: Sat, 17 Aug 1996 13:43:58 +0000 () From: "Lenzi, Sergio" X-Sender: lenzi@sergio.lenzi To: Ulf Schmidt cc: Question freeBSD Subject: Re: virtual IPs - more specific question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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.