From owner-freebsd-net Wed Jul 5 8:26:43 2000 Delivered-To: freebsd-net@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id DD39537B806; Wed, 5 Jul 2000 08:26:36 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id LAA28965; Wed, 5 Jul 2000 11:26:13 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 5 Jul 2000 11:26:13 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Jason L. Schwab" Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Weird Networking.... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 3 Jul 2000, Jason L. Schwab wrote: > I have a machine running FreeBSD 3.5-STABLE, runs just awesome! It > has 18 IP Addresses binded to it. I can ping all 18 IP Addresses from any > where and I get replies, so they work just fine. Except! I can only ping > the first IP that I setup the machine with locally. > > I have nothing blocking anything (as in firewall rules) right now. What command are you using to add IP addresses? Specifically, are you setting a netmask on the ifconfig line, and if so, what is that netmask? Do you get any warnings on adding the IP address to the interface? The command I use to add aliases under 4.x is: ifconfig de0 inet add 204.156.12.59 netmask 255.255.255.255 Under 3.x, I believe you have to use "alias" instead of "add" as I'm not sure that change was backported: ifconfig de0 inet alias 204.156.12.59 netmask 255.255.255.255 Specifying a netmask of 255.255.255.255 allows a routing entry to be created; by default, the netmask will normally be 255.255.255.0, which will conflict with the routing entry for the base IP address on the device (if they are in the same network). Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message