Re: [opensuse-factory] 11.0 Beta3 gets different IP address from DHCP server
On Sunday 25 May 2008 21:07:03 Mark Gray wrote:
It appears that the DHCP client for 11.0 Beta3 consistently gets a different IP address than 10.2 does from the DHCP server in my DSL router. If this is not a bug, it might be well to mention this in the release notes, because I am probably not the only one who uses /etc/hosts to configure their local network. I hesitate to report this as a bug because there are easy enough ways around this -- just changing my /etc/hosts files being the easiest.
Do not use DHCP and fixed IP-Addresses if possible. This isn't a good mix. DHCP servers usually are able to assign fixed IPs based on the MAC address of the network card. But the ones in DSL router usually don't have this option. The easiest solution for a small home network would be to use DHCP and let it do the whole configuration for you. There should be no need to make changes in /etc/hosts. Cheers, Herbert --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sun, May 25, 2008 at 5:52 PM, Herbert Graeber
On Sunday 25 May 2008 21:07:03 Mark Gray wrote:
It appears that the DHCP client for 11.0 Beta3 consistently gets a different IP address than 10.2 does from the DHCP server in my DSL router. If this is not a bug, it might be well to mention this in the release notes, because I am probably not the only one who uses /etc/hosts to configure their local network. I hesitate to report this as a bug because there are easy enough ways around this -- just changing my /etc/hosts files being the easiest.
Do not use DHCP and fixed IP-Addresses if possible. This isn't a good mix. DHCP servers usually are able to assign fixed IPs based on the MAC address of the network card. But the ones in DSL router usually don't have this option.
Ah -- but the one in mine does -- it appears that 11.0 sends a different dhcp-client-identifier than 10.2 does (which used the MAC address by default) and the DHCP server gives it a different IP. (It could also be that 11.0 fixes a bug in 10.2 which might have used a slightly mangled version of the MAC address.)
The easiest solution for a small home network would be to use DHCP and let it do the whole configuration for you. There should be no need to make changes in /etc/hosts.
Yes -- but I want to be able to communicate between the computers on my local net using the IP address assigned by my router, and there is no simpler method than modifying my /etc/hosts file. (If worse comes to worse, I can write a perl script which uses arping to locate the IP addresses of all my computers, but since 11.0 always gets the same address (albeit a different one from 10.2), just modifying my /etc/hosts seems sufficient to me). --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----Original Message----- From: Mark Gray [mailto:mark.t.gray@gmail.com] Sent: May-25-08 4:15 PM To: opensuse-factory@opensuse.org Subject: Re: [opensuse-factory] 11.0 Beta3 gets different IP address from DHCP server
On Sunday 25 May 2008 21:07:03 Mark Gray wrote:
It appears that the DHCP client for 11.0 Beta3 consistently gets a different IP address than 10.2 does from the DHCP server in my DSL router. If this is not a bug, it might be well to mention this in
On Sun, May 25, 2008 at 5:52 PM, Herbert Graeber
wrote: the release notes, because I am probably not the only one who uses /etc/hosts to configure their local network. I hesitate to report this as a bug because there are easy enough ways around this -- just changing my /etc/hosts files being the easiest.
Do not use DHCP and fixed IP-Addresses if possible. This isn't a good mix. DHCP servers usually are able to assign fixed IPs based on the MAC address of the network card. But the ones in DSL router usually don't have this option.
Ah -- but the one in mine does -- it appears that 11.0 sends a different dhcp-client-identifier than 10.2 does (which used the MAC address by default) and the DHCP server gives it a different IP. (It could also be that 11.0 fixes a bug in 10.2 which might have used a slightly mangled version of the MAC address.)
Do you have any details on this? So far with 11.0, I haven't been able to get the DHCP client to work (the dhcp server is win 2003 I believe). Erik. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sun, May 25, 2008 at 4:17 PM, Putrycz, Erik
Do you have any details on this? So far with 11.0, I haven't been able to get the DHCP client to work (the dhcp server is win 2003 I believe).
No details -- this is the first time I have had to look into the documentation for DHCP (it always just worked without any tweaking before). There were changes made in the configuration and scripts for 11.0, but nothing that stood out as a glaring error or enhanced feature :-) Today I plan to look into it further (if nothing gets in the way). --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 2008/05/25 23:52 (GMT+0200) Herbert Graeber apparently typed:
Do not use DHCP and fixed IP-Addresses if possible. This isn't a good mix. DHCP servers usually are able to assign fixed IPs based on the MAC address of the network card. But the ones in DSL router usually don't have this option.
The easiest solution for a small home network would be to use DHCP and let it do the whole configuration for you. There should be no need to make changes in /etc/hosts.
Maybe the routers you're familiar with are different from mine. I'm unaware of any difficulty from mixing DHCP with fixed IPs, in the absence of excessive restriction of the range if addresses the router is permitted to assign. I had some trouble when the range was only 5 that went away when I upped it to 15. -- ". . . . in everything, do to others what you would have them do to you . . . ." Matthew 7:12 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Felix Miata schrieb:
On 2008/05/25 23:52 (GMT+0200) Herbert Graeber apparently typed:
Do not use DHCP and fixed IP-Addresses if possible. This isn't a good mix. DHCP servers usually are able to assign fixed IPs based on the MAC address of the network card. But the ones in DSL router usually don't have this option.
The easiest solution for a small home network would be to use DHCP and let it do the whole configuration for you. There should be no need to make changes in /etc/hosts.
Maybe the routers you're familiar with are different from mine. I'm unaware of any difficulty from mixing DHCP with fixed IPs, in the absence of excessive restriction of the range if addresses the router is permitted to assign. I had some trouble when the range was only 5 that went away when I upped it to 15.
I meant getting a dynamic IP via DHCP and configuring a fixed one in other places for the _same_ machine doesn't mix well. Mark hasn't mentioned that he is using his MAC for requesting a fixed IP in his original mail. He added this fact in the answer to mine. Nevertheless, his case is different from what I thought, what he tried to do is OK, and there is a real bug behind it... Cheers Herbert --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-05-25 at 23:52 +0200, Herbert Graeber wrote:
Do not use DHCP and fixed IP-Addresses if possible. This isn't a good mix.
Why not? As long as you assign a range to the dhcp server, and use fixed ips on another range, both are fine and do not collide. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIOoCrtTMYHG2NR9URAsnmAKCWk8JxlcJWhMvweePHH2nt1XKczACfYFHT j6BUSWyDNV8S0ab0kSHS/6g= =89NF -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (5)
-
Carlos E. R.
-
Felix Miata
-
Herbert Graeber
-
Mark Gray
-
Putrycz, Erik