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@lists.xensource.com http://lists.xensource.com/xen-users
On Tuesday 20 June 2006 16:37, bruno taranto wrote:> I am tryin to configure my dom0 as router of my domU, but dont work. > Can you give me some help?I use network-route and vif-route in the xen config file to do the job then dom0 acts as router-firewall for net-domUs and infra-domU traffic -- Dr. Emiliano Gabrielli - Responsabile Divisione Informatica email: emiliano.gabrielli@deArchitettura.com deArchitettura.com Via Francesco Tovaglieri, 411 - 00155 Roma tel: 0645438979 | fax: 0645438980 | url: www.deArchitettura.com _________________________________________________________________________ CONFIDENZIALE: Le informazioni contenute nella presente comunicazione ed i relativi allegati sono confidenziali e riservati. Se avete ricevuto questo messaggio per errore, vi preghiamo di distruggerlo e di informarci immediatamente all''indirizzo email info@deArchitettura.com Ai sensi del D.Lgs. 196/2003 sulla privacy e dell''art. 616 del c.p. รจ proibita qualsiasi forma di riproduzione o divulgazione del documento trasmesso, senza l''esplicito consenso di deArchitettura.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of bruno taranto Sent: Tuesday, June 20, 2006 10:38 AM To: Xen-users@lists.xensource.com 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 <http://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@lists.xensource.com http://lists.xensource.com/xen-users