LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 09-14-2004, 09:47 PM   #1
chiefdan
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
DHCP default route attached to loopback interface


I have been experiencing problems with both Redhat 9.0 and Fedora Core 2 users in that when they get their IP address via DHCP the default route is attached to the loopback interface "lo"

[root@localhost root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
169.254.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 169.254.60.2 0.0.0.0 UG 0 0 0 lo

I have tried editing modprobe.conf as root

"alias net-pf-10 off"

but this doesn't fix it after the reboot, it goed back to the default at lo

The following is the network interface:
eth0: Intel(R) PRO/1000 Network Connection


HELP

Dan
 
Old 12-06-2005, 05:00 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

The behaviour of RedHat's dhclient is correct - the default route shouldn't be set be the dhclient script. You'll have to run
Code:
route add default eth0
after dhclient is run.

Dave
 
Old 12-06-2005, 06:08 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,170

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Is your network really configured for 169.254.xxx.xxx? Many clients automatically assign an IP address in this range when a DHCP server is not present.

Are you using a hardware router or a router configured PC?
What is the setup of your LAN?
 
  


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
Not getting a default route from DHCP BadTA Linux - Wireless Networking 16 12-02-2005 03:56 AM
Using loopback interface... ozymandias Linux - Newbie 2 10-28-2005 02:37 PM
Loopback Interface in a router theneb Linux - Networking 1 01-16-2005 03:03 AM
dhcp w/ comcast not setting default route pengcow Linux - Networking 0 05-25-2004 12:16 PM
Bringing up loopback interface pollycat Linux - Networking 49 09-07-2003 03:07 PM


All times are GMT -5. The time now is 12:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration