[Openstack] Disabling SNAT on neutron router

Scott Lowe scott.lowe at scottlowe.org
Fri Nov 28 14:13:48 UTC 2014


Please see my response below.


On Nov 28, 2014, at 2:00 AM, Maciej Nabożny <mn at mnabozny.pl> wrote:

> Hi,
> is it possible to disable snat on neutron router? I found such option in documentation:
> http://docs.openstack.org/api/openstack-network/2.0/content/update_router_extgwmodes.html
> 
> I cannot find how to do this with command line tools. I've tried:
> 
> neutron router-update 95e0ee8f-bf63-4aab-950d-c0133b0657dc enable_snat=False
> 
> I got error:
> Invalid values_specs enable_snat=False
> 
> Regards,
> Maciek


I'm running Icehouse and had to use the following syntax to disable SNAT on a Neutron logical router:

neutron router-gateway-set --disable-snat <Router ID> <External network ID>

Hope this helps!

-- 
Scott





More information about the Openstack mailing list