Re: Running Ethernet without ARP

From: linux-os
Date: Tue Nov 23 2004 - 20:04:36 EST


On Tue, 23 Nov 2004, Pedro Venda (SYSADM) wrote:

linux-os wrote:
On Tue, 23 Nov 2004, Karel Kulhavy wrote:

Hello

man netdevice says:
"IFF_NOARP No arp protocol, L2 deswtination address not set".
Is it possible to run ptp Ethernet link between two Linux routers this
way? I would like to run the link with two constraints:
1) no ARP protocol used
2) The link should continue to work even if root access to one computer is
inaccessible and the NIC in the other one is replaced without changing
it's MAC (for example because it doesn't support MAC change)

Cl<


ARP means address resolution protocol. That's how one machine
learns about the MAC (Hardware) address of another so it can
communicate with it. Without ARP, you need to send / receive
broadcast packets (Like M$ Netboius). This means that everything
is received by everyone on the LAN and needs to be dumped on
the floor by everybody except the intended target.

or somehow a static table can be built.
not sure what the point would be, but I cannot see anything that would make it impossible.

regards,
pedro venda.


Of course you could do the monkeys on the keyboard thing and
eventually have something that shows it's not impossible. The
problem is that an IP address needs to be associated with that
hardware address. ARP is fundamental for any peer-to-peer
communication on Ethernet. Its even used in DECNET and NETBIOS,
although called RIP.


Cheers,
Dick Johnson
Penguin : Linux version 2.6.9 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by John Ashcroft.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/