[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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

To reply to myself, the problem seems to be a delay (possibly due to a bug?) whereby it times out. I cannot see any DHCP requests leaving the br0 device. However, when I use 'crtl+b' to get into the gPXE prompt, and run 'dhcp net0' some DHCP packets are sent and get a reply, and the interface gets an IP address.

Not sure what is going on here!



 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 -x "ks= 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:


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

No more network devices


It generates the following network config in the xml:


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


>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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]