Perhaps post the config you're trying.
The VRRP part is pretty simple:
- Each VLAN needs a VRRP interface, with the VLAN interface being selected (note NOT the bridge).
- Each VRRP interface should have /ip/address ending in .254/32 (note NOT /24, the VLAN IP should be /24, not the VRRP interface).
Where this can go wrong...
- Bridge VLAN Config - Assuming /interface/bridge... vlan-filtering=yes is need, and bridge vlan table need to be configured right (including bridging being marked as tagged=)
- Firewall - VRRP is still an interface, so it needs to be allowed the same access as the VLAN in firewall filter rules. In a simple, case the VRRP should be added as "LAN" interfaces in /interface/list
- DHCP Server - the VRRP address should be gateway in /ip/dhcp-server/netwrok for the two VLANs here
I am attaching the configuration in both graphic and command form. Look, my problem is as follows: I receive the VLANs through the Ether1 interface and, if I request a DHCP client, it provides me with an IP (we could say that I receive both VLANs through that interface, or so I suppose). Now, I want one of those VLANs, which in this case is VLAN 10, to pass through the Ether2 interface and thereby obtain an IP from the range. With that IP from the range, I want to configure VRRP.
My problem is that Ether2 is not taking VLAN 10. The only way for it to take VLAN 10 is by adding it to a bridge, but if I do that, VRRP will not work on Ether2 or on VLAN 10 that is directed to that interface. Is that clear?
# jul/02/2024 13:29:42 by RouterOS 6.47.7
# software id = G353-EXPG
#
#
#
/interface ethernet
set [ find default-name=ether1 ] mac-address=50:7B:93:00:03:00
set [ find default-name=ether2 ] mac-address=50:7B:93:00:03:01
set [ find default-name=ether3 ] mac-address=50:7B:93:00:03:02
set [ find default-name=ether4 ] mac-address=50:7B:93:00:03:03
/interface vrrp
add interface=ether2 name=vrrp1-ether2
/interface vlan
add interface=ether1 name=vlan10-ether1 vlan-id=10
add interface=ether2 name=vlan10-ether2 vlan-id=10
add interface=ether1 name=vlan20-ether1 vlan-id=20
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/lora servers
add address=eu.mikrotik.thethings.industries down-port=1700 name=TTN-EU \
up-port=1700
add address=us.mikrotik.thethings.industries down-port=1700 name=TTN-US \
up-port=1700
/tool user-manager customer
set admin access=\
own-routers,own-users,own-profiles,own-limits,config-payment-gw
/ip address
add address=192.168.10.254 interface=vrrp1-ether2 network=192.168.10.254
/ip cloud
set update-time=no
/ip dhcp-client
add disabled=no interface=vlan10-ether1
add disabled=no interface=vlan20-ether1
add disabled=no interface=vlan10-ether2
/system lcd
set contrast=0 enabled=no port=parallel type=24x4
/system lcd page
set time disabled=yes display-time=5s
set resources disabled=yes display-time=5s
set uptime disabled=yes display-time=5s
set packets disabled=yes display-time=5s
set bits disabled=yes display-time=5s
set version disabled=yes display-time=5s
set identity disabled=yes display-time=5s
set vlan10-ether1 disabled=yes display-time=5s
set vrrp1-ether2 disabled=yes display-time=5s
set ether1 disabled=yes display-time=5s
set ether2 disabled=yes display-time=5s
set ether3 disabled=yes display-time=5s
set ether4 disabled=yes display-time=5s
set vlan20-ether1 disabled=yes display-time=5s
set vlan10-ether2 disabled=yes display-time=5s
/tool user-manager database
set db-path=user-manager
You do not have the required permissions to view the files attached to this post.