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

xen-users

[Top] [All Lists]

[Xen-users] Xen and routed network

To: "'xen-users@xxxxxxxxxxxxxxxxxxx'" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Xen and routed network
From: Max E Baro <MEB@xxxxxxxxxxxxxxxxx>
Date: 2006年1月16日 10:34:01 -0500
Delivery-date: 2006年1月16日 15:41:41 +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
Hello Xen Users.
A little bit on how I got networking to route using Xen:
- Compile dom0 and domU kernels with Advanced routing support
- My doms all have dual nics on separate networks.
- dom0 connects to two different networks and acts as a router for domU's
- domU creates a separate subnet on each interface and traffic is routed through dom0
- I used policy based routing to create additional routing tables for each interface and source routing to direct traffic
- add tables in /etc/iproute2/rt_tables
- In all doms I create a default route for each interface using the local nic's address as the gateway
- ip rule add from 192.168.168.0/24 table r1
- ip route add default via 192.168.168.2 table r1 (address for local nic)
- In dom0 I create additional tables specifying the next hop for domU traffic
- ip rule add from 192.168.167.0/24 table r2
- ip route add default via 192.168.168.1 table r2 (address for next router in the chain)
- In my xen config file, I specify the vif name, and changed the sxp file to use network-route and vif-route
- I modified vif-route to assign an IP address to the vif interface based on vifname parameter
I hope this information is helpful. And I would like to thank xen users who's input I used to make this work.

Max Baro
Technical Support Representative
FACTS Services, Inc.
(305) 284 - 7440
meb@xxxxxxxxxxxxxxxxx

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen and routed network, Max E Baro <=
Previous by Date: [Xen-users] Re: multiple disk images, how to? , Charles Duffy
Next by Date: Re: [Xen-users] bridges and dummy , Jayesh Salvi
Previous by Thread: [Xen-users] Debian packages for xen3 + kernel images for dom0/U , Ralph Passgang
Next by Thread: [Xen-users] undefined domains appearing! , John A. Sullivan III
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /