Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th September 2008
WeakSauceIII WeakSauceIII is offline
Port Guard
Join Date: May 2008
Posts: 36
Default DHCP Server

I'm using 4.3. I have this working many times over in different places but I just set it up again at home. My laptop gets an IP address from the server during boot but it does not add the router/default gateway to the routing table. If I let the laptop boot and then manually run dhclient again after I login, it works. I checked the dhclient.conf on the laptop and it is set to get the router info along with everything else. Any ideas as to why that gateway would not be set during the boot dhcp process?
Reply With Quote
  #2   (View Single Post)  
Old 25th September 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 6,376

Without more information, I can only guess a misconfigured /etc/hostname.<interface> file.

Here is the applicable code from the 4.3-release version of /etc/netstart:
            [ "$name" = "NONE" ] && name=
            [ "$mask" = "NONE" ] && mask=
            [ "$bcaddr" = "NONE" ] && bcaddr=
            cmd="ifconfig $if $name $mask $bcaddr $ext1 $ext2 down"
            cmd="$cmd;dhclient $if"
Reply With Quote

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP Cable Connection Fail fmgil OpenBSD General 4 1st September 2009 05:18 PM
W2K DHCP Issue DrJ Other OS 4 25th May 2009 07:19 PM
problem on my end or someone leaking dhcp? Calderon FreeBSD Security 4 24th February 2009 12:31 PM
obtain 2 ips via dhcp dextro FreeBSD General 2 6th February 2009 04:56 AM
Obtaining multiple IPs from ISP via DHCP dextro General software and network 15 9th January 2009 02:36 AM

All times are GMT. The time now is 06:49 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick