Ask Your Question
0

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

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

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 https://www.online.net/en (online.net) 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"(https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/port.html#port-create (link to command)) command there is parametr to set mac-address, but when I use "openstack port set" (https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/port.html#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
0

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

TijoV gravatar image

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

edit flag offensive delete link more

Comments

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 387 times

Last updated: Jul 18 '17