Community discussions

MikroTik App
 
stevester
just joined
Topic Author
Posts: 8
Joined: Wed Feb 22, 2023 3:53 am

Why isn't macvlan support a priority for MikroTik?

Thu Jun 01, 2023 1:39 am

There are multiple requests on here for this feature, but apparently it's not even on their development timeline. I find this puzzling given the number of use-cases, and this being a standard in Linux for some time. Not to mention the fact that most if not all of their major competitors offer this feature.

Anyone have any insight as to why they are not pursuing it?
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3169
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Why isn't macvlan support a priority for MikroTik?

Thu Jun 01, 2023 2:20 am

Well, IMO VETH covers the need for containers (aka Docker) and VXLAN is the more standard way of using L2 over IP nowadays.
 
DarkNate
Forum Veteran
Forum Veteran
Posts: 997
Joined: Fri Jun 26, 2020 4:37 pm

Re: Why isn't macvlan support a priority for MikroTik?

Fri Jun 02, 2023 1:42 pm

Who in their right mind uses macvlan in 2023?

VXLAN/EVPN/MPLS/SR?
 
stevester
just joined
Topic Author
Posts: 8
Joined: Wed Feb 22, 2023 3:53 am

Re: Why isn't macvlan support a priority for MikroTik?

Fri Jul 07, 2023 9:16 pm

Who in their right mind uses macvlan in 2023?

VXLAN/EVPN/MPLS/SR?
If you search the forums, a common use case such as mine is where for some ISP's you need to present a second mac address to get a second public IP. Hence the usefulness of macvlan. There are other uses still too that are relevant. It's also worth noting that the other router OS's out there generally support it.
 
User avatar
Larsa
Forum Guru
Forum Guru
Posts: 1025
Joined: Sat Aug 29, 2015 7:40 pm
Location: The North Pole, Santa's Workshop

Re: Why isn't macvlan support a priority for MikroTik?

Fri Jul 07, 2023 11:13 pm

In the meantime you might try this vrrp hack

Btw, virtual network devices (veth) could possibly be implemented using Linux Network Namespaces in the current kernel.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3169
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Why isn't macvlan support a priority for MikroTik?

Thu Aug 24, 2023 5:11 pm

FWIW, I just saw MACVLAN interfaces were added in the v7.12beta3. No docs or anything, but was in RN.
 
User avatar
Larsa
Forum Guru
Forum Guru
Posts: 1025
Joined: Sat Aug 29, 2015 7:40 pm
Location: The North Pole, Santa's Workshop

Re: Why isn't macvlan support a priority for MikroTik?

Thu Aug 24, 2023 7:48 pm

tried using the CLI yet?
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3169
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Why isn't macvlan support a priority for MikroTik?

Thu Aug 24, 2023 8:04 pm

tried using the CLI yet?
I'm still not sure the use cases...just read and saw in winbox/cli:
/interface/macvlan/add <tab>
arp             comment       disabled         loop-protect-disable-time      mac-address     name     
arp-timeout     copy-from     loop-protect     loop-protect-send-interval     mode            parent   
 
User avatar
Larsa
Forum Guru
Forum Guru
Posts: 1025
Joined: Sat Aug 29, 2015 7:40 pm
Location: The North Pole, Santa's Workshop

Re: Why isn't macvlan support a priority for MikroTik?

Thu Aug 24, 2023 8:49 pm

I'll check if I can find an MT box to play with at home. Our current ISP/CO can offer 4 IP addresses over the same cable using the media converter XG6846, but requires a distinct MAC addresse for each one.
 
stevester
just joined
Topic Author
Posts: 8
Joined: Wed Feb 22, 2023 3:53 am

Re: Why isn't macvlan support a priority for MikroTik?

Sun Aug 27, 2023 6:46 pm

Macvlan is working great! No need anymore for the VRRP hack, I can get multiple public IP's via dhcp from my ISP with this now.
 
User avatar
Larsa
Forum Guru
Forum Guru
Posts: 1025
Joined: Sat Aug 29, 2015 7:40 pm
Location: The North Pole, Santa's Workshop

Re: Why isn't macvlan support a priority for MikroTik?

Sun Aug 27, 2023 9:57 pm

Great! I haven't had time to try it yet so It would be nice if you could share a sample config using export.
 
ToTheCLI
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Mon Jan 04, 2016 3:54 am

Re: Why isn't macvlan support a priority for MikroTik?

Tue Aug 29, 2023 1:53 pm

What's the difference between private and bridge modes?
 
User avatar
Larsa
Forum Guru
Forum Guru
Posts: 1025
Joined: Sat Aug 29, 2015 7:40 pm
Location: The North Pole, Santa's Workshop

Re: Why isn't macvlan support a priority for MikroTik?

Mon Sep 04, 2023 7:58 pm

Has anyone gotten this to work yet using 7.12?
 
arainbow
newbie
Posts: 36
Joined: Sat Sep 15, 2012 12:05 pm

Re: Why isn't macvlan support a priority for MikroTik?

Tue Sep 05, 2023 10:32 am

I have to say that macvlan is very useful, I am very happy to have this feature. But when I add another VLAN on the macvlan interface, the router restarts immediately.
 
rplant
Member Candidate
Member Candidate
Posts: 281
Joined: Fri Sep 29, 2017 11:42 am

Re: Why isn't macvlan support a priority for MikroTik?

Wed Sep 06, 2023 2:23 pm

Adding a macVlan onto eth1 of a hex PoE seems to work, however fastrack only seems to work in 1 direction.
From router towards upstream ok, downstream does not get fasttracked.
 
User avatar
Larsa
Forum Guru
Forum Guru
Posts: 1025
Joined: Sat Aug 29, 2015 7:40 pm
Location: The North Pole, Santa's Workshop

Re: Why isn't macvlan support a priority for MikroTik?

Wed Sep 06, 2023 3:33 pm

Could you please share an export of just the MACVLAN config?
 
rplant
Member Candidate
Member Candidate
Posts: 281
Joined: Fri Sep 29, 2017 11:42 am

Re: Why isn't macvlan support a priority for MikroTik?

Thu Sep 07, 2023 3:09 am

/interface macvlan
add mac-address=CC:2D:E0:68:xx:xx name=ether1.macvlan1 parent=ether1

also

/ip dhcp-client
add add-default-route=no interface=ether1.macvlan1

Then on dhcp server I give it an alternate IP address.

add address=192.168.92.20 client-id=1:cc:2d:e0:68:xx:xx \
mac-address=CC:2D:E0:68:xx:xx server=defconf

/ip dhcp-server network
add address=192.168.92.0/24

Who is online

Users browsing this forum: GoogleOther [Bot] and 24 guests