[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Making a VM directly accessible from a public IP
Hi, I still haven't found a solution to this problem. In my xend-config.sxp file, I have activated the routed mode: --- (network-script 'network-route netdev=eth0') (vif-script vif-route) --- In my domU config file I have: --- vif = [ 'mac=00:16:3e:00:00:01, ip=ip.fail.over' ] --- and in /etc/network/interfaces of the domU: --- auto eth0 iface eth0 inet static netmask 255.255.255.0 address ip.fail.over post-up /sbin/ip route add default dev eth0 --- In domU, ifconfig outputs: --- eth0 Link encap:Ethernet HWaddr 00:16:3E:00:00:01 inet addr:ip.fail.over Bcast:my.ip.adr.255 Mask:255.255.255.0 --- In dom0, ifconfig outputs: --- eth0 Link encap:Ethernet HWaddr 00:1B:FC:19:19:36 inet addr:some.ip Bcast:some.ip.255 Mask:255.255.255.0 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 vif165.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet addr:some.ip Bcast:91.255.255.255 Mask:255.255.255.255 --- But when I boot the domU, I see the error message: --- Setting up networking.... Configuring network interfaces...SIOCADDRT: Network is unreachable Failed to bring up eth0. done. --- And obviously I cannot ping my domU public address. I have also flushed any iptables rule. I am pretty sure that at some point in time the setup I have posted above worked, but I tried to reproduce it today, and it doesn't anymore, so I guess I dreamed it worked!? _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |