To access those machines you will have to add two nics to evert VM or have a VM that serves as bridge between both networks, that is, having two nics and somehow routing the connection to private VMs.
You can do automations with hooks [1] and configure those subdomains but maybe it is easier to have them configured beforehand, that is ip-10.mydomain.com = 3.3.3.10 ip-11.mydomain.com = 3.3.3.11 ip-12.mydomain.com = 3.3.3.12 and so on. Knowing the ip then will be enough to find the subdomain. I'm not sure what you want to accomplish so this may not be useful. [1] http://opennebula.org/documentation:rel4.2:hooks On Sun, Sep 15, 2013 at 4:04 PM, Fernando Filgueira <[email protected]> wrote: > hello my name is fernando from the canary islands. > > I have a "working" test open nebula installation: one master , two nodes, > centos 6.4 , kvm > > i have a virtual network setup with network model 802.1q > > Machine boots, gets ips, but its aisled from the external network (i cant > ping them from master, only novnc access from sunstone). > > I know i could add a second nic and attach it to the physical network, but i > would see all other machines in the internal network (what i dont want, > because i could change ip in nic attached to internal network to what i > wanted and get to machines in another virtual network) > > the original goal is to assign a subdomain for every machine to be accesible > from internet: vm101.mydomain.com, vm102.mydomain.com,etc... , and at the > same time have all the machines to be accesible between them in their > internal vm network. > what is the best (easiest) way to acomplish this? > is there any way to automate the subdomain (vmxxx.mydomain.com) procedure > creation? > > thanks in advance and sorry for my english. > > -- > > ...---... > WWW.FHERKING.COM > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > -- Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of September 2013! Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
