James B. Byrne
2016-Jan-11 17:34 UTC
[CentOS] CentOS-6.7, kvm bridges, virtual interfaces, and routes
On Sat, January 9, 2016 19:48, Gordon Messmer wrote:> On 01/09/2016 03:30 PM, isdtor wrote: >> Search for policy routing. > > Policy routing isn't relevant. > > In order to communicate across a LAN, two hosts must be in the same > broadcast domain. Hosts in 192.168.51.0/24 cannot communicate with > hosts in 192.168.52.0/24. > >If I have all of the kvm guests on both hosts, together with the br0 bridge on both hosts, configured with addresses on the same a.b.c.0/24 network then will all communication on a.b.c.0/24 pass over br0 if the target address is on the other host? kvmh1g1 eth0=192.168.51.100 kvmh1 br0=192.168.51.41 kvmh2 br0=192.168.51.42 kvmh2g1 eth0=192.168.51.200 In other words, with the address configuration given above, will traffic from 192.168.51.200 reach 192.168.51.100 via the cross-over cable between 192.168.51.42/192.168.51.41? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
Gordon Messmer
2016-Jan-11 17:39 UTC
[CentOS] CentOS-6.7, kvm bridges, virtual interfaces, and routes
On 01/11/2016 09:34 AM, James B. Byrne wrote:> In other words, with the address configuration given above, will > traffic from 192.168.51.200 reach 192.168.51.100 via the cross-over > cable between 192.168.51.42/192.168.51.41?Yes.