Re: linux does not response gratuitous arp request?
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: Sat, 31 Mar 2007 16:58:32 GMT
"Hans" <hansyin@xxxxxxxxx> writes:
I'm testing dhcp with conflict ip.
As my understanding, when dhcp server assign an IP to a windows
PC(pc1), pc1 will send out an gratuitous arp to confirm if there is
another PC using the IP. if another PC(linux,pc2) is using the IP,
then pc2 should send out an arp reply to claim it's using it, then pc1
will send out dhcp decline packet to dhcp server and request another
IP.
But, in my test, pc2 does not response the gratuitous arp request at
all, why? if PC2 is windows OS, it will response it. So, for the
linux case, IP address conflict problem will occur. Is this by
design? (if it is, how can we avoid the address conflict problem?)
The dhcp server is supposed to be keeping track of which addresses it has
assigned, and avoid the ones it has. And the other PCs are supposed to not
use the addresses that the dhcp is responsible for assigning. To have
people gratuitously assign IP addresses as they like is the recipie for
chaos. And simply sending out arp requests is not a solution, since the
person could assign an IP address already in use.
another problem is : when a linux PC was assigned a new ip, it will
just use it anyway, without sending gratuitous arp to check if there
is a conflict, but windows PC will.
Why does the linux and windows behave different so much?
They are different operating systems written by different people. Linux I
guess assumes some level of responsibility on the part of the people using
it. Maybe it should not.
Thanks
.
- References:
- Prev by Date: Re: PGP on Linux
- Next by Date: Re: Got linux to run
- Previous by thread: Re: linux does not response gratuitous arp request?
- Next by thread: Network configuration problem.
- Index(es):
Relevant Pages
|