|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
dhclient(8) supersedes
I've got a number of supersede lines in dhclient.conf(5), but some of them are not showing up in the lease file.
/etc/dhclient.conf: Code:
interface "em0" { supersede domain-name-servers 10.0.0.1; supersede host-name "myhostname"; supersede domain-name "example.com"; } Code:
lease { <snip> option domain-name-servers 1.2.3.4,5.6.7.8; option host-name "theirhostname"; option domain-name "isp.com"; <snip> } |
|
|||
Quote:
No, running it in the foreground just gives some basic responses: Code:
em0: DHCPREQUEST to 255.255.255.255 em0: DHCPACK from 1.2.3.4 (00:01:23:45:67:89) em0: bound to 1.2.3.200 from 1.2.3.4 (00:01:23:45:67:89) em0 [priv]: add route 0.0.0.0/0.0.0.0 via 1.2.3.1: File exists |
|
|||
hostname(1) and resolv.conf(5) are both correct, so I guess things truly are working as expected. I guess I was just thrown by the contents of the lease file.
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenBSD New OpenBSD dhclient(8) | J65nko | News | 1 | 7th May 2013 09:41 PM |
dhclient configuration ? | wlm2 | OpenBSD General | 5 | 25th August 2011 02:34 PM |
dhclient -> urtw0: no link ....... sleeping | rma | OpenBSD Installation and Upgrading | 10 | 20th August 2010 03:25 AM |
CARP interface with DHClient | xinform3n | OpenBSD General | 5 | 22nd July 2009 12:41 PM |
dhclient at startup | bsdnewbie999 | OpenBSD General | 3 | 31st March 2009 03:55 AM |