It is thought to work that way. The VR acts as a DNS server and is not passing along the DNS values to the clients, but rather, doing the DNS lookups itself.
On Tue, Jul 23, 2013 at 9:44 AM, <[email protected]> wrote: > Assuming that I have only one LAN that is being served by an NAT server. > All the VM's are within the sam LAN, so they need to connect to the > outside world through a gateway, which is not xxx.xxx.xxx.1. > > With the following context, the Virtual Router VM only gets the correct > IP, but not the gateway nor the dns: > > CONTEXT=[ > DHCP="YES", > DNS="8.8.4.4 8.8.8.8", > PRIVNET="$NETWORK[TEMPLATE, NETWORK=\"MY-LAN\"]", > RADVD="NO", > TARGET="hdb", > TEMPLATE="$TEMPLATE" ] > > The gateway within the Virtual Router VM is xxx.xxx.xxx.1, while the DNS > servers are 172.16.0.1. > > With the following context, the Virtual Router VM now gets the correct IP > address, gateway, and dns: > > CONTEXT=[ > DHCP="YES", > DNS="8.8.4.4 8.8.8.8", > PRIVNET="$NETWORK[TEMPLATE, NETWORK=\"MY-LAN\"]", > PUBNET="$NETWORK[TEMPLATE, NETWORK=\"MY-LAN\"]", > RADVD="NO", > TARGET="hdb", > TEMPLATE="$TEMPLATE" ] > > However, the Windows XP guest OS still gets the IP address of the Virtual > Router VM as the gateway and DNS. > > Best regards, > > Chen Xiang > > > > Hi, > > > > I have recently tested the Virtual Router as described on the following > > page: > > > > http://opennebula.org/documentation:rel4.0:router > > > > The problem with this Virtual Router is that it only delivers the correct > > IP address and network mask to the guest VM, but failed to deliver the > > correct gateway and DNS server to the VM. > > > > For example, if I have contextualized a Ubuntu 12.04 VM with the > following > > parameters the VM is capable of getting the correct IP address, as well > as > > the correct gateway and DNS server: > > > > CONTEXT=[ > > ETH0_DNS="$NETWORK[DNS, NETWORK=\"MY-LAN\"]", > > ETH0_GATEWAY="$NETWORK[GATEWAY, NETWORK=\"MY-LAN\"]" ] > > > > With the following Virtual Router context, my Windows XP guest OS will > get > > the IP address of the Virtual Router as the default gateway and DNS > > server. > > > > CONTEXT=[ > > DHCP="YES", > > PRIVNET="$NETWORK[TEMPLATE, NETWORK=\"MY-LAN\"]", > > RADVD="NO", > > TARGET="hdb", > > TEMPLATE="$TEMPLATE" ] > > > > > > I have already defined the related properties in my network definition, > > such as: > > > > DNS="8.8.8.8" > > GATEWAY="192.168.100.250" > > NETWORK_MASK="255.255.255.0" > > > > On the documentation page, under the Full Router section it says that i > > can add a DNS line in the context, so I did this: > > > > CONTEXT=[ > > DHCP="YES", > > PRIVNET="$NETWORK[TEMPLATE, NETWORK=\"MY-LAN\"]", > > RADVD="NO", > > TARGET="hdb", > > DNS="8.8.8.8", > > TEMPLATE="$TEMPLATE" ] > > > > Try again with a Windows XP guest OS, still not working. > > > > Any suggestions? > > > > Best regards, > > > > Chen Xiang > > > >> Hi, > >> > >> Did you check the resources from this mail? The wiki contains a guide on > >> windows guest contextualization. > >> > http://lists.opennebula.org/pipermail/users-opennebula.org/2013-July/023731.html > >> > >> Regards > >> > >> -- > >> Join us at OpenNebulaConf2013 <http://opennebulaconf.com> in Berlin, > >> 24-26 > >> September, 2013 > >> -- > >> Carlos Martín, MSc > >> Project Engineer > >> OpenNebula - The Open-source Solution for Data Center Virtualization > >> www.OpenNebula.org | [email protected] | > >> @OpenNebula<http://twitter.com/opennebula><[email protected]> > >> > >> > >> On Sun, Jul 21, 2013 at 1:44 PM, Romany Nageh > >> <[email protected]>wrote: > >> > >>> please can anyone tell me how to prepare window 7 image to work with > >>> opennebula 4.0.1 > >>> > >>> i installed the windows and create vm but network not configured with > >>> an > >>> ip from context variables . i need the scripts that run and configure > >>> the > >>> network interfaces, the dns servers in windows image . > >>> > >>> *thanks and regards*, > >>> romany > >>> > >>> > >>> _______________________________________________ > >>> Users mailing list > >>> [email protected] > >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >>> > >>> > >> _______________________________________________ > >> Users mailing list > >> [email protected] > >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >> > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > -- Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin, 24-26 September, 2013 -- Jaime Melis Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | [email protected]
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
