Bug 443815
Summary: | NetworkManager do not send hostname to dhcpd server | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexey Kuznetsov <axet> | ||||||
Component: | NetworkManager | Assignee: | Dan Williams <dcbw> | ||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 8 | CC: | dcbw, mike, wtogami | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-09-28 09:31:42 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Alexey Kuznetsov
2008-04-23 14:41:32 UTC
I test it for wifi connections only, look at server log: May 14 16:49:04 mini dhcpd: DHCPDISCOVER from 00:04:23:91:82:04 via br0 May 14 16:49:05 mini dhcpd: DHCPOFFER on 192.168.54.250 to 00:04:23:91:82:04 via br0 May 14 16:49:05 mini dhcpd: DHCPREQUEST for 192.168.54.250 (192.168.54.3) from 0 0:04:23:91:82:04 via br0 May 14 16:49:05 mini dhcpd: DHCPACK on 192.168.54.250 to 00:04:23:91:82:04 via b r0 NetworkManager-0.7.0-0.11.svn3846.fc9, NetworkManager-vpnc-0.7.0-0.10.svn3846.fc9, NetworkManager-openvpn-0.7.0-15.svn3846.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update NetworkManager NetworkManager-vpnc NetworkManager-openvpn'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-6761 problem still present. if /etc/dhclient-eth0.conf present with hostname option, everyting work fine. if file absent networkmanager do not send `hostname` to dhcpd server dhcp hostname currently only works if you have a system connection and have put DHCP_HOSTNAME into your /etc/sysconfig/network-scripts/ifcfg-XXXX file. NetworkManager-openvpn-0.7.0-15.svn3930.fc9,NetworkManager-vpnc-0.7.0-0.10.svn3928.fc9,NetworkManager-0.7.0-0.11.svn3930.fc9 has been submitted as an update for Fedora 9 NetworkManager-openvpn-0.7.0-15.svn3930.fc8,NetworkManager-vpnc-0.7.0-0.10.svn3928.fc8,NetworkManager-0.7.0-0.11.svn3930.fc8 has been submitted as an update for Fedora 8 NetworkManager-openvpn-0.7.0-15.svn4027.fc9,NetworkManager-vpnc-0.7.0-0.10.svn4024.fc9,NetworkManager-0.7.0-0.11.svn4022.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/NetworkManager-openvpn-0.7.0-15.svn4027.fc9,NetworkManager-vpnc-0.7.0-0.10.svn4024.fc9,NetworkManager-0.7.0-0.11.svn4022.fc9 Created attachment 315368 [details]
Screenshot-Network Connections.png
Created attachment 315369 [details]
Screenshot-Editing Auto wifi.tax.local.png
There you can see my configuration. At https://bugzilla.redhat.com/attachment.cgi?id=315369 you can see DHCP Client ID feeld filled with "axet-lapop" In server logs i see: Aug 29 19:06:13 mini dhcpd: DHCPDISCOVER from 00:19:e3:d3:7b:51 via br0 Aug 29 19:06:14 mini dhcpd: DHCPOFFER on 192.168.54.6 to 00:19:e3:d3:7b:51 via br0 Aug 29 19:06:14 mini dhcpd: DHCPREQUEST for 192.168.54.6 (192.168.54.3) from 00:19:e3:d3:7b:51 via br0 Aug 29 19:06:14 mini dhcpd: DHCPACK on 192.168.54.6 to 00:19:e3:d3:7b:51 via br0 Aug 29 19:07:00 mini ntpd[2256]: synchronized to 89.108.124.4, stratum 2 And i except to see: Aug 24 17:33:23 mini dhcpd: Wrote 13 leases to leases file. Aug 24 17:33:23 mini dhcpd: DHCPREQUEST for 192.168.54.247 from 00:17:f2:d1:4a:84 via br0 Aug 24 17:33:23 mini dhcpd: DHCPACK on 192.168.54.247 to 00:17:f2:d1:4a:84 (axet-laptop) via br0 Aug 24 17:33:28 mini dhcpd: DHCPREQUEST for 192.168.54.248 from 00:19:e3:d3:7b:51 (axet-laptop) via br0 Aug 24 17:33:28 mini dhcpd: DHCPACK on 192.168.54.248 to 00:19:e3:d3:7b:51 (axet-laptop) via br0 Aug 24 17:33:30 mini dhcpd: DHCPREQUEST for 192.168.54.248 from 00:19:e3:d3:7b:51 (axet-laptop) via br0 Aug 24 17:33:30 mini dhcpd: DHCPACK on 192.168.54.248 to 00:19:e3:d3:7b:51 (axet-laptop) via br0 Aug 24 17:33:45 mini dhcpd: DHCPINFORM from 192.168.54.247 via br0 Ah, so here's the problem. DHCP Client Identifier is actually different than the hostname that gets sent to the DHCP server to update DNS. They are two different things entirely. The UI does not support sending a hostname to the DHCP server at this time. That's supported for system connections on Fedora right now via the DHCP_HOSTNAME variable in the ifcfg file. thx for answer. you told me same things at the begining. i just wana note about this problem more detailed. as everyone fedora users networkmanager must provide easy way to set hostname by settings menu. and now i can see field for that purpose. i expect in near future we all can have great application to solve all network issues... thx again. ps: i also hope network architecture bug 446338 will be solved, as i told in short description its a defect by design. In the end, I think we'll end up sending the machine's hostname to the server as you've set in /etc/sysconfig/network if it doesn't contain "localhost". That way to don't have to enter anything. cool :) NetworkManager-0.7.0-0.11.svn4022.fc8,NetworkManager-openvpn-0.7.0-15.svn4027.fc8,NetworkManager-vpnc-0.7.0-0.10.svn4024.fc8,NetworkManager-pptp-0.7.0-0.10.svn4027.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/NetworkManager-0.7.0-0.11.svn4022.fc8,NetworkManager-openvpn-0.7.0-15.svn4027.fc8,NetworkManager-vpnc-0.7.0-0.10.svn4024.fc8,NetworkManager-pptp-0.7.0-0.10.svn4027.fc8 NetworkManager-pptp-0.7.0-0.10.svn4027.fc9, NetworkManager-openvpn-0.7.0-15.svn4027.fc9, NetworkManager-vpnc-0.7.0-0.10.svn4024.fc9, NetworkManager-0.7.0-0.11.svn4022.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update NetworkManager-pptp NetworkManager-openvpn NetworkManager-vpnc NetworkManager'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7375 NetworkManager-0.7.0-0.11.svn4022.fc8, NetworkManager-openvpn-0.7.0-15.svn4027.fc8, NetworkManager-vpnc-0.7.0-0.10.svn4024.fc8, NetworkManager-pptp-0.7.0-0.10.svn4027.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update NetworkManager NetworkManager-openvpn NetworkManager-vpnc NetworkManager-pptp'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-7484 This bug was a dupe of bug 385211. *** This bug has been marked as a duplicate of bug 385211 *** NetworkManager-0.7.0-0.11.svn4022.fc8, NetworkManager-openvpn-0.7.0-15.svn4027.fc8, NetworkManager-vpnc-0.7.0-0.10.svn4024.fc8, NetworkManager-pptp-0.7.0-0.10.svn4027.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. NetworkManager-pptp-0.7.0-0.10.svn4027.fc9, NetworkManager-openvpn-0.7.0-15.svn4027.fc9, NetworkManager-vpnc-0.7.0-0.10.svn4024.fc9, NetworkManager-0.7.0-0.11.svn4022.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. |