LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-30-2004, 06:02 AM   #1
virendratp
LQ Newbie
 
Registered: Jul 2004
Posts: 20

Rep: Reputation: 0
dhclient - routing tables truncated.


Hi,
I have 3 cards on my computer and I am connected through one of them through internet. I am trying to test whether I can run dhcpd and dhclient on them.

dhcpd server is running on eth0.

This is my initial routing table.
Destination Gateway Genmask Flags MSS Window irtt Iface
x.x.x.0 * 255.255.255.0 U 0 0 0 eth0
x.x.0.0 * 255.255.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default x.x.x.x 0.0.0.0 UG 0 0 0 eth0

But after I run dhclient eth1, my table changes its default and everything.
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
x.x.x.0 * 255.255.255.0 U 0 0 0 eth1
x.x.x.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default x.x.x.x 0.0.0.0 UG 0 0 0 eth1

but the ip address is assigned properly.

But when i do dhclient eth2, the routing table remains same and it shows the eth2 is up but no ip address is assigned. Also, the client gives an message:
SIOCADDRT: File exists.

And if I remove the two new devices added, the routing table is truncated to just two entries.

I want to know why the ip address is not assigned to the second device and why my routing table is all messed up. Any help would be appreciated.

Thanks,
Virendra.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
routing tables props666999 Linux - Networking 1 10-14-2005 08:27 PM
Routing tables TPB Linux - Networking 3 07-27-2005 09:01 PM
IP Routing Tables collern2 Linux - Security 1 05-23-2005 10:48 AM
routing tables help hadoque Linux - Networking 0 08-28-2004 09:10 AM
routing tables dunkyb Linux - Networking 3 05-25-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration