Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Opnsense VLAN + cisco switch
« previous
next »
Print
Pages: [
1
]
Author
Topic: Opnsense VLAN + cisco switch (Read 2071 times)
raid3868
Newbie
Posts: 11
Karma: 0
Opnsense VLAN + cisco switch
«
on:
May 11, 2020, 08:24:27 am »
Dear all
I need hep for setting opnsense + cisco switch.
192.168.1.254
Internet wan <----> opnsense 20.1.6 <----> Lan Cisco switch
vlan 81
vlan 10
setup at cisco switch 8 port
vlan 81
vlan 10
vlan 1 (default )
vlan1
GE1(VLan81) Trunk Excluded
GE2(VLan10) Trunk Excluded
GE4 Trunk Untagged
GE5 Trunk Untagged
GE6 Trunk Untagged
GE7 Trunk Untagged
GE8 Trunk Untagged ---> Link to opnsense Lan port
vlan81
GE1(VLan81) Trunk Tagged
GE2(VLan10) Trunk Excluded
GE4 Trunk Excluded
GE5 Trunk Excluded
GE6 Trunk Excluded
GE7 Trunk Excluded
GE8 Trunk Tagged ---> Link to opnsense Lan port
vlan10
GE1(VLan81) Trunk Excluded
GE2(VLan10) Trunk Tagged
GE4 Trunk Excluded
GE5 Trunk Excluded
GE6 Trunk Excluded
GE7 Trunk Excluded
GE8 Trunk Tagged ---> Link to opnsense Lan port
For Opnsense
Interfaces-->Other Types--> VLAN and create vlan 81 and vlan 10
Then
Interfaces-->Assignments and asign vlan 18 and vlan 10 to Lan
then
Interface vlan81 and asign ip 192.168.3.254/24
interface vlan10 and asign ip 192.168.4.254/24
after save all
Firewall --> Rules
V81 add rules
Protocol Source Port Destination Port Gateway
IPv4* V81 net * * * *
save and enable rule
V10 add rules
Protocol Source Port Destination Port Gateway
IPv4* V10 net * * * *
save and enable rule
i do not use dhcp so i put fix ip at my laptop and connected to cisco switch GE1 Ip 192.168.3.10/24
also put fix ip at my laptop and connected to cisco switch GE2 Ip 192.168.4.10/24
But still cannot connect internet. Any step is doing wrongly?
For vlan1 i can connect internet and ping firewall.
What i have missed. please help Thank you very much
«
Last Edit: May 11, 2020, 08:47:51 am by raid3868
»
Logged
raid3868
Newbie
Posts: 11
Karma: 0
Re: Opnsense VLAN + cisco switch
«
Reply #1 on:
May 12, 2020, 06:39:34 am »
Thank guy,
I have make it work.
Thank you
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Opnsense VLAN + cisco switch