Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to set the MAC for the default gateway port?

Many dedicated server provider, like OVH, every IP has own MAC, I can't assign a floating IP on a VM because the IP is bind to its MAC. I have two network:public and private. I created a router, and added private network interface , then setted public network as gateway, so the router has two ports in it. But the default gateway port has random mac fa:16:aa:aa:aa:aa, how can I change the mac of default gateway port? Or any other way to solve the problem of virtual machine access public network in IP-MAC binding environment? I have try to use "port set" in cmd and API to set default gateway port's MAC, It's not working. I use OpenStack Queens. Thanks.