From owner-freebsd-questions Sun Mar 10 20:31:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA24496 for questions-outgoing; Sun, 10 Mar 1996 20:31:35 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA24491 for ; Sun, 10 Mar 1996 20:31:32 -0800 (PST) Received: from mail.calweb.com (mail.calweb.com [165.90.138.20]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id UAA26601 for ; Sun, 10 Mar 1996 20:31:31 -0800 Received: from calweb.calweb.com (calweb.calweb.com [165.90.138.3]) by mail.calweb.com (8.7.3/8.7.3) with ESMTP id UAA10024; Sun, 10 Mar 1996 20:29:33 -0800 (PST) Received: from web1.calweb.com (rdugaue@web1.calweb.com [165.90.138.10]) by calweb.calweb.com (8.7.3/8.7.3) with SMTP id EAA15724; Mon, 11 Mar 1996 04:29:32 GMT Date: Sun, 10 Mar 1996 20:30:01 -0800 (PST) From: Robert Du Gaue To: Craig Shrimpton cc: questions@FreeBSD.ORG Subject: Re: Question about Virtual domains (ifconfig alias) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I can setup ifconfig aliases with: > > ifconfig de0 alias xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx > > and they seem to work fine with two exceptions. First, if I ping the > alias domain from the host machine I get dup pings and secondly I can't > traceroute to the domain from anywhere on the net. Is this normal > behaviour or do I need some additiona configuration? Apache seems > to work fine but the dup pings and the inability to traceroute seems > a little "rough" at the edges. > Hmmm. Doesn't act like that for us, we;re using Apache and doing pretty much the same thing. Have about 100 spoofed domains. We have an inhouse script to mass assign a block of spoofed domains, basically it executes the commands like this: /sbin/ifconfig de0 inet xxx.xxx.xxx.xxx alias yyy.yyy.yyy.yyy (x = host, y = netmask) And then : /sbin/route add -host xxx.xxx.xxx.xxx localhost Works fine for us!