<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Re: [CentOS-virt] DHCP for Xen VMs</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>You might want to check iptables in the dom0.<BR>
<BR>
I believe iptables gets set on eth0 before it 'pivots' to peth0 and I doubt it flushes it and retargets it to the new bridged eth0 afterwards, so the dhcp traffic may appear as unsolicited and dropped on dom0 as it enters the bridge.<BR>
<BR>
If that turns out to be the case you will need to have iptables stopped right before the creation of peth0 and restarted afterwards (and maybe file a bug report too).<BR>
<BR>
-Ross<BR>
<BR>
<BR>
----- Original Message -----<BR>
From: centos-virt-bounces@centos.org <centos-virt-bounces@centos.org><BR>
To: centos-virt@centos.org <centos-virt@centos.org><BR>
Sent: Mon Mar 24 09:41:42 2008<BR>
Subject: Re: [CentOS-virt] DHCP for Xen VMs<BR>
<BR>
Ross S. W. Walker wrote on Sun, 23 Mar 2008 19:29:47 -0400:<BR>
<BR>
> Assuming you have a DHCP server on the local net, maybe ip tables in the dom0<BR>
is blocking the dhcp traffic?<BR>
><BR>
> Did you configure xend to do bridged or nat'd? Default is bridged.<BR>
<BR>
Well, networking *does* work if I set an IP address manually and as I can reach<BR>
it then from other machines it must be bridged. The problem is that I don't get<BR>
an IP address when using dhcp :-(<BR>
I wasn't aware that iptables is on and preconfigured in a domU that got setup<BR>
with CentOS 5.1 virt-manager. Unfortunately, shutting it off doesn't solve the<BR>
problem. Logging shows that the server gets a request from that MAC address and<BR>
offers an IP address, but the client doesn't receive it. There's no firewall<BR>
between the two, but the offer doesn't get back to the client somehow.<BR>
<BR>
Kai<BR>
<BR>
--<BR>
Kai Schätzl, Berlin, Germany<BR>
Get your web at Conactive Internet Services: <A HREF="http://www.conactive.com">http://www.conactive.com</A><BR>
<BR>
<BR>
<BR>
_______________________________________________<BR>
CentOS-virt mailing list<BR>
CentOS-virt@centos.org<BR>
<A HREF="http://lists.centos.org/mailman/listinfo/centos-virt">http://lists.centos.org/mailman/listinfo/centos-virt</A><BR>
</FONT>
</P>


<P></P>
<HR WIDTH="100%">
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

</BODY>
</HTML>