mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rajasekhar Inguva" <irajasek@in.ibm.com>
To: linux-kernel@vger.kernel.org
Subject: Routing table problems
Date: Sat, 29 Dec 2001 17:17:48 +0530	[thread overview]
Message-ID: <OF8DFA00F6.3DAC22D2-ON65256B31.003CB38A@in.ibm.com> (raw)

Hi All,

I am facing a problem ( ???, maybe it works that way, but i really dont
know ) with regards to routing table behavior when using ifconfig on a
network interface.

1) netstat -nr      Shows my default gateway for network 0.0.0.0

2) ifconfig eth0 down

3) netstat -nr      No entry for the default gateway is shown (
understandable )

4) ifconfig eth0 up

After the the 4'th command, my interface is up and has it's IP address set
correctly. But .....

netstat -nr  does not show my default gateway for network 0.0.0.0 !!.
Pinging any IP outside of my subnet, results in "Network is unreachable"
error.

Is is meant to be that way ? or is there a problem here ?

I've tried it on kernel versions, 2.4.0, 2.4.5 & 2.4.15

FYI : This has been tried using both DHCP and Static IP.

Thanks in advance !

Regards,

Raj



             reply	other threads:[~2001-11-29 11:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-29 11:47 Rajasekhar Inguva [this message]
2001-11-29 18:57 ` Catalin Marinas
2001-11-30 15:46 ` Dipak
  -- strict thread matches above, loose matches on Subject: below --
2001-12-29 12:14 Rajasekhar Inguva
2001-11-29 16:40 ` Doug McNaught
2001-11-29 18:37   ` Madhav Diwan
     [not found] <3C069135.6AC55FD8@wanadoo.fr>
2001-11-29 22:37 ` Catalin Marinas

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=OF8DFA00F6.3DAC22D2-ON65256B31.003CB38A@in.ibm.com \
    --to=irajasek@in.ibm.com \
    --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®