[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    Re: [libvirt-users] unable to ping from guests in virbr0 to guests in virbr1 network
From:       mallapadi niranjan <niranjan.ashok () gmail ! com>
Date:       2012-11-19 17:37:41
Message-ID: CAE_F0QTcX-mWGdd-NSQpi0HAJLLkHEkce9DFuQ2dmjKMa_0opQ () mail ! gmail ! com
[Download RAW message or body]

On Mon, Nov 19, 2012 at 7:05 PM, Rudy Godoy <rudy@stone-head.org> wrote:

> On Mon, Nov 19, 2012 at 12:09:53PM +0530, mallapadi niranjan wrote:
> > Hi all,
> >
> > I have 3 guests (2-RHEL4 and 1 RHEL6) and have some issues regarding
> > networking between them. The 2 RHEL4 system's use default bridge virbr0
> and
> > get ip's of range 192.168.122.0/24  (192.168.122.207, 192.168.122.167)
> >
> > I created another bridge (virbr1) with NAT forwarding (no dhcp). The
> > network i choose was 192.168.100.0/24. And the third system (RHEL6) was
> > assigned static ip-addres 192.168.100.101,
> >
> > >From the RHEL6 system which uses virbr1 is able to ping systems in
> > 192.168.122.0/24 series , but  guest systems in 192.168.122.0/24 are not
> > able to ping RHEL6 system (in virbr1) network.
> >
> > >From the RHEL4 guests i am able to ping the gateway ip's (192.168.122.1,
> > 192.168.100.1) , but not the RHEL6 system
> >
>
> That's correct behavior, because the networks are in different ranges
> they need to have a way to talk to each other, either via a gateway or
> fixed routing.
>

ok


>
> btw, Why do you need your hosts in separate networks?
>

I have a special requirement where i need guests from different networks
(subnets) to need to communicate each other.

You may want to check this page on libvirt networking.
> http://wiki.libvirt.org/page/VirtualNetworking
>
> regards.
>
> --
> Rudy Godoy
> http://stone-head.org
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
>

[Attachment #3 (text/html)]

<br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 7:05 PM, Rudy Godoy <span \
dir="ltr">&lt;<a href="mailto:rudy@stone-head.org" \
target="_blank">rudy@stone-head.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">

<div>On Mon, Nov 19, 2012 at 12:09:53PM +0530, mallapadi niranjan wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I have 3 guests (2-RHEL4 and 1 RHEL6) and have some issues regarding<br>
&gt; networking between them. The 2 RHEL4 system&#39;s use default bridge virbr0 \
and<br> &gt; get ip&#39;s of range <a href="http://192.168.122.0/24" \
target="_blank">192.168.122.0/24</a>  (192.168.122.207, 192.168.122.167)<br> &gt;<br>
&gt; I created another bridge (virbr1) with NAT forwarding (no dhcp). The<br>
&gt; network i choose was <a href="http://192.168.100.0/24" \
target="_blank">192.168.100.0/24</a>. And the third system (RHEL6) was<br> &gt; \
assigned static ip-addres 192.168.100.101,<br> &gt;<br>
&gt; &gt;From the RHEL6 system which uses virbr1 is able to ping systems in<br>
&gt; <a href="http://192.168.122.0/24" target="_blank">192.168.122.0/24</a> series , \
but  guest systems in <a href="http://192.168.122.0/24" \
target="_blank">192.168.122.0/24</a> are not<br> &gt; able to ping RHEL6 system (in \
virbr1) network.<br> &gt;<br>
&gt; &gt;From the RHEL4 guests i am able to ping the gateway ip&#39;s \
(192.168.122.1,<br> &gt; 192.168.100.1) , but not the RHEL6 system<br>
&gt;<br>
<br>
</div>That&#39;s correct behavior, because the networks are in different ranges<br>
they need to have a way to talk to each other, either via a gateway or<br>
fixed routing.<br></blockquote><div><br>ok<br> <br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <br>
btw, Why do you need your hosts in separate networks?<br></blockquote><div><br>I have \
a special requirement where i need guests from different networks (subnets) to need \
to communicate each other.<br><br></div><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

You may want to check this page on libvirt networking.<br>
<a href="http://wiki.libvirt.org/page/VirtualNetworking" \
target="_blank">http://wiki.libvirt.org/page/VirtualNetworking</a><br> <br>
regards.<br>
<span><font color="#888888"><br>
--<br>
Rudy Godoy<br>
<a href="http://stone-head.org" target="_blank">http://stone-head.org</a><br>
<br>
_______________________________________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com" \
target="_blank">libvirt-users@redhat.com</a><br> <a \
href="https://www.redhat.com/mailman/listinfo/libvirt-users" \
target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br> \
</font></span></blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic