Page 1 of 1
Why isn't macvlan support a priority for MikroTik?
Posted: Thu Jun 01, 2023 1:39 am
by stevester
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?
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Thu Jun 01, 2023 2:20 am
by Amm0
Well, IMO VETH covers the need for containers (aka Docker) and VXLAN is the more standard way of using L2 over IP nowadays.
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Fri Jun 02, 2023 1:42 pm
by DarkNate
Who in their right mind uses macvlan in 2023?
VXLAN/EVPN/MPLS/SR?
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Fri Jul 07, 2023 9:16 pm
by stevester
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.
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Fri Jul 07, 2023 11:13 pm
by Larsa
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.
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Thu Aug 24, 2023 5:11 pm
by Amm0
FWIW, I just saw MACVLAN interfaces were added in the v7.12beta3. No docs or anything, but was in RN.
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Thu Aug 24, 2023 7:48 pm
by Larsa
tried using the CLI yet?
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Thu Aug 24, 2023 8:04 pm
by Amm0
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
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Thu Aug 24, 2023 8:49 pm
by Larsa
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.
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Sun Aug 27, 2023 6:46 pm
by stevester
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.
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Sun Aug 27, 2023 9:57 pm
by Larsa
Great! I haven't had time to try it yet so It would be nice if you could share a sample config using export.
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Tue Aug 29, 2023 1:53 pm
by ToTheCLI
What's the difference between private and bridge modes?
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Mon Sep 04, 2023 7:58 pm
by Larsa
Has anyone gotten this to work yet using 7.12?
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Tue Sep 05, 2023 10:32 am
by arainbow
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.
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Wed Sep 06, 2023 2:23 pm
by rplant
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.
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Wed Sep 06, 2023 3:33 pm
by Larsa
Could you please share an export of just the MACVLAN config?
Re: Why isn't macvlan support a priority for MikroTik?
Posted: Thu Sep 07, 2023 3:09 am
by rplant
/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