[SATLUG] kvm networking
dkowis at shlrm.org
Mon Jan 23 23:34:27 CST 2012
-----BEGIN PGP SIGNED MESSAGE-----
On 01/23/2012 10:58 PM, Bruce Dubbs wrote:
> The above translates to:
> ifconfig br0 address 192.168.200.1 netmask 255.255.255.0
> and tells the scripts to set it up on bootup. It probably creates
> the bridge too, but I'm not as familiar with that.
It does, but it doesn't attach any interfaces.
brctl addif br0 tap0
brctl addif br0 <other interface>
Not sure if eth0 is the one you want.
Doing a bridge will set up your KVM as if it were another host on the
If you add eth0 to the bridge it might knock that device off the
network, at which point you'd assign eth0's IP address to br0 (since
the host can talk out br0)
Then you can assign a 192.168.x address to your guest VM, and it
should work as if it were on your normal network (or get a DHCP lease)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the SATLUG