Route between vlan not working correctly

Started by mekano, October 23, 2023, 02:28:41 AM

Previous topic - Next topic
Hi, i have a couple of vlan in my opensense config.

i have created rules to allow acces to devices between vlan but they are not working. I think i know why but don't know how to solve it.

vlan 10 192.168.10.0/24 ip of the interfcace 192.168.10.1
vlan 20 192.168.20.0/24 ip of the interface 192.168.20.1

When i do a tracert from the client on vlan 1 to a client on vlan 2 i got this

tracert -d 192.168.20.10
1 ms 1ms 1ms 192.168.10.1
2ms 2ms 20ms Gateway of my wan
* * *
* * *
* * *
* * *


So it never to through the client on vlan 20.

Thank you for your help

Remove the gateway setting from your "allow" rules.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: mekano on October 23, 2023, 02:28:41 AM


vlan 10 192.168.10.0/24 ip of the interfcace 192.168.10.1
vlan 20 192.168.20.0/24 ip of the interface 192.168.20.1


Do what Patrick said.

For InterVLAN routing within your VLAN domains you dont need RPLs (also you have them wrong). Currently you are forcing the traffic on IN do go back from where it came.

Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD