Zoltan Lippai
2012-Feb-08 08:35 UTC
[libvirt-users] Creating network bridge without IP address
Hi everyone! I have the following setup: domain0 |-domU1 |-domU2 |-domU3 I am running this with libvirt on a XEN server. Right now the server is connected to our office network, but later it will be in a hosted environment. I need domU1 and domU3 to have a public IP, and all of the domUs and the dom0 should have an internal IP address to communicate with each other. So this is what I would like to achieve: domain0 192.168.122.1 |-domU1 192.168.122.2 192.168.1.45 (later this will be changed to the public IP) |-domU2 192.168.122.3 |-domU3 192.168.122.4 192.168.1.46 (this will also be changed to a public IP) On domain0 I have the following network interfaces: br0 Link encap:Ethernet HWaddr 54:04:a6:66:c4:be inet addr:192.168.1.44 Bcast:192.168.1.255 Mask:255.255.255.0 virbr0 Link encap:Ethernet HWaddr 52:54:00:fe:88:0c inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 This way everything is working fine, except that I don't want domain0 to have a public IP (which is 192.168.1.44 in this case) So is it possible somehow to setup br0 on domain0 without it having an IP address? Thank you, Zoltan Lippai
Nicolas Sebrecht
2012-Feb-08 09:59 UTC
[libvirt-users] Re: Creating network bridge without IP address
The 08/02/12, Zoltan Lippai wrote:> On domain0 I have the following network interfaces: > > br0 Link encap:Ethernet HWaddr 54:04:a6:66:c4:be > inet addr:192.168.1.44 Bcast:192.168.1.255 Mask:255.255.255.0 > virbr0 Link encap:Ethernet HWaddr 52:54:00:fe:88:0c > inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 > > This way everything is working fine, except that I don't want domain0 to have a public IP (which is 192.168.1.44 in this case) > > So is it possible somehow to setup br0 on domain0 without it having an IP address?Yes. Don't configure any IP to the bridge. -- Nicolas Sebrecht