Ask Your Question

How to setup specific MAC address to port without a reboot host machine

asked 2017-07-17 08:51:56 -0600

Oleksandr_M gravatar image

I want to change port`s MAC address without reboot and, If possible, without changing directly in the database.
I'm trying to deploy Open stack on ( servers. On this service an unusual policy assigning addresses in particular there was a problem with floating ip. They assign /32 ptp address with gateway from other broadcast domain. I managed to use several tricks to make it work. I changed MAC address assigned on the service in neutron db manually and reboot host machine.

Maybe someone know a simpler way of changing MAC addresses of router port(gateway). Because, when I use "openstack port create"( (link to command)) command there is parametr to set mac-address, but when I use "openstack port set" ( (link to command)) command I can`t find that parametr.

Physical port (em1) ----> Router gateway port (MAC to change)

And one more, how to reboot only Openstack router, without complete reboot of host machine, to apply new MAC address.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-07-18 04:49:43 -0600

TijoV gravatar image

" service network restart " will help you reload all network related items without a system reboot .

edit flag offensive delete link more


Thanks for reply. Maybe you know how to change port MAC address?

Oleksandr_M gravatar imageOleksandr_M ( 2017-07-21 02:53:28 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-07-17 08:51:56 -0600

Seen: 1,016 times

Last updated: Jul 18 '17