Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2001 21:49:30 -0400 (EDT)
From:      Matthew Emmerton <matt@gsicomp.on.ca>
To:        Bryce Newall <data@dreamhaven.org>
Cc:        FreeBSD Questions List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Multiple aliases, can't ping each other
Message-ID:  <Pine.BSF.4.21.0108312148000.2321-100000@xena.gsicomp.on.ca>
In-Reply-To: <20010831180558.D525-100000@dreamhaven.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 31 Aug 2001, Bryce Newall wrote:

> Greetings all,
> 
> I'm writing on behalf of a friend of mine who has a FreeBSD box with 1
> ethernet interface, with 4 IP addresses attached to it.  In the list
> below, the first IP address is the machine's "primary" IP, and the other 3
> are aliases:
> 
> xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet xx.yy.17.211 netmask 0xfffffff8 broadcast xx.yy.17.215
>         inet xx.yy.17.210 netmask 0xfffffff8 broadcast xx.yy.17.215
>         inet xx.yy.17.212 netmask 0xfffffff8 broadcast xx.yy.17.215
>         inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
> 
> (I have blotted out the first 2 octets of the internet visible IP
> addresses for security reasons.)
> 
> The problem is that I cannot ping the .210 or .212 addresses from the
> local host, although I *can* ping 10.0.0.1.

Aliases on the same subnet as the "primary" IP for an interface *must*
have the all-one's netmaks (255.255.255.255), as outlined in ifconfig(8).

--
Matt Emmerton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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