Re: linux does not response gratuitous arp request?



"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

.



Relevant Pages

  • linux does not response gratuitous arp request?
    ... I'm testing dhcp with conflict ip. ... when dhcp server assign an IP to a windows ... But, in my test, pc2 does not response the gratuitous arp request at ...
    (comp.os.linux.misc)
  • Re: linux does not response gratuitous arp request?
    ... when dhcp server assign an IP to a windows ... pc1 will send out an gratuitous arp to confirm if there is ... But, in my test, pc2 does not response the gratuitous arp request at ...
    (comp.os.linux.misc)
  • Re: Can ping out, but cant be pinged
    ... The computer can be seen in Windows Explorer ... LSP / Winsock corruption is another good possibility. ... The problem came up when I used Norton Ghost to move the contents of a hard ... choices are outside the scope of the DHCP server? ...
    (microsoft.public.windowsxp.network_web)
  • Re: Changing DHCP Ranges
    ... >ranges for the DHCP server under Internet Connection Sharing through a series ... Is there a similar way to do this for Windows XP? ... It will disable the host's DHCP server, ...
    (microsoft.public.windowsxp.network_web)
  • DHCP Broken!
    ... NIC, running Windows XP SP1) ... Windows 2000 DHCP Server - essentially out of the box implementation, ... What we see with Ghost console sessions in this particular lab (and 2 ... The clients report not being able to find the DHCP server. ...
    (microsoft.public.win2000.networking)