From owner-freebsd-questions Mon Aug 9 16:23:31 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 E6651152E5 for ; Mon, 9 Aug 1999 16:23:29 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id QAA98221; Mon, 9 Aug 1999 16:19:05 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 9 Aug 1999 16:19:05 -0700 (PDT) From: Doug White To: John F Cuzzola Cc: freebsd-questions@FreeBSD.ORG Subject: Re: arp In-Reply-To: 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 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