You can use this option

dhcp-option=6,IP_OF_DNS1,IP_OF_DNS2

that should be appended on the same file.

Best


Il giorno 21/mag/2012, alle ore 13:34, Sergio Ariel de la Campa Saiz ha scritto:

> Thanks... it works ok...
>  
> There is some kind of configuration for DNS too?? I change my DNS server in 
> /etc/resolv.conf but some time later it goes back to the default one set by 
> dsnmasq. :-( :-(
> Sergio Ariel
> de la Campa Saiz
> GMV-SES Infraestructura / 
> GMV-SES Infrastructure
>  
>  
>  
> GMV
> Isaac Newton, 11
> P.T.M. Tres Cantos
> E-28760 Madrid
> Tel.
> +34 91 807 21 00
> Fax
> +34 91 807 21 99
>  www.gmv.com
>  
> 
>  
> 
>  
> De: George Mihaiescu [[email protected]]
> Enviado el: viernes, 18 de mayo de 2012 16:11
> Para: Sergio Ariel de la Campa Saiz
> CC: [email protected]; [email protected]
> Asunto: RE: [Openstack] nova network external gateway
> 
> You can try the solution proposed by Vish on February 23, 2012.
> Put the flag and the config file on the nodes with nova-network as they have 
> dnsmasq running:
>  
>  
> “ Then you can use
> --dnsmasq_config_file=/path/to/config
> in that config file you can use:
> dhcp_opiton=3,<ip of router> to force vms to use your router as their 
> gateway. “
>  
>  
>  
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Sergio Ariel de la Campa Saiz
> Sent: Friday, May 18, 2012 8:49 AM
> To: [email protected]; [email protected]
> Subject: [Openstack] nova network external gateway
>  
> Hi:
>  
> I have installed Essex and I´m using vlan networking. All virtual machines 
> use the same vlan, but I want all of them use an external gateway, I mean, a 
> real router of my network instead of a nova node.
> I have read about it and I have found a parameter named: 
> dhcpoption=3,<gateway ip>  but I don´t know where to put it. I know that 
> dnsmasq loads it but... from where?? I did not find any dnsmasq.conf in my 
> system and, in the other hand, I put it in my nova.conf file and nothing 
> happened.
>  
> Thanks in advance....
>  
> Good luck...
> Sergio Ariel
> de la Campa Saiz
> GMV-SES Infraestructura / 
> GMV-SES Infrastructure
>  
>  
>  
> GMV 
> Isaac Newton, 11
> P.T.M. Tres Cantos
> E-28760 Madrid
> Tel.
> +34 91 807 21 00
> Fax
> +34 91 807 21 99
> www.gmv.com 
>  
>  
>  
> size=2 width="100%" align=center>
> This message including any attachments may contain confidential information, 
> according to our Information Security Management System, and intended solely 
> for a specific individual to whom they are addressed. Any unauthorised copy, 
> disclosure or distribution of this message is strictly forbidden. If you have 
> received this transmission in error, please notify the sender immediately and 
> delete it.
> Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener 
> información clasificada por su emisor como confidencial en el marco de su 
> Sistema de Gestión de Seguridad de la Información siendo para uso exclusivo 
> del destinatario, quedando prohibida su divulgación copia o distribución a 
> terceros sin la autorización expresa del remitente. Si Vd. ha recibido este 
> mensaje erróneamente, se ruega lo notifique al remitente y proceda a su 
> borrado. Gracias por su colaboración.
> Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informação 
> confidencial, de acordo com nosso Sistema de Gestão de Segurança da 
> Informação, sendo para uso exclusivo do destinatário e estando proibida a sua 
> divulgação, cópia ou distribuição a terceiros sem autorização expressa do 
> remetente da mesma. Se recebeu esta mensagem por engano, por favor avise de 
> imediato o remetente e apague-a. Obrigado pela sua colaboração.
> This message including any attachments may contain confidential information, 
> according to our Information Security Management System, and intended solely 
> for a specific individual to whom they are addressed. Any unauthorised copy, 
> disclosure or distribution of this message is strictly forbidden. If you have 
> received this transmission in error, please notify the sender immediately and 
> delete it.
> Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener 
> información clasificada por su emisor como confidencial en el marco de su 
> Sistema de Gestión de Seguridad de la Información siendo para uso exclusivo 
> del destinatario, quedando prohibida su divulgación copia o distribución a 
> terceros sin la autorización expresa del remitente. Si Vd. ha recibido este 
> mensaje erróneamente, se ruega lo notifique al remitente y proceda a su 
> borrado. Gracias por su colaboración.
> Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informação 
> confidencial, de acordo com nosso Sistema de Gestão de Segurança da 
> Informação, sendo para uso exclusivo do destinatário e estando proibida a sua 
> divulgação, cópia ou distribuição a terceiros sem autorização expressa do 
> remetente da mesma. Se recebeu esta mensagem por engano, por favor avise de 
> imediato o remetente e apague-a. Obrigado pela sua colaboração.
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to