[Bug 692775] Re: linking two virtual machines does not work
Serge Hallyn
692775 at bugs.launchpad.net
Tue Jan 4 16:12:40 UTC 2011
Haven't yet been able to reproduce (so far on natty, though, not maverick).
How I tried:
1. created new 'priv' network in libvirt:
cd /etc/libvirt/qemu/networks
cat > priv.xml << EOF
<network>
<name>priv</name>
<bridge name='virbr%d' stp='on' delay='0' />
<ip address='192.168.123.1' netmask='255.255.255.0'>
</ip>
</network>
EOF
virsh net-create priv.xml
2. restart libvirt
3. create two virtual machines, one a dhcp server, one a dhcp client
4. set up the dhcp server:
cat >> /etc/dhcp3/dhcpd.conf << EOF
subnet 192.168.123.0 netmask 255.255.255.0 {
range 192.168.123.20 192.168.123.20;
}
EOF
/etc/init.d/dhcp-server start
Then, running dhclient3 on the client VM gets an ip address from
the dhcp server.
I'll try to reproduce these same steps using plain qemu on a
maverick VM.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bridge-utils in ubuntu.
https://bugs.launchpad.net/bugs/692775
Title:
linking two virtual machines does not work
More information about the Ubuntu-server-bugs
mailing list