[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] dom0 as router



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.