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] How vifX.Y and eth talk on dom0 with NAT configuration?

To: "bugone82@xxxxxxxxxxx" <bugone82@xxxxxxxxxxx>
Subject: Re: [Xen-users] How vifX.Y and eth talk on dom0 with NAT configuration?
From: Sebastien Koechlin <seb.xen@xxxxxxxxxxxx>
Date: Tue, 7 Mar 2006 16:35:13 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Mar 2006 15:34:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <440B50A7.3000109@xxxxxxxxxxx>
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: <440B50A7.3000109@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Sun, Mar 05, 2006 at 09:57:11PM +0100, bugone82@xxxxxxxxxxx wrote:
> Hi, in the official XenNetworking ( 
> http://wiki.xensource.com/xenwiki/XenNetworking ) i didn't find reported 
> how the NAT configuration works with xen.
> Does anybody know how the vifX.Y (10.X.X.128), gateway of any domU ethX 
> (10.X.X.1) talk with the real ethX of the dom0?

I think Xen and XenNetworking are not dealing with NAT at all, they are
working at the ethernet level (OSI level 2). 

NAT on IPv4 or IPv6 is done by the Linux kernel acting as a router (not a
hub or switch) between two interfaces (echo 1 >
/proc/sys/net/ipv4/ip_forward) with iptables rules on the POSTROUTING net
filter.  It's done at the IP level (OSI level 3).  Thoses interfaces can be
connected to Xen bridges or be physical interfaces, it does not matter,

-- 
Sebastien Koechlin

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

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