Hi
I have a root server at Hetzner.
I received 2 additional dedicated IPs.
Main IP: 5.5.15.132
Second IP: 5.5.15.151
Third IP: 5.5.11.226
I used the following post to set the first IP up with br0:
http://blog.alexdpsg.net/898/
This works very well for the first vm.
But I don't understand how I connect the second IP to the second VM.
I duplicated the br0.xml to br1.xml:
Code:
<network>
<name>br1</name>
<uuid>66ae947c-bfb3-4c7b-8d66-af3ea3cc3ba2</uuid>
<forward dev='eth0' mode='route'>
<interface dev='eth0'/>
</forward>
<bridge name='br1' stp='on' delay='0'/>
<mac address='52:54:00:65:11:23'/>
<ip address='5.5.11.226' netmask='255.255.255.254'>
</ip>
</network>
and I used virsh to define the bridge
Code:
virsh net-define br0.xml
virsh net-start br0
brctl show gives me the following
Code:
bridge name bridge id STP enabled interfaces
br0 8000.5404a6f16f10 yes eth0
vnet0
vnet1
br1 8000.000000000000 yes
From what I understand both vnet go over the same bridge.
How can I configure vnet1 to connect over br1?
Or do I have to add the second IP to the same br0 interface?
And if yes how do I do that?
Thanks!