Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
VLAN issues where MACs are not sticky [ SOLVED ]
« previous
next »
Print
Pages: [
1
]
Author
Topic: VLAN issues where MACs are not sticky [ SOLVED ] (Read 424 times)
dev4openid
Newbie
Posts: 19
Karma: 0
VLAN issues where MACs are not sticky [ SOLVED ]
«
on:
March 09, 2024, 10:25:43 pm »
Hi,
Warning: Noobie here and learning.
I have 24.1.3_1 running, and it is petty good
(Been a learning curve!)
I have a simple arrangement of ISP---- > OPNSense -----> netgear GS108T smart switch-----> with 1x Macminis and 1 PC
At the moment, everything is running as 192.168.1.x space
I have defined a number of VLANS.
Now I have taken the PC and assigned it a 192.168.20.x IP in the DHCP definition for the VLAN (i.e. moved PC to VLAN USERS)
I have included that the Firewall has a rule that allows access to the internet from the VLAN
Problem is, the PC cannot connect to the internet via the VLAN; (when the IP is 192.168.20.x) and defers back to an IP 192.168.1.y (I can manually force the IP to 192.168.20.x
So, can somebody confirm that I have to create VLAN definition in switch to enable PC to "bind" to VLAN or not? So that the PC can access the internet)
The corollary is that if I only had a simple switch (and not a smart switch) then I cannot have VLANs.
Is this correct?
«
Last Edit: March 09, 2024, 10:46:03 pm by dev4openid
»
Logged
Patrick M. Hausen
Hero Member
Posts: 6802
Karma: 572
Re: VLAN issues where MACs are not sticky
«
Reply #1 on:
March 09, 2024, 10:36:37 pm »
Correct. Tagged VLANs exist on the link from OPNsense to switch. The switch must assign these VLANs to individual ports without tags, so client devices end up "in" the proper VLAN.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
dev4openid
Newbie
Posts: 19
Karma: 0
Re: VLAN issues where MACs are not sticky
«
Reply #2 on:
March 09, 2024, 10:45:43 pm »
Hi,
OK got it. Next steps I have to do!
Thanks!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
VLAN issues where MACs are not sticky [ SOLVED ]