Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 1996 16:43:49 -0700
From:      Anthony Fleisher <fleisher@mind.net>
To:        us@microtronic.de
Cc:        questions@FreeBSD.ORG
Subject:   Re: virtual IPs - more specific question
Message-ID:  <2.2.32.19961001234349.00a05944@mind.net>

next in thread | raw e-mail | index | archive | help
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	 <fleisher@mind.net>
System Administrator     
InfoStructure            
Ashland, Oregon          
Voice: (541)488-1962  Fax: (541)488-7599                     
-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2.2.32.19961001234349.00a05944>