[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] Trouble getting a DHCP address when booting.
> > Sending DHCP requests ... > > ************ REMOTE CONSOLE EXITED ***************** > > At this point, try runnning 'tcpdump -i vifXXX.0' in domain 0 > to see if there are any packets being sent. Yup. Loads of them. Even when eth0 is not up in the guest (lots of broadcast packets and such). Is that normal ? This is what happens inside the guest when I bring up the network manually (having uncommented "dhcp = 'dhcp'" from the config file): deb-xenified:~# ifconfig deb-xenified:~# ifconfig lo up deb-xenified:~# ifconfig eth0 up deb-xenified:~# dhclient Internet Software Consortium DHCP Client 2.0pl5 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html Listening on LPF/eth0/aa:00:00:01:78:b3 Sending on LPF/eth0/aa:00:00:01:78:b3 Sending on Socket/fallback/fallback-net DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 5 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 9 DHCPACK from 10.9.19.254 bound to 10.9.18.44 -- renewal in 345600 seconds. After having received an IP address I find this in the tcpdump trace 14:27:57.612582 IP 10.9.18.44.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from aa:00:00:01:78:b3, length: 300 14:27:57.618531 IP 10.9.19.254.bootps > 10.9.18.44.bootpc: BOOTP/DHCP, Reply, length: 300 When running with "dhcp = 'dhcp'" enabled I find the following in the tcpdump output 14:35:43.891535 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from aa:00:00:60:cd:2a, length: 548 14:46:28.233792 arp who-has 10.9.19.254 tell 10.9.18.131 [ and on and on... ] but never a reply from 10.9.19.254.bootps. I also tried assigning a fixed MAC-address in the config file like xen-test:~# cat debian.xen kernel = "/boot/vmlinuz-2.4.29-xenU" memory = 256 name = "Debian-Sarge" nics = 1 dhcp = "dhcp" vif = ['mac=AA:00:00:01:78:B3, bridge=xen-br0'] disk = ["file:/root/debian.sarge,sda1,w"] root = "/dev/sda1 ro" but that did not help. > > again to obtain a DHCP address. It doesn't even respond to > a Ctrl-C - [...] > > Sounds like your stty settings are messed up. Ctrl-c works for me. Strange. I did not do anything special when installing domain-0 and the guest domain. These are my stty settings in the guest deb-xenified:~# stty speed 38400 baud; line = 0; -brkint ixoff -imaxbel -iexten and on the host xen-test:~# stty speed 38400 baud; line = 0; -brkint -imaxbel Anything out of the ordinary ? I use a danish keyboard layout if that helps explaining anything. It's not critical since the console is only for emergency situations, but it would be nice to have it working properly. Cheers -- Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |