[virt-tools-list] problems with dhcp on bridged network

Cam Mac pharesm at gmx.com
Tue Oct 25 16:21:46 UTC 2011


Hi,

 I am having problems getting a KVM guest to obtain a DHCP address when using virt-manager GUI. The KVM host has been set up with bridged networking, and I can successfully kickstart a host using the command line

 virt-install --name=vtest --ram 512 -f /dev/vg00/vtest --vcpus=2 --network bridge=br0 -l http://10.62.128.11/mirrors/scientific/6.1/x86_64/os -x "ks=http://10.62.128.11/kickstart/vm-test.cfg console=ttyS0"

 However, I cannot get it to work when using virt-manager GUI

 I select 'Network Boot' (PXE), under 'Advanced Options', I select 'Host device em1 (Bridge 'br0'), leaving the default Mac address options, however, it fails to get a DHCP address, giving the following error in the console:

 ---------------------------8<------------------------

 Waiting for link up on net0....ok
 DHCP (net052:54:00:35:8c:c2 )......................connection timed out (0x4c106035)

 No more network devices

---------------------------8<------------------------

 It generates the following network config in the xml:


 ----------------8<----------------

 <interface type='bridge'>
 <source bridge='br0'/>
 <mac address='52:54:00:35:8c:c2'/>
 <model type='virtio'/>
 </interface>

----------------8<----------------

 From KVM guests I have kickstarted via the command line method, I can get DHCP addresses.
 I cannot even see any DHCP requests on br0 on the KVM when it is attempting to get an address via GUI method


 Any ideas why the virt-manager method does not work?

Cheers for any help,

 Cam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20111025/32d1a75c/attachment.htm>


More information about the virt-tools-list mailing list