WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] DHCP and DomUs troubles

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] DHCP and DomUs troubles
From: Arnaud Jayet <arnjay@xxxxxxxxx>
Date: Sat, 30 Jan 2010 00:23:55 +0100
Delivery-date: Mon, 01 Feb 2010 03:21:20 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=cCUYQvD4S41Um1oNRgo0uIDGYCY6xet0SGt63xhYCfU=; b=Fo/yuUerWk+F7xqsc5n7agfGN8e2fmOBk4FmoaBeimoFWy9h89ILL9cb05Jljh3Yl/ C0mUGfG/ez9iDP/IdKzDhgs+OvcKWbPGwZjvYeoPisDZD08J3MWJB4XcsJkKeedyIWZ4 1oThZjp3S76LCozr8fapxr0VZRgZujK4QooKY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=NRgmBBvXWPTi+/Ua/ab5L1ojWXoA/ZkE0/uZLaLUZ4+LWAxs9zWEHjmD8ML4XaD0tj zwpFgMcFbxlj9b6IPFcgZck3wweQ/5/Tu0BbfmWXy5qTtB196IYdKsNyJM4psuYsPpQL HzN1h98dZV82hjm/dzexnztQo6zz6wS8rJoYk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
Hello,

i've set up a domU (called 'gwdomu') for acting as a router (NAT + dhcp + firewall services) for a private LAN of machines. i've installed dnsmasq package on this domU

1) with as physical machine client in the LAN, it works : the PC gets an IP address from dnsmasq / gwdomu, and can go outside via 'gwdomu'

2) with a Xen virtual machine client (i called it 'clientdomu'), it doesn't work. 'gwdomu' received several DHCPDiscover requests from 'clientdomu' and send DHCPOFFER to the client mac address but never received DHCPREQUEST / DHCPACK from the client


notes :
1)  i'm using VLAN
2) i'm using Debian Lenny + Xen 3.2-1 for Dom0 and DomU
3) In the 'clientdomu' /etc/network/interfaces i've added the option
post-up ethtool -K eth0 tx off but with no effect... i also put tx off in dom0 ethX interface with no more effect.


trace :

domu's config file
# vlan115
vif         = [ 'mac=00:16:3E:7F:BF:11,bridge=xenbr115' ]
dhcp = "on"


clientdomu# cat /etc/net/interfaces
auto eth0
 iface eth0 inet dhcp
 post-up  ethtool -K eth0 tx off


clientdomu# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3e:7f:bf:11


clientdomu# dhclient eth0
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:16:3e:7f:bf:11
Sending on   LPF/eth0/00:16:3e:7f:bf:11
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
5 bad udp checksums in 5 packets
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

----

gwdomu with dnsmasq activated (tail syslog) with a DHCP domU:

Jan 30 00:03:41 gwnat dnsmasq[27902]: DHCPOFFER(eth0) 192.168.115.107 00:16:3e:7f:bf:11
Jan 30 00:03:46 gwnat dnsmasq[27902]: DHCPDISCOVER(eth0) 00:16:3e:7f:bf:11
Jan 30 00:03:46 gwnat dnsmasq[27902]: DHCPOFFER(eth0) 192.168.115.107 00:16:3e:7f:bf:11
Jan 30 00:04:29 gwnat dnsmasq[27902]: DHCPDISCOVER(eth0) 00:16:3e:7f:bf:11
Jan 30 00:04:29 gwnat dnsmasq[27902]: DHCPOFFER(eth0) 192.168.115.107 00:16:3e:7f:bf:11
Jan 30 00:04:30 gwnat dnsmasq[27902]: DHCPDISCOVER(eth0) 00:16:3e:7f:bf:11
Jan 30 00:04:30 gwnat dnsmasq[27902]: DHCPOFFER(eth0) 192.168.115.107 00:16:3e:7f:bf:11
Jan 30 00:04:38 gwnat dnsmasq[27902]: DHCPDISCOVER(eth0) 00:16:3e:7f:bf:11
Jan 30 00:04:38 gwnat dnsmasq[27902]: DHCPOFFER(eth0) 192.168.115.107 00:16:3e:7f:bf:11


gwdomu with dnsmasq activated (tail syslog) with a DHCP physical PC:

Jan 29 13:01:41 gwnat dnsmasq[16634]: DHCPDISCOVER(eth0) 00:04:75:d1:37:49
Jan 29 13:01:41 gwnat dnsmasq[16634]: DHCPOFFER(eth0) 192.168.115.104 00:04:75:d1:37:49 Jan 29 13:01:41 gwnat dnsmasq[16634]: DHCPREQUEST(eth0) 192.168.115.104 00:04:75:d1:37:49 Jan 29 13:01:41 gwnat dnsmasq[16634]: DHCPACK(eth0) 192.168.115.104 00:04:75:d1:37:49 kodos


any idea ?
thank you for your help

Arnaud

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] DHCP and DomUs troubles, Arnaud Jayet <=