1
24.7 Production Series / Help needed in setting up vlan in opnsense
« on: October 13, 2024, 09:04:13 pm »
I am trying to set up a vlan in my opnsense box.
Following the instruction in https://www.zenarmor.com/docs/network-security-tutorials/how-to-configure-vlan-on-opnsense, I created a VLAN1 using a physical lan port LAN1 as its parent. The LAN1 port static address is 192.168.3.1, and VLAN1 is 192.168.100.1. The VLAN1 interface is assigned to a logical interface and enabled. Both have DHCP enabled in their respective subnets. For testing purpose, I created firewall rules to allow VLAN1 to reach any network. I have a laptop physically linked to the LAN1 port via ethernet cable. When I put the laptop in the LAN1 subset (by using a static IP address 192.168.3.10), it works normally. However, when I change the laptop to the VLAN1 subset (by using a static IP address 192.168.100.10), it cannot reach internet, and no other devices in my home net can reach that laptop. Any clue how to debug and correct the problem? Thanks.
Jim
Following the instruction in https://www.zenarmor.com/docs/network-security-tutorials/how-to-configure-vlan-on-opnsense, I created a VLAN1 using a physical lan port LAN1 as its parent. The LAN1 port static address is 192.168.3.1, and VLAN1 is 192.168.100.1. The VLAN1 interface is assigned to a logical interface and enabled. Both have DHCP enabled in their respective subnets. For testing purpose, I created firewall rules to allow VLAN1 to reach any network. I have a laptop physically linked to the LAN1 port via ethernet cable. When I put the laptop in the LAN1 subset (by using a static IP address 192.168.3.10), it works normally. However, when I change the laptop to the VLAN1 subset (by using a static IP address 192.168.100.10), it cannot reach internet, and no other devices in my home net can reach that laptop. Any clue how to debug and correct the problem? Thanks.
Jim