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

[Xen-users] Routing bug with network-bridge?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Routing bug with network-bridge?
From: PinkFreud <pf-xen-users@xxxxxxxxxxxx>
Date: Sat, 25 Nov 2006 15:57:30 -0500
Delivery-date: Sat, 25 Nov 2006 12:57:44 -0800
Envelope-to: www-data@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060403
I've been beating my head against a wall for the past few hours trying
to resolve this.

The box I'm setting up Xen on is also the router for my network.  It
has two nics - eth0 (to the 'net), and eth1 (to my lan).  I'm using
bridging on the lan interface for Xen.

When the bridge comes up, routing for the other systems on my lan goes
to hell.

According to iptables, any packets coming in peth1 are heading out
vif0.0.  This is *not* what I want!

Nov 25 13:34:42 rivendell kernel: IN= OUT=xenbr0 PHYSIN=peth1 PHYSOUT=vif0.0 
SRC=192.168.1.3 DST=216.38.80.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=40161 DF 
PROTO=TCP SPT=49361 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 

The routing table is simple - it uses the automatically created routes
for the interfaces (192.168.0.0/23 goes to eth1, isp's network goes to
eth0, and the default gw is my isp's, out eth0).  I'm having trouble
determining why packets originating from an interface on the bridge are
simply ignoring the default route, though - 216.38.80.20 is most
certainly not on my network, and kernel routing should be taking care
of redirecting it out eth0, as per my routing table.

This looks like a bug (can anyone tell me why a packet not destined for
my local net, ignoring the default route is *not* a bug?).  The
question is - is it a Xen bug, or is it a bridge bug?


-- 
                                                                      
Mike Edwards                    |   If this email address disappears,   
Unsolicited advertisments to    |   assume it was spammed to death.  To
this address are not welcome.   |   reach me in that case, s/-.*@/@/

"Our progress as a nation can be no swifter than our progress in education.
The human mind is our fundamental resource."
  -- John F. Kennedy

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

<Prev in Thread] Current Thread [Next in Thread>