opnsense firewall as a router

Started by kripa, July 07, 2023, 05:48:21 PM

Previous topic - Next topic
July 07, 2023, 05:48:21 PM Last Edit: July 07, 2023, 05:50:19 PM by kripa
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.




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????

So the pc is connected to the switch via ethernet cable and the port is assigned to be in default vlan.

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.

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.