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] DomU Bridged vs. Routed Networking?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] DomU Bridged vs. Routed Networking?
From: Andy Lee <andylee@xxxxxxxx>
Date: Tue, 16 Aug 2005 23:47:16 -0700
Delivery-date: Wed, 17 Aug 2005 06:45:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Is there a performance difference between bridged and routed DomU networking?

Seems like most users opt for the bridged approach. Perhaps it's because it is easier to setup and it is the default setting. For route, I spent several days to learn that /proc/sys/net/ipv4/conf/eth0/proxy_arp needs to be set to 0. It is not (Debian Sarge). It should probably be added to /etc/xen/scripts/network-route.

I also modified scripts/vif-route (using iptables) to forward only packets belonging to each domU's IP address, thereby preventing domU's from using IP addresses not assigned to them. With bridge, I'd need to install etables - one extra program to install and learn.


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

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