Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 1999 12:53:10 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Ken Lui <klui@cup.hp.com>
Cc:        cjclark@home.com, questions@FreeBSD.ORG
Subject:   Re: Question about arp entry in /var/log/messages
Message-ID:  <Pine.BSF.4.03.9906081252280.29439-100000@resnet.uoregon.edu>
In-Reply-To: <199906072039.NAA18344@cup44ux.cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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