<div dir="ltr"><div><div><code class=""><span class=""><br>Hi, thank you all for your answers.<br><br>Aaron, floating IP delegations from <a href="http://192.168.22.0/24">192.168.22.0/24</a> and then translating to public IP addresses is my backup plan if this won't work, but I really hope that we can get it working :-)<br>
<br>Martinx, If I would disable NAT at the Neutron L3 then, if I understand it correctly, my currently working set-up (with private subnet) will not function any more which I don't want. I want to use this private IPs and routing as it works right now for *majority* of instances, but on top of that have some instances that I need to bring up publicly.<br>
<br>Robert, when trying<br>neutron net-create public --tenant_id a0edd2a531bb41e6b17e0fd644bfd494 --provider:network_type vlan --provider:physical_network default --provider:segmentation_id 1100 --shared True<br><br>I get:<br>
Request Failed: internal server error while processing your request.<br>and in the Neutron's server.log:<br>2014-04-23 10:25:29.929 5164 ERROR neutron.api.v2.resource [req-7745e39d-7740-4f90-82a2-a0c363617e93 None] create failed<br>
2014-04-23 10:25:29.929 5164 TRACE neutron.api.v2.resource Traceback (most recent call last):<br>2014-04-23 10:25:29.929 5164 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 87, in resource<br>
2014-04-23 10:25:29.929 5164 TRACE neutron.api.v2.resource result = method(request=request, **args)<br>2014-04-23 10:25:29.929 5164 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 355, in create<br>
2014-04-23 10:25:29.929 5164 TRACE neutron.api.v2.resource allow_bulk=self._allow_bulk)<br>2014-04-23 10:25:29.929 5164 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 605, in prepare_request_body<br>
2014-04-23 10:25:29.929 5164 TRACE neutron.api.v2.resource res_dict[attr] = attr_vals['convert_to'](res_dict[attr])<br>2014-04-23 10:25:29.929 5164 TRACE neutron.api.v2.resource TypeError: int() argument must be a string or a number, not 'list'<br>
2014-04-23 10:25:29.929 5164 TRACE neutron.api.v2.resource<br><br>When I try:<br>neutron net-create public --tenant_id a0edd2a531bb41e6b17e0fd644bfd494 --provider:network_type flat --provider:physical_network default --shared True<br>
<br>Invalid input for provider:physical_network. Reason: '[u'default', u'True']' is not a valid string.<br><br>For being able to use --provider:physical_network I need bridge_mappings in configuration, right? When I add it, my existing GRE network stops working.<br>
<br>It seems I am lost here ...<br><br>Thank you for all the ideas.</span></code></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 23, 2014 at 8:44 AM, Robert van Leeuwen <span dir="ltr"><<a href="mailto:Robert.vanLeeuwen@spilgames.com" target="_blank">Robert.vanLeeuwen@spilgames.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">> I am using GRE tunneling and OVS and have several instances working perfectly. They get private IP<br>
> addresses (range:<a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a>) and get routed through my local IP subnet (<a href="http://192.168.22.0/24" target="_blank">192.168.22.0/24</a>) out via<br>
> my HW router's 192.168.22.1.<br>
> This setup works good and I am pretty happy with it.<br>
<br>
>What bothers me is the case where I need to delegate<br>
>some of our instances a direct public IP address, without<br>
>the need for<br>
>any NAT whatsoever.<br>
<br>
</div>You can mix GRE and VLAN based networks.<br>
e.g.:<br>
neutron net-create public --tenant_id $tenant-id --provider:network_type vlan --provider:physical_network default --provider:segmentation_id $vlan-id --shared True<br>
<br>
Since this is just a regular VLAN network you can directly patch your router for the segment also in that VLAN and things should work :)<br>
<br>
Cheers,<br>
Robert van Leeuwen<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>