Re: PATCH: duplicate IP detection

Wakko Warner (wakko@animx.eu.org)
Fri, 15 Oct 1999 18:45:51 -0400


> > Is there a userland program that can see if the IP is in use or not? Be
> > nice to know if the IP is used before setting an IP on the nic.
>
> We discussed that last time, and I think it was Roger who proposed a patch
> to ifconfig so that it would send an ARP request first and complain if the
> IP you're trying to set is already used.
>
> We're left with the question as to whether ifconfig should by default
> complain but put the IP anyway, or refuse to put the IP unless you give it
> some --ignore-IP-conflict flag.
> That approach is not incompatible with the kernel patch, and I believe that
> both should be implemented.

IMO long options like this are annoying. I used to not think so until I had
to use a bunch of 15 char options on a commond once.

Maybe it could be an option (like promisc is an opt).

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

- 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/