Networking Forums

Networking Forums > Computer Networking > Linux Networking > no default gateway set by dhclient

Reply
Thread Tools Display Modes

no default gateway set by dhclient

 
 
Bob Tennent
Guest
Posts: n/a

 
      11-17-2008, 04:46 PM
When I connect using dhcp, I'm not getting a default route set, though
the DNS servers are being set. If I add a default route by hand
everything is fine. Why would this not get set automatically?

I'm running dhclient-3.0.5 on a centos 5.2 system.

Bob T.
 
Reply With Quote
 
 
 
 
Bob Tennent
Guest
Posts: n/a

 
      11-17-2008, 06:08 PM
On 17 Nov 2008 17:46:34 GMT, Bob Tennent wrote:
> When I connect using dhcp, I'm not getting a default route set, though
> the DNS servers are being set. If I add a default route by hand
> everything is fine. Why would this not get set automatically?


For the record: the solution is to use separate profiles so that the
gateways set for static connections do not interfere with the use of
dynamic gateways.

Bob T.
 
Reply With Quote
 
Mark Hobley
Guest
Posts: n/a

 
      11-17-2008, 11:08 PM
Bob Tennent <(E-Mail Removed)> wrote:
> When I connect using dhcp, I'm not getting a default route set, though
> the DNS servers are being set.


Have you got more than one gateway? Is the dhcp server also the gateway?
Is the dhcp server configured to issue default gateway information via
"option routers"?

Regards,

Mark.

--
Mark Hobley
Linux User: #370818 http://markhobley.yi.org/

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two default gateway's Chad Guiney Windows Networking 7 10-31-2007 12:07 AM
Can't get default gateway BGreen Windows Networking 2 09-13-2005 05:57 PM
Default gateway Maciek Windows Networking 2 08-08-2005 04:13 AM
Linux: Default gateway fails, must use local IP for default gw instead John Sasso Wireless Internet 2 07-08-2004 08:30 AM
default gateway Misty Windows Networking 0 07-03-2003 06:51 PM



1 2 3 4 5 6 7 8 9 10 11