From owner-freebsd-questions Tue Oct 1 16:37:56 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA10695 for questions-outgoing; Tue, 1 Oct 1996 16:37:56 -0700 (PDT) Received: from one.mind.net (one.mind.net [206.99.66.5]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA10671 for ; Tue, 1 Oct 1996 16:37:54 -0700 (PDT) Received: from takhus.mind.net (takhus.mind.net [206.101.72.8]) by one.mind.net (8.6.12/8.6.10) with SMTP id QAA16121; Tue, 1 Oct 1996 16:37:19 -0700 Message-Id: <2.2.32.19961001234349.00a05944@mind.net> X-Sender: fleisher@mind.net X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 01 Oct 1996 16:43:49 -0700 To: us@microtronic.de From: Anthony Fleisher Subject: Re: virtual IPs - more specific question Cc: questions@FreeBSD.ORG Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 12:32 PM 8/17/96 +0200, you 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. > I believe that you need to kill named and restart it AFTER the interface is aliased. We had named setup on a box with several aliases, and it responded to requests on all of them. >I would like to stick to FreeBSD for our DNS, so maybe you have a >solution. > >Thanks, Ulf Schmidt > no prob. Regards, ----------------------------------------------- Anthony Fleisher System Administrator InfoStructure Ashland, Oregon Voice: (541)488-1962 Fax: (541)488-7599 -----------------------------------------------