View previous topic :: View next topic |
Author |
Message |
furanku l33t
Joined: 08 May 2003 Posts: 905 Location: Hamburg, Germany
|
Posted: Sun Aug 03, 2008 1:06 pm Post subject: Client gets wrong IP since dhcpcd 4.0.0 [SOLVED] |
|
|
Hi,
I've set up my netgear router to assign IP 192.168.0.2 to my gentoo client by configuring this IP for the given MAC. Since dhcpcd 4.0.0 this doen't work anymore, the client gets other IPs like 192.168.0.4 assigned, which are from the IP range that I configured for dynamically IP assigment. I can see in the routers adminstration web interface that the correct MAC address is sent to the router.
Here's my /etc/conf.d/net
Code: | config_eth0=("dhcp")
dhcpcd_eth0="-I ''"
dhcp_eth0="nodns nontp nonis"
|
Last edited by furanku on Mon Aug 04, 2008 9:50 am; edited 1 time in total |
|
Back to top |
|
|
flybynite l33t
Joined: 06 Dec 2002 Posts: 620
|
Posted: Mon Aug 04, 2008 1:47 am Post subject: |
|
|
I had a similar problem a while ago and the easiest fix for me was to stick with version 3.1.5-r1. I understand there were some changes after that that made it follow the newest "standard" more closely but broke with some older servers.
You question made me look at this again and it seems the -r option may be needed on the newer versions.
Quote: | dhcpcd is an implementation of the DHCP client specified in RFC2131 (when -r option is not specified) and RFC1541 (when -r option is specified). |
Try adding the -r option and see if it fixes it for you |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
furanku l33t
Joined: 08 May 2003 Posts: 905 Location: Hamburg, Germany
|
Posted: Mon Aug 04, 2008 9:49 am Post subject: |
|
|
Thanks UberLord, removing /etc/dhcpcd.duid and the -I config option solved the problem! |
|
Back to top |
|
|
|