From owner-freebsd-questions Sun May 5 12:01:15 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA02552 for questions-outgoing; Sun, 5 May 1996 12:01:15 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id MAA02526 for ; Sun, 5 May 1996 12:01:09 -0700 (PDT) Received: from palmer.demon.co.uk (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-1) with ESMTP id UAA12457 ; Sun, 5 May 1996 20:00:52 +0100 (BST) To: Craig Shrimpton cc: questions@FreeBSD.ORG From: "Gary Palmer" Subject: Re: Why must I ifconfig my virtual hosts twice? In-reply-to: Your message of "Sun, 05 May 1996 14:27:38 EDT." Date: Sun, 05 May 1996 20:00:52 +0100 Message-ID: <12455.831322852@palmer.demon.co.uk> Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Craig Shrimpton wrote in message ID : > First, thanks to everyone that replied. I tried using 0xffffffff and it > works without complaint but if I use 255.255.255.255 netmask a traceroute to > the virtual domain will fail. The traceroute will time-out at the last hop > before the virtual host machine. > Is there a way to fix that? I would like traceroutes to work. Obviously > they are not necessary for a successful implementation but they are > important nonetheless. root@thud:~> uname -r 2.2-CURRENT root@thud:~> ifconfig -a ed0: flags=8843 mtu 1500 inet 204.216.27.13 netmask 0xfffffff0 broadcast 204.216.27.15 inet 204.216.27.8 netmask 0xffffffff broadcast 204.216.27.8 ether 00:00:c0:fd:ce:44 (the .8 is the alias address) root@palmer:~> traceroute 204.216.27.8 traceroute to 204.216.27.8 (204.216.27.8), 30 hops max, 40 byte packets [...] 11 T1-CDROM-00-EX.US.CRL.NET (165.113.118.2) 527.870 ms 464.640 ms 459.004 ms 12 * 204.216.27.8 (204.216.27.8) 469.606 ms * root@palmer:~> traceroute 204.216.27.13 traceroute to 204.216.27.13 (204.216.27.13), 30 hops max, 40 byte packets [...] 11 T1-CDROM-00-EX.US.CRL.NET (165.113.118.2) 447.766 ms 564.703 ms 528.755 ms 12 thud.FreeBSD.ORG (204.216.27.13) 447.888 ms 427.158 ms 478.726 ms Seems to work for me ... unfortunately the only 2.1 box I can try it on is my own and I don't have a subnet for it, just a single IP which is routed to by my ISP, so I can't test it here :-( Is this a 2.1 problem? Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD - Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info.