Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 1999 16:19:05 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        John F Cuzzola <vdrifter@ocis.ocis.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: arp
Message-ID:  <Pine.BSF.4.10.9908091618280.1164-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.LNX.3.96.990806123943.14683A-100000@ocis.ocis.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Aug 1999, John F Cuzzola wrote:

> 
> Hi there, quick question. A have a FreeBSD version 3.1 box with 3 network
> cards. In linux when doing an arp -a it distinguishes ip, hardware address
> and interface like this:
> dial-84.ocis.net (209.52.173.216) at 00:C0:05:04:16:1A [ether] on eth0
> 
> but on a FreeBSD system it doesn't seem to distinguish what interface only
> ip,and hardware address like this:
> 	gateway2.ocis.net (209.52.174.254) at 0:10:7b:ba:f0:61
> 
> Does freebsd seperate arp entries by interface like linux? The reason I'm
> asking is (i think) in linux you can have an arp entry for the same
> ip-address but on different interfaces like this:
> dial-84.ocis.net (209.52.173.216) at 00:C0:05:04:16:1A [ether] on eth0
> dial-84.ocis.net (209.52.173.216) at xx:xx:xx:xx:xx:xx [ether] on eth1

> This is useful for proxy arping two networks together and making it appear
> as one network. (Without using natd or bridge). Can this be done with
> FreeBSD?

That seems redundant.

But check 'netstat -rn' and you should see the ARP mapping in there for
the appropriate interface.

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