|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] DHCP and DomUs troubles
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 <=
|
|
|
|
|