[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Question about network-route
Hi, I saw in file /etc/xen/xend-config.sxp that I also have the choice to use network-route to configure the network. I have troubles using veth0 so I would like to give it a shot. I saw some of instruction given in the mailing list: http://lists.xensource.com/archives/html/xen-devel/2005-01/msg00368.html I strictly follow it: modify the xend-config.sxp, configuration script and start domu. (I didn't change the network-route and vif-route scripts though) But it seems that DomU is still trying to get ip from dhcp. It stops at determine eth0 ip address for quite a long time and quits with fail. Do I have to change something at /etc/sysconfig/network-script/ifcfg-eth0 in my domU disk image? If so, I guess it should not be booted with dhcp. But what should my static ip, netmask, default gateway be? Here I tried to change the static ip to "1.2.3.4" (what ever I specify in the script) and mask to be 255.255.255.255 but leave the gateway blank. Now DomU got its ip during boot time cannot connect outside. I check dom0's route table after domU boots, it seems that 1.2.3.4 is there: Kernel IP routing table tination Gateway Genmask Flags Metric Ref Use Iface 1.2.3.4 * 255.255.255.255 UH 0 0 0 vif1.0 9.2.72.0 * 255.255.255.128 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default lab001.watson.i 0.0.0.0 UG 0 0 0 eth0 And DomU's routing table: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default * 0.0.0.0 U 0 0 0 eth0 Dom0 can ping 1.2.3.4 but cannot ssh. DomU cannot access outside, even use ping. Am I miss something here? I really got stuck here so any suggestions will be helpful. Thank you very much! Regards, Wei Huang _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |