mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* networking bug?
@ 2006-02-28 20:07 Jon DeVree
  2006-02-28 20:38 ` Bernd Eckenfels
  0 siblings, 1 reply; 2+ messages in thread
From: Jon DeVree @ 2006-02-28 20:07 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]

Is this desired (but odd) behavior or a bug?
The driver is 3c59x and the kernel is 2.6.13.2 if that is relevant.

eth0 has no information (the driver was just freshly loaded)

# ip route show table main dev eth0
# ip route show table local dev eth0

Bring it up with an address

# ifconfig eth0 1.2.3.4
# ip route show table main dev eth0
1.0.0.0/8  proto kernel  scope link  src 1.2.3.4 
# ip route show table local dev eth0
broadcast 1.0.0.0  proto kernel  scope link  src 1.2.3.4 
local 1.2.3.4  proto kernel  scope host  src 1.2.3.4 
broadcast 1.255.255.255  proto kernel  scope link  src 1.2.3.4

Turn it back off

# ifconfig eth0 down
# ping -c 1 1.2.3.4
PING 1.2.3.4 (1.2.3.4) 56(84) bytes of data.
64 bytes from 1.2.3.4: icmp_seq=1 ttl=64 time=0.091 ms

--- 1.2.3.4 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.091/0.091/0.091/0.000 ms

The address is still pingable

# ip route show table main dev eth0
# ip route show table local dev eth0
local 1.2.3.4  proto kernel  scope host  src 1.2.3.4

The routing table entry was left behind.

I've had some great paranoid moments with SSH host-key errors thanks to
this quirk.
-- 
Jon
"RISC architecture is gonna change everything." -Kate Libby

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: networking bug?
  2006-02-28 20:07 networking bug? Jon DeVree
@ 2006-02-28 20:38 ` Bernd Eckenfels
  0 siblings, 0 replies; 2+ messages in thread
From: Bernd Eckenfels @ 2006-02-28 20:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: 325229

Jon DeVree <jadevree@mtu.edu> wrote:
> The address is still pingable

See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325229

Gruss
Bernd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-28 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-28 20:07 networking bug? Jon DeVree
2006-02-28 20:38 ` Bernd Eckenfels

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®