From owner-freebsd-questions Tue Jun 8 13: 0:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 0CC1E14FB3 for ; Tue, 8 Jun 1999 13:00:50 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id MAA27060; Tue, 8 Jun 1999 12:53:12 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 8 Jun 1999 12:53:10 -0700 (PDT) From: Doug White To: Ken Lui Cc: cjclark@home.com, questions@FreeBSD.ORG Subject: Re: Question about arp entry in /var/log/messages In-Reply-To: <199906072039.NAA18344@cup44ux.cup.hp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 7 Jun 1999, Ken Lui wrote: > >From cjc@cc942873-a.ewndsr1.nj.home.com Mon Jun 7 11:23:23 PDT 1999 > > > FYI, the configuration I used was: > > > ifconfig_ed1="inet 15.75.136.174 netmask 255.255.248.0" > > > ifconfig_ed1_alias0="inet 10.0.0.1 netmask 255.255.255.255" > > ^^^^^^^^^^^^^^^ > > > > This netmask is telling the machine that it is the only host that is > > reachable on this net. To talk to 10.0.0.4, you'd need to losen up > > that last byte to at least 248, but since it is a 10-net, might as > > well use 255.255.255.0 or, heck, treat it like the class A adress it > > is, 255.0.0.0. > > I'll try this. Thanks again. Looking at the FAQ, I thought in order > to get aliasing working, one needed to have a netmask of all 1s. In the conventional sense, i.e. the newly added alias is in the same network as the primary interface IP. When you're running multiple IP networks on the same wire. though, you must specify the correct netmask. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message