Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got KVM installed on CentOS 5.4, and am attempting to set up a virtual network to allow each VM to communicate with services on the host, namely DHCP to allow PXE boot installations.
I'm having some serious problems getting the network to work correctly. I suspect there's some subtlety missing in my configuration, but everything is set up according to the defaults, and I'd expect it to work.

Here's the config for the network, domain, and some stuff about the host.

Network definition:

Host definition:

Host info (brctl, ifconfig, iptables):

DHCPd Config:

I'm steadily running out of ideas..

share|improve this question
up vote 3 down vote accepted

Figured this out in the end. The trick is to ignore all the KVM networking nonsense. Create a bridge with brctl and then tell the KVM guest to use that as a bridge device.

<interface type='bridge'>
  <mac address='00:a0:01:00:00:03'/>
  <source bridge='virbr0'/>
  <model type='e1000'/>

And it works..

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.