netdev
[Top] [All Lists]

"ip": listing of proxy ARP entries?

To: netdev@xxxxxxxxxxx
Subject: "ip": listing of proxy ARP entries?
From: Lutz Pressler <Lutz.Pressler@xxxxxxxxx>
Date: Sun, 9 Sep 2001 11:45:45 +0200 (MEST)
Organization: Service Network GmbH, Goettingen, Germany
Sender: owner-netdev@xxxxxxxxxxx
Hello,

I am not able to get information about manually set proxy ARP entries
with the "ip" tool (iproute2-ss010824), tested on both 2.2.19 and
2.4.8-ac7 kernels.

# ip neigh add proxy 172.20.1.1 dev eth0

The "arp" tool then yields (normal entries trimmed)
# arp -n
Address              HWtype  HWaddress           Flags Mask        Iface
192.168.1.254        ether   00:80:C8:F6:47:6F   C                 eth0
172.20.1.1           *       *                   MP                eth0

but "ip" only shows
# ip neigh show
192.168.1.254 dev eth0 lladdr 00:80:c8:f6:47:6f nud reachable

Is this expected behaviour or a (kernel) bug?

Trying different "nud" options does not help.
Inserting debugging code at the beginning of print_neigh in
iproute2/ip/ipneigh.c shows that no data is sent through the netlink
socket for proxy ARP entries.

Greetings,
  Lutz


-- 
  _              |  Lutz Pressler          |  Tel: ++49-551-3700002
 |_     |\ |     |  Service Network GmbH   |  FAX: ++49-551-3700009
 ._|ER  | \|ET   |  Bahnhofsallee 1b       |   mailto:lp@xxxxxxxxx
Service Network  |  D-37081 Goettingen     |  http://www.SerNet.DE/


<Prev in Thread] Current Thread [Next in Thread>