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] Routing problem in bridged setup

Subject: Re: [Xen-users] Routing problem in bridged setup
From: John Haxby <john.haxby@xxxxxxxxxx>
Date: Mon, 12 May 2008 10:28:33 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 12 May 2008 02:29:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <EC4DBE77-D546-4E63-BDD6-18604FB28A4F@xxxxxxxxx>
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: <EC4DBE77-D546-4E63-BDD6-18604FB28A4F@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080501)
Pepe Barbe wrote:
Hello,

I am having some routing troubles with my Xen setup.

I have two domUs, one running as a firewall and another running as a dmz:

The dom0 has the following:
- eth0 bridge (10.0.0.3/24)

The domU-firewall has the following:
- Direct passthrough PCI NIC (Public Internet)
- Virtual NIC connected to the eth0 bridge on dom0 (10.0.0.1/24)
- Bridge called brdmz for the dmz zone (10.0.2.1/24)

The domU-dmz has the following:
- Virtual NIC connected to the brdmz in domU-firewall (10.0.2.2/24)

So far can I can make the domU-firewall and domU-dmz talk to each other without problem. Using IPTables/NAT on domU-firewall I can route to the public internet from dom0/Local Lan and from the domU-dmz. But I can't communicate from the domU-dmz to local lan and viceversa. I've made sure that there are no IPTables rules blocking this kind of traffic, so all I am left is with the possiblity of a routing problem: domU-firewall not forwarding packets from the local lan to the dmz bridge for some reason.

Your domU-firewall is NAT'ing traffic to the public internet, right?

In which case I would say that either you're not fowarding traffic through the firewall (/proc/sys/net/ipv4/ip_forward contains '0' or your FORWARD chain in the firewall is blocking traffic.

jch

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

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