[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] network setup
Thanks for link. I followed instructions at the page it points to, but wasn't success. Firstly, I altered xend configuration to: (network-script network-nat) (vif-script vif-nat) Then, I also changed my domain's config file to include following lines: dhcp="off" vif=['mac=00:16:3e:00:00:12'] ip="10.0.0.2" hostname="simulant" netmask="255.255.255.0" gateway="10.0.0.254" And then copied the script setup_nat - which sets up NAT and IP forwarding - to /etc/xen, restarted xend, created the domain and ran /etc/xen/setup_nat. What seems strange to me is that if I now invoke "ifconfig vif10.0" in Dom0, i get: vif10.0 Zapouzdření:Ethernet HWadr FE:FF:FF:FF:FF:FF inet adr:10.0.10.128 Všesměr:0.0.0.0 Maska:255.255.255.255 inet6-adr: fe80::fcff:ffff:feff:ffff/64 Rozsah:Linka AKTIVOVÁNO VŠESMĚROVÉ_VYSÍLÁNÍ BĚŽÍ MULTICAST MTU:1500 Metrika:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:6 overruns:0 carrier:0 kolizí:0 délka odchozí fronty:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) (To make it easier for those whose Czech is not as good as they'd like it to be, IP address is 10.0.10.128, broadcast 0.0.0.0, netmask 255.255.255.255) I'd expect it to be 10.0.0.2 with netmask 255.255.255.0, since this is what i put in the config file. Anyway, when I now log into the domain and run "ifconfig" there, result is just lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) So, eth0 is not configured, I guess. Routing table is empty. And I am not able to ping anything. I tried to go ahead by configuring DomU's eth0 using data which I put in its config file: ifconfig eth0 10.0.0.2 netmask 255.255.255.0 route add default gw 10.0.0.254 and try to ping again (I am pinging 10.0.0.254, and 131.155.145.254 which is IP of Dom0's eth0 interface). All i get is "Destination Host unreachable". My last attempt to make it work is to set vif10.0's data in the shape I would suppose correct, thus: ifconfig vif10.0 10.0.0.2 netmask 255.255.255.0 and ping again from the guest domain. But everything is unreachable, again. Can you give me any hints, please? On Thu, 4 May 2006 10:47:29 -0700 (PDT), ra7x wrote > I used NAT with IP forwarding as suggested in Falko's debian setup article > with some mods and a script found on this list, more or less. A url > for my setup is below (sorry it's so long). > > http://penguin.ewu.edu/instructor/rsevenic/spr_06/courses/cscd442_540/hw442_540/xenbuntu-5.10.html > > Regards, > Richard > > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |