[libdnet-devel] interface-bound ARP lookups?
Status: Abandoned
Brought to you by:
dugsong
|
From: Heiko W. <he...@or...> - 2009-05-19 16:15:21
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello List, i was trying to read my ARP-cache with arp_get() and stumbled upon a weird error: It's only possible to get the ethernet address from a corresponding ip, if it its linked to my first interface, eth0. First, i thought my code is buggy, but then i tested the same function with the test programm and got the same result. Here's the output: $ sudo dumbnet arp get 192.168.100.154 192.168.100.154 at 00:40:8c:68:20:3f $ sudo dumbnet arp get 192.168.200.40 dumbnet: arp_get: No such process $ arp Address HWtype HWaddress Flags Mask Iface 192.168.100.154 ether 00:40:8c:68:20:3f C eth0 192.168.200.40 ether 00:0a:27:de:b9:8a C eth3 Did i miss something? I work on a Ubuntu 9.04 System with Linux Kernel 2.6.28-11-generic and libdumbnet1 1.8-1.5 (?)(the source says 1.1.1.1). I should attach, that on current Ubuntu-systems libdnet ist called 'libdumbnet', etc. i hope somebody has an answer, because i see no real alternative for reading the cache.. best regards, Heiko Westermann -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoS1ucACgkQ6tEFoe4a4XjhiACgtjs04XLjJNYkw99XpEkQ2+WZ alQAn3CiBhNKc1RuEE++SN40sMVqYUjK =s6pc -----END PGP SIGNATURE----- |