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] dom0 as router

To: "'bruno taranto'" <btaranto@xxxxxxxxx>, <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] dom0 as router
From: "Mito" <mito@xxxxxxxxxxxxx>
Date: Tue, 20 Jun 2006 22:58:03 -0400
Delivery-date: Tue, 20 Jun 2006 19:50:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1f00da1c0606200737n5dbd6cabx65a2c068d0931a55@xxxxxxxxxxxxxx>
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
Thread-index: AcaUdx8Ti2+S4xfcQvaLZPLKYJEddAAZvhPw

I had some problems with this as well when I had Xen installed via the RPM’s.  My solution was to uninstall Xen via the RPM’s and install via source instead, making sure to enable anything that had to do with NAT.

 

I’ve since been told that I could have just enabled a few modules, but I have yet to test that theory out.

 

Here’s a walkthrough describing what I did however.  The main thing is that you want to enable NAT as your networking scripts.  I’ve installed 3 Xen systems, and 2 of them were setup using this walkthrough that I made, so it should work for you.

 

http://mitopia.net/index.php/Xen_3.0.2_Setup

 

Mito

 

 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of bruno taranto
Sent: Tuesday, June 20, 2006 10:38 AM
To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] dom0 as router

 

Hy,
I am tryin to configure my dom0 as router of my domU, but dont work.
Can you give me some help?


DOM0---------------
dcgs0058:/etc/xen# ifconfig |grep net
dummy0    Link encap:Ethernet  HWaddr 9E:B7:78:DB:E9:A7
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
eth0      Link encap:Ethernet  HWaddr 00:13:72:4E:7E:B3
          inet addr:172.28.0.200  Bcast:172.28.0.255  Mask:255.255.255.0
peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF

DOMU---------------
debian:~# ifconfig |grep net
eth0      Link encap:Ethernet  HWaddr 00:16:3E:3A:84:0E
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask: 255.255.255.0
debian:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
debian:~#


bruno taranto

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