lkml.org 
[lkml]   [1999]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Why no printk for duplicate IPs?
Date
Hello...

John Fulmer wrote:
>

<snip>

>
> The way I've seen this done (on BSDI boxen, I think) is that the system
> does an arp for it's own IP address before/as the interface is brought up.
> It it gets a response, it assumes that there is another box out there with
> the same IP address (not a BAD assumption).

This IIRC is a gratuitous arp. In the kernel source I have seen
references to it but I have never actually seen on used in a linux box.
I first noticed this when moving a virtual ip address from one machine
to another. No gratuitous arp. Then I also noticed the same behaviour
on the "main" nic ip address.


>
> BSDI is nice about this -- it complains about the duplicate IP address a
> few times to the system console, but it still configures the interface and
> goes on about its business. I've always liked the way BSDI does this, and
<snip>

Would this be the responsibiliy of the kernel in kernel space or
ifconfig in user space?

>
> jf
>

--

Christopher McCrory
Lead Bithead, Netus Inc.
chrismcc@netus.com
admin@netus.com

"Linux: Because rebooting is for adding new hardware"

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

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.050 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site