mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jon DeVree <jadevree@mtu.edu>
To: linux-kernel@vger.kernel.org
Subject: networking bug?
Date: Tue, 28 Feb 2006 15:07:36 -0500	[thread overview]
Message-ID: <20060228200736.GA23000@junkers.homelinux.net> (raw)

[-- 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 --]

             reply	other threads:[~2006-02-28 20:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-28 20:07 Jon DeVree [this message]
2006-02-28 20:38 ` Bernd Eckenfels

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060228200736.GA23000@junkers.homelinux.net \
    --to=jadevree@mtu.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®