Henning Sprang
2006-May-03 22:17 UTC
[Xen-users] dhcp requests being ignored wit reason "not authoritative"
Hi, I am trying to get an IP adress, nfs root host and directory information for a xen vm on the kernel level at boot time from dhcp. When the dhcp requests from the xen VM arrive on my server, my dhcp server denies to give them an IP address, it''s syslog reads: May 4 05:13:21 amalgam dhcpd: DHCPREQUEST for 255.255.255.255 (1.2.3.4) from 00:16:3e:00:00:11 via eth0: ignored (not authoritative). However, if I boot the same vm config without the nfs root option, and let it request ip configuration from nfs with the userland dhcp client, everything is fine, but syslog looks slightly different: May 4 05:09:49 amalgam dhcpd: DHCPDISCOVER from 00:16:3e:00:00:11 via eth0 May 4 05:09:49 amalgam dhcpd: DHCPOFFER on 192.168.0.57 to 00:16:3e:00:00:11 via eth0 May 4 05:09:49 amalgam dhcpd: DHCPREQUEST for 192.168.0.57 (192.168.0.133) from 00:16:3e:00:00:11 via eth0 May 4 05:09:49 amalgam dhcpd: DHCPACK on 192.168.0.57 to 00:16:3e:00:00:11 via eth0 (How)Do I need to tweak xen''s or my dhcp''s config? Or maybe try another dhcp server? I am using the isc server from the dchp3-server package on Debian Sarge. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-May-04 18:19 UTC
[Xen-users] SOLVED: dhcp requests being ignored wit reason "not authoritative"
Henning Sprang wrote:> Hi, > I am trying to get an IP adress, nfs root host and directory information > for a xen vm on the kernel level at boot time from dhcp. > When the dhcp requests from the xen VM arrive on my server, my dhcp > server denies to give them an IP address, it''s syslog reads: > > May 4 05:13:21 amalgam dhcpd: DHCPREQUEST for 255.255.255.255 (1.2.3.4) >>from 00:16:3e:00:00:11 via eth0: ignored (not authoritative).I didn''t have a line saying "authoritative" in the subnet configuration. Inserting this helped. I don''t understand why the same host with the same MAC got an IP with dhclient, only not on kernel level, but it works :) I can finally install my vm''s automatically over the network. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users