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-devel

RE: [Xen-devel] bridging and NAT?

To: "Robert Edmonds" <edmonds42@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] bridging and NAT?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 10 Nov 2004 07:16:08 -0000
Delivery-date: Wed, 10 Nov 2004 14:22:47 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcTG6BfR3j0G2HCHTTiGWKV5oT+lBAADGoVA
Thread-topic: [Xen-devel] bridging and NAT?
> I am not too familiar with Xen and the art of packet 
> mangling, but is it possible to have the same physical 
> network interface (eth0) function as a bridged adapter for 
> unpriviledged Xen domains and as the internal NAT interface 
> for a LAN? When I start xend, it seems my NAT configuration 
> is hosed, as I cannot even ping the Domain-0 eth0 from my 
> LAN. Can I perhaps circumvent this side-effect by bridging to 
> an interface alias or a dummy interface?

Should be possible, though I suspect you'll have to use your own custom
equivalent of the /etc/xen/scripts/network script. (You can control this
from xend-config.sxp)

You should probably create the bridge and eth0 before configuring the
iptables rules to set up the NAT.

Ian


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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