Re: [Openstack] how to set individual gateway for each VLAN or Tenant network?

2012-06-12 Thread Diego Parrilla SantamarĂ­a
It would be great if you can share the code, no matter if it's in Diablo. -- Diego Parrilla http://www.stackops.com/*CEO* *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 | skype:diegoparrilla* * http://www.stackops.com/ * * On Mon, Jun 11, 2012 at 8:17 PM, Nathanael

Re: [Openstack] how to set individual gateway for each VLAN or Tenant network?

2012-06-12 Thread Nathanael Burton
Lorin, Diego, I wrote up a pastebin of setting up an example dnsmasq.conf file, setting it within nova.conf, patching linux_net.py (in stable/essex), and showing the example dhcp leases file which set custom values for the router, ntp-server, and dns-server using the dnsmasq conf and tags based

Re: [Openstack] how to set individual gateway for each VLAN or Tenant network?

2012-06-12 Thread Lorin Hochstein
Cool, thanks. I'll try to get this into the docs. Take care, Lorin -- Lorin Hochstein Lead Architect - Cloud Services Nimbis Services, Inc. www.nimbisservices.com On Jun 12, 2012, at 11:10 AM, Nathanael Burton wrote: Lorin, Diego, I wrote up a pastebin of setting up an example

Re: [Openstack] how to set individual gateway for each VLAN or Tenant network?

2012-06-12 Thread Nathanael Burton
It would probably be a good idea to get the patch made to master for using dnsmasq tags to customize the dhcp server configuration. Maybe I'll submit a patch in my down time. Thanks, Nate On Jun 12, 2012 12:03 PM, Lorin Hochstein lo...@nimbisservices.com wrote: Cool, thanks. I'll try to get

Re: [Openstack] how to set individual gateway for each VLAN or Tenant network?

2012-06-11 Thread Nathanael Burton
dnsmasq supports setting parameters such as the gateway IP and other settings based on tag. I have run a patched version of nova-network in the Diablo time that used the network DB label field as the network tag in dnsmasq. This then allows you to set custom configs by modifying the dnsmasq.conf

Re: [Openstack] how to set individual gateway for each VLAN or Tenant network?

2012-06-11 Thread Lorin Hochstein
Hey Nate: On Jun 11, 2012, at 2:17 PM, Nathanael Burton wrote: dnsmasq supports setting parameters such as the gateway IP and other settings based on tag. I have run a patched version of nova-network in the Diablo time that used the network DB label field as the network tag in dnsmasq. This

[Openstack] how to set individual gateway for each VLAN or Tenant network?

2012-06-04 Thread romi zhang
Hi, I am using VLAN network mode and will connect eth1 and eth2 of my compute node to the LAN Switch, and LAN switch will create individual VLAN IP interface for each Tenant/VLAN and then route to the NAT equipment,through SNAT/DNAT to touch internet. So, that needs I can set the default