WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: Cross-Domain Networking Problems

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: Cross-Domain Networking Problems
From: Fernando Maior <fernando.souto.maior@xxxxxxxxx>
Date: Tue, 17 May 2005 19:40:28 -0300
Delivery-date: Tue, 17 May 2005 22:39:57 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rqyvunXsKJMCiRsfSu3oIMet02ELRNPSemmQExSB2l6uL/IZuN7AA8gDQx+7358SaJxFnwEisEZh3Fl6+w1prew3R1NHyxaTC98sShRemm8xP817wM8dUlXwHqVHZrjcAiZqjAWMOIjX80jR1gZGPIZJeR8ifpQoomCIoXUAN94=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.63.0505171044280.9198@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20050514060317.25937.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <d6d3rf$roj$1@xxxxxxxxxxxxx> <Pine.LNX.4.63.0505171044280.9198@xxxxxxxxxxxxxxxxxx>
Reply-to: Fernando Maior <fernando.souto.maior@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 5/17/05, andrew mathes <amathes@xxxxxxxxxxxx> wrote:
> first off, make sure of a few things, that your card is actually bound to
> your bridge, and iptables on domO isn't screwing with anything, ie, here
> is my dom0 info:
> 
> $ sudo brctl show
> Password:
> bridge name     bridge id               STP enabled     interfaces
> xen-br0         8000.001143fd756c       no              eth0    <---note
>                                                          vif1.0
>                                                          vif2.0
>                                                          vif3.0
>                                                          vif4.0
> xen-br1         8000.001143fd756d       no              eth3
>                                                          vif1.1
>                                                          vif2.1
>                                                          vif3.1
>                                                          vif4.1
> $ sudo iptables --list
> Chain INPUT (policy ACCEPT)
> target     prot opt source               destination
> 
> Chain FORWARD (policy ACCEPT)                   <----- note
> target     prot opt source               destination
> 
> Chain OUTPUT (policy ACCEPT)
> target     prot opt source               destination
> 
> i had to set up my networking myself, look in archives from me for my
> configs on that.  (especially to get eth0 bound to xen-br0 consistently.
> 
> On Tue, 17 May 2005, Ralf Lübben wrote:
> 
> > Hello,
> >
> > I have the same problem. Is there a possibility that the
> > domains could communicate over the bridge?
> > I had a look with ethereal on the traffic. There are no are responses
> > for the requests.
> >
> > Thanks.
> > Ralf Lübben
> >
> >
> > Brian Bisaillon wrote:
> >
> >> xm list reveals the following information...
> >>
> >> Name              Id  Mem(MB)  CPU  State  Time(s)
> >> Console
> >> Domain-0           0      315    0  r----   2058.1
> >> Domain-1          11      342    0  -b---      5.2
> >> 9611
> >> Domain-2          12      342    0  -b---      3.9
> >> 9612
> >>
> >> Xen seems to be working beautifully but I have not yet
> >> figured out how to get Domain-0 to ping both Domain-1
> >> and Domain-2, how to get Domain-1 to ping both
> >> Domain-0 and Domain-2 and how to get Domain-2 to ping
> >> both Domain-0 and Domain-1.
> >>
> >> brctl show reveals the following information...
> >>
> >> bridge name     bridge id               STP enabled
> >>  interfaces
> >> xen-br0         8000.feffffffffff       no
> >>  vif13.0
> >>
> >>  vif14.0
> >>
> >> ifconfig vif13.0 reveals the following information...
> >>
> >> vif13.0   Link encap:Ethernet  HWaddr
> >> FE:FF:FF:FF:FF:FF
> >>           inet6 addr: fe80::fcff:ffff:feff:ffff/64
> >> Scope:Link
> >>           UP BROADCAST RUNNING MULTICAST  MTU:1500
> >> Metric:1
> >>           RX packets:7 errors:0 dropped:0 overruns:0
> >> frame:0
> >>           TX packets:0 errors:0 dropped:6 overruns:0
> >> carrier:0
> >>           collisions:0 txqueuelen:0
> >>           RX bytes:502 (502.0 b)  TX bytes:0 (0.0 b)
> >>
> >> ifconfig vif14.0 reveals the following information...
> >>
> >> vif14.0   Link encap:Ethernet  HWaddr
> >> FE:FF:FF:FF:FF:FF
> >>           inet6 addr: fe80::fcff:ffff:feff:ffff/64
> >> Scope:Link
> >>           UP BROADCAST RUNNING MULTICAST  MTU:1500
> >> Metric:1
> >>           RX packets:7 errors:0 dropped:0 overruns:0
> >> frame:0
> >>           TX packets:0 errors:0 dropped:6 overruns:0
> >> carrier:0
> >>           collisions:0 txqueuelen:0
> >>           RX bytes:502 (502.0 b)  TX bytes:0 (0.0 b)
> >>
> >> ifconfig xen-br0 reveals the following information...
> >>
> >> xen-br0   Link encap:Ethernet  HWaddr
> >> FE:FF:FF:FF:FF:FF
> >>           inet addr:192.168.0.1  Bcast:192.168.3.255
> >> Mask:255.255.255.255
> >>           BROADCAST MULTICAST  MTU:1500  Metric:1
> >>           RX packets:0 errors:0 dropped:0 overruns:0
> >> frame:0
> >>           TX packets:1 errors:0 dropped:0 overruns:0
> >> carrier:0
> >>           collisions:0 txqueuelen:0
> >>           RX bytes:0 (0.0 b)  TX bytes:86 (86.0 b)
> >>
> >> ifconfig eth0 reveals the following information...
> >>
> >> eth0      Link encap:Ethernet  HWaddr
> >> AA:00:00:00:00:11
> >>           inet addr:192.168.0.2  Bcast:192.168.3.255
> >> Mask:255.255.252.0
> >>           inet6 addr: fe80::a800:ff:fe00:11/64
> >> Scope:Link
> >>           UP BROADCAST RUNNING MULTICAST  MTU:1500
> >> Metric:1
> >>           RX packets:0 errors:0 dropped:0 overruns:0
> >> frame:0
> >>           TX packets:10 errors:0 dropped:0 overruns:0
> >> carrier:0
> >>           collisions:0 txqueuelen:1000
> >>           RX bytes:0 (0.0 b)  TX bytes:628 (628.0 b)
> >>
> >> Did you notice that both eth0 and xen-br0 have the
> >> same IP address information?
> >>
> >> If I try to ping 192.168.0.1 from Domain-1 or
> >> Domain-2, it fails.
> >>
> >> Domain-1 has an IP address for its eth0 of 192.168.0.2
> >> and Domain-2 has an IP address for eth0 of 192.168.0.3
> >> and if I try to ping 192.168.0.2 from Domain-2 or ping
> >> 192.168.0.3 from Domain-1, it also fails.
> >>
> >> Finally, trying to ssh to 192.168.0.2 or 192.168.0.3
> >> from Domain-0 fails. I am using Suse 9.3 and my guest
> >> OSes are also Suse 9.3. Any help would be greatly
> >> appreciated. I have never used bridge utils in Linux
> >> before although I have use ip route and iptables
> >> extensively. I have never used VLANs under Linux yet
> >> either although I want to try that out eventually.
> >>
> >> Thanks!

Hi,

If you look at "ifconfig xen-br0" output, you will see that
the bridge is not up nor running. Please, issue the command
"ifconfig xen-br0 up" and see if it starts running/up.

I recommend you to try looking at the scripts in /etc/xen/scripts,
specially the one that takes care of the bridges, there are certain
commands that I do not remember exactly, and they are key to
success with bridges. They begin with brctl command.

I already have a script developed for creating and configuring
my bridges (about 5) and everything is working fine after I
developed that script. If you want, I can send you the script.

Not today, because I am at home, and do not have access to
the scripts :(

-- 
Bye,
Fernando Maior
LPIC/1 31908

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users