From owner-freebsd-questions Sun May 5 07:13:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA18493 for questions-outgoing; Sun, 5 May 1996 07:13:37 -0700 (PDT) Received: from venus.os.com (venus.os.com [199.232.136.71]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA18487 for ; Sun, 5 May 1996 07:13:33 -0700 (PDT) Received: (from craigs@localhost) by venus.os.com (8.6.12/8.6.12) id KAA01472; Sun, 5 May 1996 10:17:24 -0400 Date: Sun, 5 May 1996 10:17:24 -0400 (EDT) From: Craig Shrimpton To: questions@freebsd.org Subject: Why must I ifconfig my virtual hosts twice? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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