Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 1998 00:06:08 +0300
From:      "Dmitry Eremin" <dmiter@sci-nnov.ru>
To:        "Bill Fenner" <fenner@parc.xerox.com>
Cc:        <freebsd-current@FreeBSD.ORG>, <freebsd-bugs@FreeBSD.ORG>
Subject:   Re: /kernel: arp: 192.168.1.188 is on de1 but got reply from 00:c0:4f:a4:81:2d on de0 
Message-ID:  <001a01be09c9$510c0010$0200000a@winhome.sci-nnov.ru>

next in thread | raw e-mail | index | archive | help
>Did the message get printed during your tcpdump, or was the tcpdump taken
>at a different time?  Could you try to replicate this with both tcpdumps
>running at the same time (on different screens to not intersperse the
>output) and include the timestamps?

Both tcpdump runing in same time in defferent window.

$ tcpdump -tvvi de1 arp

22:55:35.096038 arp who-has 192.168.1.205 tell 192.168.1.48
22:55:35.096517 arp reply 192.168.1.205 is-at 0:10:4b:35:60:6c

$ tcpdump -tvvi de0 arp

22:55:35.096107 arp who-has 192.168.1.205 tell 192.168.1.48

>Does the ARP entry get installed correctly?  i.e.
>1) Does "arp 192.168.1.188" show the right MAC address?

# arp 192.168.1.205
192.168.1.205 (192.168.1.205) -- no entry

>2) Does "route get 192.168.1.188" list the correct interface?

# route get 192.168.1.205
   route to: 192.168.1.205
destination: 192.168.1.0
       mask: 255.255.255.0
  interface: de1
      flags: <UP,DONE,CLONING>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu
expire
       0         0         0         0         0         0
  1500    -24616

>Do you have any idea why the ARP request shows up on both interfaces?

I don't known hay this happening. This system has working as router.
May be it is forwarding?

sysctl say:
[...skip...]
net.inet.ip.forwarding: 1
net.inet.ip.redirect: 1
net.inet.ip.ttl: 64
net.inet.ip.sourceroute: 0
[...skip...]
net.link.ether.inet.prune_intvl: 300
net.link.ether.inet.max_age: 1200
net.link.ether.inet.host_down_time: 20
net.link.ether.inet.maxtries: 5
net.link.ether.inet.useloopback: 1
net.link.ether.inet.proxyall: 0
[...skip...]

>FreeBSD doesn't send ARP requests out multiple interfaces, so perhaps
>you have something funny going on at layer 2 (e.g. shared hub between
>the two different networks, or a broken switch)?

NO. We have't any devices between these networks.

de0: flags=88c3<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet xx.xx.xx.xx netmask 0xfffffffc broadcast xx.xx.xx.xx
                 ^^^^^^^^^^^^^^^^^^
In the net de0 we have only TWO address. One have my FreeBSD computer and
second have Internet router!!!!

I want to attract you attention on my Ethernet cards. This is identical
card.

de0: <Digital 21140 Fast Ethernet> rev 0x12 int a irq 11 on pci0.12.0
de0: SMC 9332DST 21140 [10-100Mb/s] pass 1.2
de0: address 00:00:c0:b2:9f:d0
de0: enabling 10baseT port
de1: <Digital 21140 Fast Ethernet> rev 0x12 int a irq 10 on pci0.13.0
de1: SMC 9332DST 21140 [10-100Mb/s] pass 1.2
de1: address 00:00:c0:b8:a1:d0
de1: enabling 10baseT port

I think kernel doesn't correct work in this case.

Best regards, Dmitry.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a01be09c9$510c0010$0200000a>