Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 1996 20:00:52 +0100
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        Craig Shrimpton <craigs@venus.os.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Why must I ifconfig my virtual hosts twice? 
Message-ID:  <12455.831322852@palmer.demon.co.uk>
In-Reply-To: Your message of "Sun, 05 May 1996 14:27:38 EDT." <Pine.BSF.3.91.960505142106.13728A-100000@venus.os.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Craig Shrimpton wrote in message ID
<Pine.BSF.3.91.960505142106.13728A-100000@venus.os.com>:
> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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.



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