Mikrotik Interface Naming

Moderator: mike

Post Reply
Matze2310
Posts: 16
Joined: Fri Oct 06, 2017 8:36 am

Mikrotik Interface Naming

Post by Matze2310 » Tue Mar 05, 2019 2:23 pm

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.

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Mikrotik Interface Naming

Post by Uldis (UD) » Tue Mar 05, 2019 11:01 pm

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

Matze2310
Posts: 16
Joined: Fri Oct 06, 2017 8:36 am

Re: Mikrotik Interface Naming

Post by Matze2310 » Wed Mar 06, 2019 6:39 am

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

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Mikrotik Interface Naming

Post by Uldis (UD) » Wed Mar 06, 2019 1:49 pm

right cick on stopped node/edit
You do not have the required permissions to view the files attached to this post.

Matze2310
Posts: 16
Joined: Fri Oct 06, 2017 8:36 am

Re: Mikrotik Interface Naming

Post by Matze2310 » Wed Mar 06, 2019 5:50 pm

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
You do not have the required permissions to view the files attached to this post.

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Mikrotik Interface Naming

Post by Uldis (UD) » Wed Mar 06, 2019 6:45 pm

yea, my screenshot is from EVE Pro...

Matze2310
Posts: 16
Joined: Fri Oct 06, 2017 8:36 am

Re: Mikrotik Interface Naming

Post by Matze2310 » Thu Mar 07, 2019 5:01 pm

so there is no change to get this feature in Community Version?

nbctcp
Posts: 41
Joined: Tue Apr 04, 2017 7:36 am

Re: Mikrotik Interface Naming

Post by nbctcp » Mon Mar 25, 2019 8:00 pm

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

Post Reply