Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2001 20:13:34 -0700
From:      Soren Kristensen <soren@soekris.com>
To:        hackers@FreeBSD.ORG
Subject:   ARP cache problems....
Message-ID:  <3B5F8ADE.E75281E6@soekris.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B5F8ADE.E75281E6>