I currently have a VM setup where only a few 'special' VMs are allowed to have outward facing IP addresses and the rest aren't. All of them are configured with two interfaces attached to a virtual bridge (virbr0) configured via libvirt. This is to make sure they have the proper IPs and hostnames.

I'd like to set up the virtual network to route the traffic on these private networks via the external network so that virbr0 is attached to br0 is attached to eth0. I need this so all of VMs can access our filesystems on NIS.

I'm having a bit of trouble getting my non-special VMs to get any kind of external network access and haven't found any documentation about this specific use case. Here's the relevant bits of my network config:

  <forward dev='br0' mode='nat'>
    <interface dev='br0'/>
  <bridge name='virbr0' stp='on' delay='0' />
  <mac address='52:54:00:84:f2:a4'/>
  <domain name='domain.company.com'/>
  <ip address='' netmask=''>

I've played around with this a bit but haven't had any luck accessing other machines on our network or even something like google.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.