I have a question about a Xen host that runs dhcpd and installing guest/running guest VMs on that host (that use DHCP)...
On other hosts or hosts running VMs, they are absolutely able to get DHCP addresses no trouble... However, the fun begins when the machine I run dhcpd on is also hosting VMs. I can see in /var/log/messages the request and ack from dhcpd but the guest VMs never hear it. If I should bounce dhcpd prior to a guest install or start a guest VM - everything works just fine.
I'm guessing, perhaps, there is some iptables rule I need to set up? Based on the init scripts, dhcpd definitely starts before xend and xendomains and ultimately the xen bridge...
Anybody know what I need to do :) I've been bouncing dhcpd in /etc/rc.local and starting any VMs there. Although annoying, I'd rather do it "right" so I can auto start my Xen guests...
Thanks ahead of time!
Scot P. Floess 27 Lake Royale Louisburg, NC 27549
252-478-8087 (Home) 919-890-8117 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim
Architect Keros http://sourceforge.net/projects/keros
Scot:
I have a question about a Xen host that runs dhcpd and installing guest/running guest VMs on that host (that use DHCP)...
I just thought of something:
Do you have logs enabled at the bottom of your iptables rules? If something is hitting the firewall, you will see it in the log.
Neil
-- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime
Neil:
To be honest, I have iptables turned off (at least the init script is never started).
I'm thinking this is some kind of bridging rule I need to add? If memory serves, I think there is some iptables rule one has to use under KVM with dhcpd. My hardware is too old to do hardware virtualization - thus I use Xen ;)
On Fri, 6 Nov 2009, Neil Aggarwal wrote:
Scot:
I have a question about a Xen host that runs dhcpd and installing guest/running guest VMs on that host (that use DHCP)...
I just thought of something:
Do you have logs enabled at the bottom of your iptables rules? If something is hitting the firewall, you will see it in the log.
Neil
-- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Scot P. Floess 27 Lake Royale Louisburg, NC 27549
252-478-8087 (Home) 919-890-8117 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim
Architect Keros http://sourceforge.net/projects/keros
So, I found this:
http://74.125.93.132/search?q=cache:fGLwRok_rPwJ:www.nabble.com/DHCP-and-Dom...
It looks to be the same issue I am having???
On Fri, 6 Nov 2009, Scot P. Floess wrote:
Neil:
To be honest, I have iptables turned off (at least the init script is never started).
I'm thinking this is some kind of bridging rule I need to add? If memory serves, I think there is some iptables rule one has to use under KVM with dhcpd. My hardware is too old to do hardware virtualization - thus I use Xen ;)
On Fri, 6 Nov 2009, Neil Aggarwal wrote:
Scot:
I have a question about a Xen host that runs dhcpd and installing guest/running guest VMs on that host (that use DHCP)...
I just thought of something:
Do you have logs enabled at the bottom of your iptables rules? If something is hitting the firewall, you will see it in the log.
Neil
-- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Scot P. Floess 27 Lake Royale Louisburg, NC 27549
252-478-8087 (Home) 919-890-8117 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim
Architect Keros http://sourceforge.net/projects/keros _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Scot P. Floess 27 Lake Royale Louisburg, NC 27549
252-478-8087 (Home) 919-890-8117 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim
Architect Keros http://sourceforge.net/projects/keros