Page 1 of 1

Mikrotik Interface Naming

Posted: Tue Mar 05, 2019 2:23 pm
by Matze2310
Hi to all,

i have got a Problem with the Interface naming in the Mikrotik Software.
Here is the Output from the Router:

Code: Select all

[admin@MikroTik] > interface print detail
Flags: D - dynamic, X - disabled, R - running, S - slave
 0  R  name="ether1" default-name="ether1" type="ether" mtu=1500
       actual-mtu=1500 mac-address=50:00:00:03:00:01
       last-link-up-time=mar/05/2019 14:19:35 link-downs=0

 1  R  name="ether2" default-name="ether2" type="ether" mtu=1500
       actual-mtu=1500 mac-address=50:00:00:03:00:02
       last-link-up-time=mar/05/2019 14:19:36 link-downs=0

 2  R  name="ether3" default-name="ether3" type="ether" mtu=1500
       actual-mtu=1500 mac-address=50:00:00:03:00:03
       last-link-up-time=mar/05/2019 14:19:37 link-downs=0

 3  R  name="ether4" default-name="ether4" type="ether" mtu=1500
       actual-mtu=1500 mac-address=50:00:00:03:00:00
       last-link-up-time=mar/05/2019 14:19:44 link-downs=0
As you can see ether4 has the lowest Mac but it is called ether4 in the Router.
Is there a change to change to tell EVE-NG to start with mac 1 and not with 0?
Problem is that in EVE Interface with MAC 50:00:00:03:00:00 is eth1 and not eth4 as in Mikrotik.
This weired when setting up a lab with these Routers.

I know this is a problem from Mikrotik, but maybe we can bypass this issue within EVE.

Re: Mikrotik Interface Naming

Posted: Tue Mar 05, 2019 11:01 pm
by Uldis (UD)
you can manually set first mac address on first interface,
next interface mac will be counted from first +1
right click edit node and set first mac address

Re: Mikrotik Interface Naming

Posted: Wed Mar 06, 2019 6:39 am
by Matze2310
sorry for that silly question but where can i enter the "Base" MAC?
under the Qemu Options? and what would be the actual command to enter?

or is there changes to tell EVE not use 0 as last 2 Digits?

i tried with "-net nic,model=e1000,macaddr=", but this changes only the mac of 1 Interface and adds another Interface so i ended up with having 5 Interface on the Mikrotik.
this makes this even more confusing

Re: Mikrotik Interface Naming

Posted: Wed Mar 06, 2019 1:49 pm
by Uldis (UD)
right cick on stopped node/edit

Re: Mikrotik Interface Naming

Posted: Wed Mar 06, 2019 5:50 pm
by Matze2310
i don't have this option in the Community Edition :cry:

I tested this on an old/upgraded installation and on a fresh installed system

Re: Mikrotik Interface Naming

Posted: Wed Mar 06, 2019 6:45 pm
by Uldis (UD)
yea, my screenshot is from EVE Pro...

Re: Mikrotik Interface Naming

Posted: Thu Mar 07, 2019 5:01 pm
by Matze2310
so there is no change to get this feature in Community Version?

Re: Mikrotik Interface Naming

Posted: Mon Mar 25, 2019 8:00 pm
by nbctcp
I have 2 problems
1. I can't connect winbox through MAC address. connect with ip is ok
2. I can't change MAC address
[admin@MikroTik] > /interface ethernet print
Flags: X - disabled, R - running, S - slave
# NAME MTU MAC-ADDRESS ARP
0 R ether1 1500 50:00:00:02:00:00 enabled
1 RS ether2 1500 50:00:00:02:00:01 enabled
2 RS ether3 1500 50:00:00:02:00:02 enabled
3 RS ether4 1500 50:00:00:02:00:03 enabled
[admin@MikroTik] > /interface ethernet set mac-address=50:00:00:02:00:01 0
[admin@MikroTik] > /interface ethernet print
Flags: X - disabled, R - running, S - slave
# NAME MTU MAC-ADDRESS ARP
0 R ether1 1500 50:00:00:02:00:00 enabled
1 RS ether2 1500 50:00:00:02:00:01 enabled
2 RS ether3 1500 50:00:00:02:00:02 enabled
3 RS ether4 1500 50:00:00:02:00:03 enabled

QUESTIONS:
1. anyone successfully connected to Mikrotik through MAC address in EVE-NG?

tq