Re: Is Linux 2.2+ proxy ARP broken?

From: Frank van Maarseveen (F.vanMaarseveen@inter.NL.net)
Date: Thu Apr 06 2000 - 17:18:32 EST


On Thu, Apr 06, 2000 at 04:35:05PM -0400, Ion Badulescu wrote:
> In article <cs.lists.linux-kernel/al87leb9l5f.fsf@sirppi.helsinki.fi> you wrote:
>
> > Standard *bsd behavior (which works (at least) on {Net,Open}BSD and certain
> > commercial *NIXes):
> >
> > arp -s <ip> <ether_addr> pub
> It's not supported
I very much doubt this for several reasons. Consider also this (on RH 6.1+2.2.14):

iapetus ~# arp -a
iapetus ~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:04:21:99:04
          inet addr:192.168.0.39 Bcast:192.168.0.255 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0x300

iapetus ~# arp -s 192.168.0.111 11:22:33:44:55:66
iapetus ~# cat /proc/net/arp
IP address HW type Flags HW address Mask Device
192.168.0.111 0x1 0x6 11:22:33:44:55:66 * eth0
iapetus ~# arp -a
? (192.168.0.111) at 11:22:33:44:55:66 [ether] PERM on eth0

-- 
Frank

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:17 EST