Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 1997 11:22:04 -0500 (CDT)
From:      Gary Clark II <gclarkii@main.gbdata.com>
To:        akl@wup.de, andreas@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: FreeBSD 2.2, ping to an ip alias for interface vx0 fails ...
Message-ID:  <199707231622.LAA00741@main.gbdata.com>
In-Reply-To: <19970723120431.25710@wup.de> from Andreas Klemm at "Jul 23, 97 12:04:31 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Klemm wrote:
> Hi !
> 
> Little trouble with our companies FreeBSD www server (2.2-STABLE
> from about 2 weeks ago).
> 
> Am about creating a virtual www server.
> 
> For this purpose I created an IP alias for the interface vx0
> 
> vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> 	inet 149.237.200.7 netmask 0xffffff00 broadcast 149.237.200.255
> 	inet 149.237.200.100 netmask 0xffffff00 broadcast 149.237.200.255
                                       ^^^^^^^^
Set this netmask to 255.255.255.255.  The config on a sub net gets the
standard netmask. All ifconfigs thereafter get all 1s...

> 	inet 149.237.31.7 netmask 0xffffff00 broadcast 149.237.31.255
> 	ether 00:60:97:17:3d:0e 
> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> 	inet 127.0.0.1 netmask 0xff000000 
> 
> As you can see, three IP aliases are bound to vx0.
> 
> And now comes a strange error. Only pings to 149.237.200.100
> fail !!! Is there a possible +-1 problem ??? 
> 
> Pings to 149.237.200.7 and 149.237.31.7 are always successfull.
> 
> Is maybe alias[0] not initialized ???
> 
> 	Andreas ///
> 

Gary
-- 
Gary Clark II   (N5VMF) |    I speak only for myself and "maybe" my company 
gclarkii@GBData.COM     |          Member of the FreeBSD Doc Team 
  Providing Internet and ISP startups - http://WWW.GBData.com for information
       FreeBSD FAQ at ftp://ftp.FreeBSD.ORG/pub/FreeBSD/docs/FAQ.latin1 



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