Hi,
I'm looking to set up a KVM with bridge mode networking so that the VM is
not NATted and is directly available on the local network alongside the
host OS, eg host OS at 10.1.10.2/24 (on eth0) and VM at 10.1.10.3/24 (on
its eth0, bridged onto the host eth0), both available from a remote host on
the same subnet or on another subnet via a router.
I'm a bit new to bridge setup and the examples I've found all seem to miss
out key details -- they just tell you arbitrary things to type but without
explaining the background so I can tailor it. I presume if I set br0 on
the host OS to 10.1.10.3/24 I will encounter routing issues. I guess I
could use eg /31 or /32 netmasks which would avoid that.
Does one set IP addresses on the host OS bridge interface? Do you use the
same addresses or different to the VM interface? What is the usual way of
doing this?
Answers or good references would be most welcome.
Thanks,
Gavin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!