Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
opnsense firewall as a router
« previous
next »
Print
Pages: [
1
]
Author
Topic: opnsense firewall as a router (Read 1098 times)
kripa
Newbie
Posts: 6
Karma: 0
opnsense firewall as a router
«
on:
July 07, 2023, 05:48:21 pm »
Hi ,
I am a student using opnsense for the first time.
I am using opnsense as a router by installing it in a tower PC.In my setup,
I have 3 devices with are connected to the router via a switch
All the devices are in different network .
Device 1:10.90.90.13/24 in vlan 1
device2:10.90.92.2/30 in vlan 10
device 3:10.90.93.2/30 in vlan 30 of the switch respectively.
I have set the interfaces, vlan, dhcpv4,firewall,gateway in opnsense.
Default Gateway:
Device 1:10.90.90.1
Device 2:10.90.92.1
Device 3 :10.90.93.1
At the moment i am able to ping the default gateways from the devices.
My goal is to able to communicate between the devices.
I am stuck in this for a long time.
Appreciate if someone could provide some ideas.
«
Last Edit: July 07, 2023, 05:50:19 pm by kripa
»
Logged
lilsense
Hero Member
Posts: 600
Karma: 19
Re: opnsense firewall as a router
«
Reply #1 on:
July 07, 2023, 06:30:28 pm »
I presume you have one port set up on your PC connected to the switch. how's that configured both on the PC and the Switch?
Logged
kripa
Newbie
Posts: 6
Karma: 0
Re: opnsense firewall as a router
«
Reply #2 on:
July 10, 2023, 01:32:00 pm »
So the pc is connected to the switch via ethernet cable and the port is assigned to be in default vlan.
Logged
lilsense
Hero Member
Posts: 600
Karma: 19
Re: opnsense firewall as a router
«
Reply #3 on:
July 11, 2023, 02:56:10 am »
How do you presume that PC is going to communicate with the VLAN's?
May be I am missing something. Please use
https://app.diagrams.net
to make a drawing of your network with IP address subnets and everything.
Logged
kripa
Newbie
Posts: 6
Karma: 0
Re: opnsense firewall as a router
«
Reply #4 on:
July 11, 2023, 01:15:50 pm »
The vm is configured in default vlan in switch ,opal in vlan 20 and mqtt in vlan 30 .
I have assigned a trunk port(vlan 20,30) in the connection between switch and opnsense.
but the default vlan is not set in the trunk port .
when i try to set it the opnsense gui crashes.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
opnsense firewall as a router