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] multiple vif's/bridges

To: Nivedita Singhvi <niv@xxxxxxxxxx>
Subject: Re: [Xen-users] multiple vif's/bridges
From: andrew mathes <amathes@xxxxxxxxxxxx>
Date: Tue, 3 May 2005 15:45:04 -0700 (PDT)
Cc: Mark Doll <doll@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 03 May 2005 22:45:00 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42769011.4070609@xxxxxxxxxx>
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: <900f397f05042811593195bab5@xxxxxxxxxxxxxx> <Pine.LNX.4.62.0504281225410.11340@xxxxxxxxxxxxxxxxxx> <900f397f0504281330637df347@xxxxxxxxxxxxxx> <Pine.LNX.4.62.0504291137590.561@xxxxxxxxxxxxxxxxxx> <900f397f05042914305022b40e@xxxxxxxxxxxxxx> <Pine.LNX.4.62.0504291522001.4465@xxxxxxxxxxxxxxxxxx> <900f397f050430090544ad824a@xxxxxxxxxxxxxx> <Pine.LNX.4.62.0505012141250.5264@xxxxxxxxxxxxxxxxxx> <20050502142412.GE7330@xxxxxxxxxxxxxxxx> <Pine.LNX.4.62.0505020834200.20512@xxxxxxxxxxxxxxxxxx> <Pine.LNX.4.62.0505021021220.20512@xxxxxxxxxxxxxxxxxx> <42766E55.7000007@xxxxxxxxx> <Pine.LNX.4.62.0505021201590.24098@xxxxxxxxxxxxxxxxxx> <42769011.4070609@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
all i can think of now is it's a routing issue- here is my route -n on dom0:

10.255.0.0      10.254.1.254    255.255.255.0   UG    0      0        0 eth0
10.254.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 xen-br1
10.254.0.0      10.254.1.254    255.255.0.0     UG    0      0        0 eth0
0.0.0.0         10.1.1.254      0.0.0.0         UG    0      0        0 xen-br1

and from domU:

Destination Gateway Genmask Flags Metric Ref Use Iface
10.255.0.129    10.254.1.254    255.255.255.255 UGH   0      0        0 eth0
10.255.0.0      10.254.1.254    255.255.255.0   UG    0      0        0 eth0
10.254.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
10.254.0.0      10.254.1.254    255.255.0.0     UG    0      0        0 eth0
0.0.0.0         10.1.1.254      0.0.0.0         UG    0      0        0 eth1

so, it looks to me like both things are routing correctly ... but I can't get anywhere through the 10.1.1. subnet ... (eth1/xen-br1 (tied to dom0 eth3 which is 10.1.1.53))

arp -a (dom0):
sudo arp -a
? (10.1.1.243) at 00:11:43:FD:71:8C [ether] on xen-br1
? (10.254.1.254) at <incomplete> on eth0

no arp -a output on domU

ifconfig output looks good, as well as brctl, everything looks bound correctly, although i'm still confused why vifX.1 while bound to xen-br1 doesn't get it's mac address ... seems odd to me

well, that's all the output i can do, and if there's nothing wrong in these routes ... i'm stumped, one network card for me i guess =/

On Mon, 2 May 2005, Nivedita Singhvi wrote:

andrew mathes wrote:

 hm, tcpdump from external -> eth3 of dom0 looks fine

 tcpdump from exteran -> eth1 of domU = no reply

 tcpdump from eth3 -> ext = fine

tcpdump from eth3->domU ... the ping says it's ok, but tcpdump shows nothing

 likewise domU->eth3 ... says it's pinging, but tcpdump shows nothing

so is what's happening here is both sides pinging the bridge, but nothing is going through? i have this in dmesg:

 device vif1.0 entered promiscuous mode
 xen-br0: port 1(vif1.0) entering learning state
 xen-br0: topology change detected, propagating
 xen-br0: port 1(vif1.0) entering forwarding state
 device vif1.1 entered promiscuous mode
 xen-br1: port 2(vif1.1) entering learning state
 xen-br1: topology change detected, propagating
 xen-br1: port 2(vif1.1) entering forwarding state

 so that looks good ...

i'm not supposed to make the domU gateway the same as the domO nic or anything am i?


Sorry to come so late to this thread - but did you
share your routes (ip route show, or netstat -rn) output,
also your arp -a, ifconfig -a?

If you have two real interfaces on the same subnet,
you may need to set arp_filter on.

thanks,
Nivedita


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



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