English Forums > Tutorials and FAQs

OPNSense configuration to allow Vlan traffic from a cisco switch

(1/1)

AJB:
Good day, i hope some can help me with this configuration challenge i have.
my topology looks something like the attached image.
my initial configuration looks something like this
Router --------------- Switch
I want to change that setup to something like this.
 Router ---------- Firewall ----------- Cisco Switch.
The switch has 2 Vlans on it, one for management and the other VLAN for production, The gig0/1 on the switch is a trunk port that carries traffic to the router router on gi0/0/1, while the public IP is on gi0/0/0.
After introducing the firewall into the setup, the connection i want to achieve is something like this.
gig0/1 on the switch which is the trunk port should be connected to the hn1 which is the LAN on the firewall, and the hn0 which is the WAN interface on the Firewall will connect to the router on gi0/0/0.
The challenge is that i have not been able to get it to work
Note: The cisco switch server has the DHCP server
         The IP on the hn1 which is the LAN is 152.16.0.7/25 while the IP on the hn0 is 152.16.0.8  and the LAN gateway on the router is 152.16.0.1

vikozo:
Hello
opnSense is working with VLAN Tag's so you have to define your VLAN on the opnSense and on the cisco side you do a trunk configuration

have a nice day
vinc

Navigation

[0] Message Index

Go to full version