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] HVM and routed networking

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] HVM and routed networking
From: Markus Quaritsch <quam@xxxxxxxx>
Date: Tue, 12 Aug 2008 08:24:17 +0200
Delivery-date: Mon, 11 Aug 2008 23:25:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4897F7BC.3080008@xxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4897F7BC.3080008@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)
Markus Quaritsch wrote:

> Can anybody provide me a working config-file and the corresponding
> scripts for configuring the network using the routed setup for a HVM domU?

Just for the records a short description how I accomplished HVM DomU and
routed networking: simply use the device tapX instead of vifX.Y and
configure routing, iptables and proxy_arp in the same manner as in the
usual routed networking setup.

# brctl delif xenbr0 tap0

# ip route change  <domU eth ip> dev tap0 src <dom0 eth ip>

# iptables -A FORWARD -m physdev --physdev-in tap0 -j ACCEPT

# echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp

so probably change the qemu-ifup script accordingly...

regards,
quam
-- 
Markus Quaritsch
E: quam@xxxxxxxx
W: www.qwws.net

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>