LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 09-14-2004, 08:47 PM   #1
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 * U 0 0 0 eth0 * U 0 0 0 eth0 * U 0 0 0 lo
default 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


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

Rep: Reputation: 96

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

Old 12-06-2005, 05:08 PM   #3
Registered: Aug 2002
Posts: 13,318

Rep: Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092
Is your network really configured for 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?


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

All times are GMT -5. The time now is 08:18 AM.

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