Re: bridging to multiple ip addresses.
Steve Holdoway <[email protected]> Tue, 06 Dec 2011 18:19:34 +1300
| Newsgroups | gmane.org.user-groups.linux.new-zealand.general |
|---|---|
| Organization | Green Gecko Global Ltd. |
| Message-ID | <1323148774.30993.86.camel@steve-desktop> |
--===============0001876562== Content-Type: multipart/signed; micalg="sha1"; protocol="application/x-pkcs7-signature"; boundary="=-q5eTsmItJNUJ3XehEZ5j" --=-q5eTsmItJNUJ3XehEZ5j Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm pretty certain it won't be hard, and I'm not trying to be clever. It's just that I've never done this before! Cheers, Steve On Tue, 2011-12-06 at 17:57 +1300, Glenn Enright wrote: > Should this be hard? Xen has been able to do this for a longish time, > eg setup a bridge per > http://wiki.solusvm.com/index.php/KVM_Network_Bridge_Setup then add > nic devices to the relevant vm definition pointing to that bridge (ie > bridge as a vlan). eg with kvm in the xml file for each vm you would > see something like the following per nic you needed >=20 > <interface type=3D'bridge'> > <mac address=3D'00:11:22:33:44:55'/> > <source bridge=3D'br0'/> > </interface> >=20 > Then ips in the range supported by that bridge should just work on the > vm per traditional linux methods. This assumes you have public IPs to > allocate to each vm. >=20 > Or are you doing something interesting/weird with IP translation? Natting= ? >=20 > ref also https://help.ubuntu.com/community/KVM/Networking#Using%20multipl= e%20nics%20with%20multiple%20subnets%20i.e.%20vlans >=20 > On 6 December 2011 17:42, Steve Holdoway <[email protected]> wrote: > > Hi folks, > > > > I'm working on making more than one of my KVM virtual machines visible > > on separate IP addresses. > > > > I'm happy with an ethernet interface having multiple IP adresses, but a= m > > looking for decent documentation on how to do this for br0 instead, so > > that traffic over the bridge can be routed to different vms according t= o > > IP address. > > > > I try googling, but am instantly deluged with dire warnings about level > > 2 loops and other similar instances of certain fatality. > > > > Is it just as simple as setting up network definitions for br0, br1, br= 2 > > with the specific IP addresses, all bridging to eth0? > > > > Any decent documentation on how to do this would be gratefully received= . > > > > Cheers, > > > > > > Steve > > -- > > Steve Holdoway BSc(Hons) MNZCS <[email protected]> > > http://www.greengecko.co.nz > > MSN: [email protected] > > Skype: sholdowa > > > > _______________________________________________ > > NZLUG mailing list [email protected] > > http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug > > >=20 > _______________________________________________ > NZLUG mailing list [email protected] > http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug --=20 Steve Holdoway BSc(Hons) MNZCS <[email protected]> http://www.greengecko.co.nz MSN: [email protected] Skype: sholdowa --=-q5eTsmItJNUJ3XehEZ5j-- --===============0001876562== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ NZLUG mailing list [email protected] http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug --===============0001876562==--