Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
VLAN Compatibility with Mikrotik Switchs
« previous
next »
Print
Pages: [
1
]
Author
Topic: VLAN Compatibility with Mikrotik Switchs (Read 2429 times)
PWCDC
Newbie
Posts: 17
Karma: 2
VLAN Compatibility with Mikrotik Switchs
«
on:
February 16, 2021, 02:54:07 am »
Hello,
Has anyone used their OPNSense router with Mikrotik CSS switches (swOS)?
I have a very basic lab set up with a OPNSense box and a CSS-610-8G. Everything works exactly as I would expect, except when I get to VLANS. At that point everything completely stops working.
The lab OPNSense has two VLANS set up (100 and 200), with DHCP set up for each (192.168.100.1/24 and 192.168.200.1/24) respectively. I've set these up, assigned them to an interface (port 3), and plugged that interface into the switch (port 1).
I've added the two VLANs to the VLANS screen, and then chosen port 2 for 100 and port 3 for 200.
I would assume that if I plug a device into each one of these ports, I should get an address from the DHCP server of the respective pool. But I don't even get assigned an IP.
I'm not sure if I am missing something on the opnsense side of the mikrotik side.
Anyone have any suggestions?
Edit:
So upon further testing, it seems to be just the DHCP that is not working with the VLAN. If I assign the computer a static address within the range of the VLAN, and then plug it into the port assigned for that VLAN, everything works fine.
«
Last Edit: February 16, 2021, 03:34:39 am by PWCDC
»
Logged
PWCDC
Newbie
Posts: 17
Karma: 2
Re: VLAN Compatibility with Mikrotik Switchs
«
Reply #1 on:
February 16, 2021, 05:04:09 am »
Okay. Disregard.
Apparently Mikrotik switches currently have a bug
out of the box
where DHCP request packets are getting blocked/dropped on VLANs.
This is a new CSS610 switch, on version 2.12. I ended up fixing it by deep diving into their forums, finding a random semi-recent thread that mentioned a unpublished release candidate. I eventually got the switch updated to an RC of 2.13 and everything started working as expected.
I can see why Mikrotik devices are so divisive in their reception. I'm certainly put off by them after this.
Logged
annoniempjuh
Jr. Member
Posts: 56
Karma: 1
Re: VLAN Compatibility with Mikrotik Switchs
«
Reply #2 on:
February 22, 2021, 11:55:32 am »
I have a Mikrotik 326-24G-2S+RM with swOS 2.12 and its works fine with Vlans.
but when a swap the NIC off the OPNsense to a mellanox connectx-3 Pro, OPNsense is trying to give those devices on the Vlan an IP address from the lan dhcp (this is blocked by the switch because selected ports are vlan only)
and the vlan dhcp server have static ip addresses for those devices...
(i haven't tested by set a static ip on the devices itself, they all use dhcp, i control static ip addresses on OPNsense itself.)
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
VLAN Compatibility with Mikrotik Switchs