Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2007 12:51:28 -0300
From:      "Eduardo Meyer" <dudu.meyer@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   fxp(4) not responding to arp requests (aliases)
Message-ID:  <d3ea75b30707020851g60498fd1kdfa77efceb18df8a@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I have faced a problem with fxp(4) driver which never happened before,
in the same server, while I was using other device (rl(4)).

When a host who is talking to be deletes its arp entry which has my IP
address, communication goes down, and fxp2 never replies to arp
requests. Completly ignores arp, in fact.

If I use the "ifconfig arp <ip> netmask <mask>" command, it starts to
work again. If I cycle down/up (ifconfig fxp2 down && ifconfig fxp2
up) it starts working again too, but if I dont do this, it never works
and the other host never gets arp reply from my fxp2 interface.

I have 4 fxp(4) and one sk(4) in this server, it happens with all 4
fxp(4) devices, and doesnt happen with sk(4). I have noticed that
*only* alias entries has this problem.

How I repeat the problem:

On host2:

# arp -d 200.X.Y.5

On host1:

# tcpdump -n -v -i fxp2 arp
tcpdump: listening on fxp2, link-type EN10MB (Ethernet), capture size 96 bytes

And nothing happens.

On host1 I cycle fxp2 up/down:

# ifconfig fxp2 down && ifconfig fxp2 up

And on host1 immediately I see:

12:41:08.860484 arp who-has 200.X.Y.6 tell 200.X.Y.5
12:41:08.862898 arp reply 200.X.Y.6 is-at 00:11:d8:52:04:fb

And on host2 immediately I see

12:41:42.932590 arp who-has 200.X.Y.5 tell 200.X.Y.7
12:41:57.515735 arp reply 200.X.Y.5 is-at 00:50:8b:be:64:a4

If I `ifconfig fxp2 arp 200.X.Y.5 netmask 255.255.255.252` instead of
doing ifconfig down and up  on host1, everything works the same way.

Searching the lists, I saw Chris Boyd faced this same problem in the past:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-July/053689.html

Suggestions anyone? It is a 6.2-STABLE system, cvsuped a long time ago
(when 6.2 branch became unfrozen).

-- 
===========
Eduardo Meyer
pessoal: dudu.meyer@gmail.com
profissional: ddm.farmaciap@saude.gov.br



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