Page 1 of 1
Is it possible to change MAC address format?
Posted: Tue May 02, 2017 4:03 am
by mafiasoleh
dear forum members and team.
so straight to the point with my question, is it possible to change MAC address format from eve-ng default format to other MAC address format.
by default when we creating a node it will be given with MAC address format like this 50:00:00:0x:00:0y
which mean x=node number, y=interface number.
if i wanna change MAC address with this format 11:00:00:0x:00:0y is it possible to do? if it's possible in which file we can edit it?
thanks alot..
Re: Is it possible to change MAC address format?
Posted: Tue May 02, 2017 6:15 am
by ramindia
mafiasoleh wrote: ↑Tue May 02, 2017 4:03 am
dear forum members and team.
so straight to the point with my question, is it possible to change MAC address format from eve-ng default format to other MAC address format.
by default when we creating a node it will be given with MAC address format like this 50:00:00:0x:00:0y
which mean x=node number, y=interface number.
if i wanna change MAC address with this format 11:00:00:0x:00:0y is it possible to do? if it's possible in which file we can edit it?
thanks alot..
Yes possible, you can look file __node.php for MAC changing.
Note: make sure stop all the labs and nodes while you modifying any code in EVE-NG.
R!
Re: Is it possible to change MAC address format?
Posted: Tue May 02, 2017 5:28 pm
by ecze
Let me remind that any change into php code will be overwritten on each update....
E.
Re: Is it possible to change MAC address format?
Posted: Tue May 02, 2017 8:55 pm
by Uldis (UD)
I do not recommend to do that...this can spoil up all your EVE.
Future we have plans for qemu noees implement cusctom MAC addressing..but not now
Re: Is it possible to change MAC address format?
Posted: Thu May 04, 2017 1:20 pm
by mafiasoleh
ramindia wrote: ↑Tue May 02, 2017 6:15 am
Yes possible, you can look file __node.php for MAC changing.
Note: make sure stop all the labs and nodes while you modifying any code in EVE-NG.
R!
dear ramindia,
thanks for advice.
technicaly i can change the mac address format with format i want, but all qemu base image cannot comunicate each other except iol image base.
Uldis (UD) wrote: ↑
I do not recommend to do that...this can spoil up all your EVE.
Future we have plans for qemu noees implement cusctom MAC addressing..but not now
thanks mate.