[one-users] Configure VM template to gather offered IP
Erico Augusto Cavalcanti Guedes
eacg at cin.ufpe.br
Fri Jan 14 20:04:03 PST 2011
Hi,
during the tests with ttylinux, VMs gather IPs configured on VNET(RANGED)
correctly, and is possible to connect to VMs(ping, ssh, ...).
Nevertheless, when the image is changed, I can't ping VMs anymore.
eth0 of my image is configured as default ubuntu dhcp
client(/etc/network/interfaces file):
auto eth0
iface eth0 inet dhcp
while eth0 of ttylinux.img is configured
as(/etc/sysconfig/network-scripts/ifcfg-eth0 file):
ENABLE=yes
NAME=Ethernet
*IPADDRESS=192.168.15.4*
CIDRLEN=24
NETWORK=192.168.15.0
NETMASK=255.255.255.0
BROADCAST=192.168.15.255
*DHCP=no*
GATEWAY=192.168.15.1
However, this *IP* was provided by VNET. So:
1. How ttylinux.img is configured to get IPs provided by VNET?
2. Which is the best way to reproduce ttylinux.img network configuration on
my ubuntu image?
*Ubuntu VM template:*
NAME = CloudProxy
CPU = 0.1
MEMORY = 128
OS=[boot=hd]
DISK = [
source = "/srv2/cloud/one/var/images/UbuntuServer9-10.qcow", (loaded
correctly with qemu -hda UbuntuServer9-10.qcow)
target = "hda",
readonly = "no" ]
NIC = [ NETWORK = "ModcsVNET" ]
FEATURES=[ acpi="no" ]
*VNET Template:*
NAME = "ModcsVNET"
TYPE = RANGED
BRIDGE = br0
NETWORK_SIZE = C
NETWORK_ADDRESS = 192.168.15.0
NETMASK = 255.255.255.0
GATEWAY = 192.168.15.254
*IP provided by VNET to VM:*
$ /srv2/cloud/one/bin/onevm show 140 | grep IP
IP=192.168.15.8,
oneadmin at mc2-frontend:~/master$ ping 192.168.15.8
PING 192.168.15.8 (192.168.15.8) 56(84) bytes of data.
>From 192.168.15.200 icmp_seq=2 Destination Host Unreachable
>From 192.168.15.200 icmp_seq=3 Destination Host Unreachable
>From 192.168.15.200 icmp_seq=4 Destination Host Unreachable
Some missing information that can be relevant to troubleshooting?
Thanks a lot for support,
Erico.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110115/66ae8618/attachment-0001.htm>
More information about the Users
mailing list