Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Need help setting up vlans with OpnSense and Cisco Switch.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Need help setting up vlans with OpnSense and Cisco Switch. (Read 4307 times)
Georgi27
Newbie
Posts: 5
Karma: 0
Need help setting up vlans with OpnSense and Cisco Switch.
«
on:
August 22, 2018, 07:05:20 pm »
Hey all,
So here's what I'm trying to do.
I have a Cisco switch configured to have Vlans separating two networks.
Network 1 is for the office, servers, routers, and network 2 is for the guest Wifi running through an access point.
I have OpnSense installed on an old-ish workstation as a Router giving out ips through DHCP.
My question is this;
How do I go about creating 2 vlans on the Cisco switch and have the DHCP server proliferate it's addresses through both networks?
Logged
phab
Newbie
Posts: 6
Karma: 0
Re: Need help setting up vlans with OpnSense and Cisco Switch.
«
Reply #1 on:
August 22, 2018, 08:36:50 pm »
either use 2 seperate interfaces on your firewall or create vlans on the firewall - the physical interface i.e. LAN then transports vlan 10, 20, 30 (example) - cisco switch port must be configured as trunk though (allow all vlans through) - all other ports must be so called "access ports" on specific vlans i.e 10 or 20 or 30.
on the firewall just have dhcp running for each network on each vlan
vlan 10 10.1.10.0/24 default gw (interface of fwl) 10.1.10.254 dhcp range 10.1.10.1-100
vlan 20 10.1.20.0/24 default gw (interface of fwl) 10.1.20.254 dhcp range 10.1.20.1-100
and so on
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Need help setting up vlans with OpnSense and Cisco Switch.