Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 1996 12:32:33 +0200 (MET DST)
From:      Ulf Schmidt <slash@microtronic.de>
To:        Question freeBSD <questions@FreeBSD.ORG>
Subject:   virtual IPs - more specific question
Message-ID:  <Pine.BSF.3.95.960817122842.28911B-100000@elle.microtronic.de>

next in thread | raw e-mail | index | archive | help
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   <---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.960817122842.28911B-100000>