Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 1996 09:49:56 -0500
From:      Mike Kercher <flaq@synwork.com>
To:        Craig Shrimpton <craigs@venus.os.com>
Cc:        <questions@freebsd.org>
Subject:   RE: Why must I ifconfig my virtual hosts twice?
Message-ID:  <XFMail.960505094955.flaq@synwork.com>
In-Reply-To: <Pine.BSF.3.91.960505101451.1257A-100000@venus.os.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Try using a netmask of 0xffffffff or 255.255.255.255

Mike


On Sun May  5 15:17:24 1996 Craig Shrimpton wrote:
>>Folks,
>
>I'm having some odd behaviour with virtual domains.  It is probably due 
>to having them on a 0xfffffff0 subnet.
>
>The following method seems to work for me but I have to ifconfig each 
>virtual domain twice to get it to work.  The first domain I add works fine, 
>the second gives me an ifconfig: ioctl (SIOCAIFADDR): File exists.
>
>Here is the output:
>
>ifconfig de0 inet 199.xxx.xxx.73 alias
>route add -host 199.xxx.xxx..73 127.0.0.1
>ifconfig de0 inet 199.xxx.xxx.74 alias
>ifconfig: ioctl (SIOCAIFADDR): File exists
>ifconfig de0 inet 199.xxx.xxx.74 alias
>route add -host 199.xxx.xxx.74 127.0.0.1
>
>Each interface after the second must be ifconfiged twice to get it to work.
>
>Any ideas?
>
>Thanks,
>
>-Craig
>






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