From owner-freebsd-hackers Wed Jul 25 20:13:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from server.soekris.com (soekris.com [216.15.61.44]) by hub.freebsd.org (Postfix) with ESMTP id 0112337B403 for ; Wed, 25 Jul 2001 20:13:36 -0700 (PDT) (envelope-from soren@soekris.com) Received: from soekris.com (soren.soekris.com [192.168.1.4]) by server.soekris.com (8.9.2/8.9.2) with ESMTP id UAA52612 for ; Wed, 25 Jul 2001 20:13:57 -0700 (PDT) (envelope-from soren@soekris.com) Message-ID: <3B5F8ADE.E75281E6@soekris.com> Date: Wed, 25 Jul 2001 20:13:34 -0700 From: Soren Kristensen Organization: Soekris Engineering X-Mailer: Mozilla 4.77 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: ARP cache problems.... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm trying to do some testing on my boxes with 3 ethernet interface. But it seems like that FreeBSD gets very confused. Can somebody please tell me what's going and, and preferable, help me out ? I basically want to connect those 3 interface to the same hub, and then use them all from one win98 computer. I have tried before to give them IP's on the same subnet, and then move the cable around, but that gives me the same arp error message as below. The funny thing about that is that arp seems to ssave it on the disk somewhere, as it remember where it saw the MAC address even after reboots.... Anybody know where ?? So I figured I could give put them on different subnet, like this: ifconfig_sis0="inet 192.168.1.60 netmask 255.255.255.0" ifconfig_sis1="inet 192.168.2.60 netmask 255.255.255.0" ifconfig_sis2="inet 192.168.3.60 netmask 255.255.255.0" And then I configure my win98 testing machine with the same subnet, using aliases on one ethernet interface. (seems to work fine) When I ping from the win98 machine, the ping seems to work fine, but I get these messages on the FreeBSD box: Jul 25 19:56:40 test256m /kernel: arp: 192.168.1.4 is on sis0 but got reply from 00:a0:cc:a0:d4:07 on sis1 When I then try to do a "arp -a", the arp program seems to hang for a very long time, until it finally show: ? (192.168.1.1) at 0:80:ad:81:fc:d4 [ethernet] ? (192.168.1.4) at 0:a0:cc:a0:d4:7 [ethernet] ? (192.168.2.1) at 0:a0:cc:a0:d4:7 [ethernet] When I do an arp-a on the win98 machine, it seems just fine: C:\>arp -a Interface: 192.168.2.1 on Interface 0x1000002 Internet Address Physical Address Type 192.168.2.60 00-00-24-c0-01-29 dynamic Interface: 192.168.1.4 on Interface 0x2000003 Internet Address Physical Address Type 192.168.1.1 00-80-ad-81-fc-d4 dynamic 192.168.1.60 00-00-24-c0-01-28 dynamic The FreeBSD box also hangs for a long time if I try to use the network interface, t.ex telnet to it. Is what I'm trying to do possible at all ? What's the magic trick ? Thanks, Soren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message