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

[libvirt-users] Creating a private network



 

I am trying to create a separate private network between the host (domain 0) and the guests. Using virsh, I created a bridge network, virbr1. I can successfully add guest interfaces to the bridge network and communicate between the guests. However, I am unable to communicate between the host and any of the guests. I created eth0:1 on the host and configured virbr1 to forward to eth0:1 (mode=”route” dev=”eth0:1”), but there is still no communication.

 

I don’t think creating eth0:1 is the right thing to do. I think I need to create a virtual interface on domain 0 that is part of the bridge network, virbr1. However, when I run virsh attach-interface with domain-0, it fails.

 

What am I missing??

 

Matt

 

 

OS: RHEL 5, Xen kernel

 

virbr1 Bridge Network (First attempt)

      <network>

        <name>private</name>

        <bridge name="virbr2" />

        <ip address="169.254.1.1" netmask="255.255.0.0">

        </ip>

      </network>

 

virbr1 Bridge Network (First attempt)

      <network>

        <name>private</name>

        <bridge name="virbr2" />

        <ip address="169.254.1.1" netmask="255.255.0.0" />

        <forward mode=”route” dev=”eth0:1” />

      </network>

 


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