Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 1999 15:56:55 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Ken Lui <klui@cup.hp.com>
Cc:        questions@FreeBSD.ORG, Ken Lui <klui@cup44ux.cup.hp.com>
Subject:   Re: Question about arp entry in /var/log/messages
Message-ID:  <Pine.BSF.4.03.9905281552130.11808-100000@resnet.uoregon.edu>
In-Reply-To: <199905280951.CAA01539@cup44ux.cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 May 1999, Ken Lui wrote:

> I have an ISDN router that's on net 15 (15.75.136.169 with netmask
> 255.255.248.0) which I use to communicate to the "outside" world.
> I also have a bunch of machines that I don't want to be on net 15
> but rather on net 10. Although I haven't had IP masquerading set
> up yet, I wish to have some of these net 10 machines be able to
> access net 15 through my FreeBSD box.

Typical setup.

> [isdn]
>   |___10bT___[hub]
>                |___10b2___[Mac]___10b2___[FreeBSD w/ 2 ethernet cards]
>                |
>                |___10b2___[NeXT]___10b2___[NeXT]

You have a 10b2 hub?  Icky.

> My limited understanding is when I was running Linux, I just set up
> my box so that one of its ethernet cards is on net 10 while the other
> is on net 15 and I can just set up the routes and be done with it.
> It has worked fairly well. On FreeBSD it also works but I get entries
> such as the following in /var/log/messages:
> 
> May 28 02:25:37 black /kernel: arp: 15.75.136.169 is on ed1 but got reply
>    from 00:40:f9:13:69:d5 on ed2

This could mean multiple things:

1.  Your arp cache is a bit stale.  It might clear in an hour or so.
2.  Your IP addresses and netmasks are set incorrectly.
3.  Some machine on the 10.X network still thinks it's on the 15.X
network.

> 
> Reading some entries in dejanews, should I have the following physical
> network topology?
> 
> [isdn]
>   |___10bT___[hub]
>                |___10b2___[FreeBSD ethernet card 1] (net 15)
>                           [FreeBSD ethernet card 2] (net 10)
>                              |___10b2___[Mac]___10b2___[NeXT]___10b2___[NeXT]

You don't have a Ether card in the FreeBSD box with a UTP port?  They're
like $20 now.

> Essentially, have separate wires connecting net 10 systems vs. net 15
> machines. Problem is my Mac can be multihomed so one ethernet interface
> can be net 15 and net 10--i.e. works fine now. Are these messages benign
> for my setup or does it indicate a more serious problem?

There's an addressing problem most likely.  Whoever 00:40:f9:13:69:d5 is
you need to go kick it.  I don't know my OIDs or I could identify it.

> What's the proper way to do what I want? Searching the FreeBSD mailing
> list didn't turn up references I need. And unfortunately there are
> no FreeBSD how-tos.

Well, there is, it's just one big doc:  http://www.freebsd.org/handbook

> 
> rc.conf's network section
> =========================
> hostname="black.tmpest1.org"
> gateway_enable="YES"
> ifconfig_ed1="inet 15.75.136.174  netmask 255.255.248.0"
> ifconfig_ed2="inet 10.0.0.1  netmask 255.255.255.0"
> network_interfaces="ed2 ed1 lo0"
> defaultrouter="10.0.0.1"  

This is wrong, this should point to your upstream provider (15.75.136.169
most likely).  If so take out the next two lines.

> static_routes="hp"
> route_hp="-net 15.0.0.0 15.75.136.169"

> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif Expire
> default            10.0.0.1           UGSc        0        0      ed2

You'll never go anywhere with this here.

> 10/24              link#2             UC          0        0      ed2
> 10.0.0.1           0:80:c8:fd:88:d    UHLW        1        4      lo0
> 15                 15.75.136.169      UGSc        7        6      ed1
> 15.75.136/21       link#1             UC          0        0      ed1
> 15.75.136.169      0:40:f9:13:69:d5   UHLW        7       27      ed1    932
> 127.0.0.1          127.0.0.1          UH          1        6      lo0

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.9905281552130.11808-100000>