From owner-freebsd-questions Sat Aug 17 03:32:40 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA14629 for questions-outgoing; Sat, 17 Aug 1996 03:32:40 -0700 (PDT) Received: from elle.microtronic.de (elle.microtronic.de [194.64.170.4]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA14618 for ; Sat, 17 Aug 1996 03:32:36 -0700 (PDT) Received: from localhost (slash@localhost) by elle.microtronic.de (8.7.5/8.7.3) with SMTP id MAA28932 for ; Sat, 17 Aug 1996 12:32:33 +0200 (MET DST) Date: Sat, 17 Aug 1996 12:32:33 +0200 (MET DST) From: Ulf Schmidt Reply-To: us@microtronic.de To: Question freeBSD Subject: virtual IPs - more specific question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. I would like to stick to FreeBSD for our DNS, so maybe you have a solution. Thanks, Ulf Schmidt -- --> Ulf Schmidt - us@microtronic.de - It's 42! <--- --> MicroTronic GmbH - Eiffestr. 426 - D-20537 Hamburg <--- --> office: phone +49 40 257970, fax +49 40 25797297 <---