Neutron set gateway with defined port

asked 2014-06-25 08:17:35 -0500

HoangDo gravatar image

updated 2014-06-25 08:19:18 -0500

Hey guys,

I want to create a router gateway to ext-net with a defined port. I can manually create port with this command:

neutron port-create --mac-address 02:00:00:c5:7a:13 --fixed-ip subnet_id=c2189d57-06a4-4fe0-9258-54cb4af9d7f9,ip_address=46.105.252.216 ext-net

But then to create gateway, this command:

neutron router-gateway-set demo-router ext-net

create a new port, with new MAC address, and use it as gateway NIC. The question is how can I use my defined port above as gateway NIC, instead of a new one? I want to use my own MAC address.

Hope you can help me out.

edit retag flag offensive close merge delete