2 classes on the same LAN. Configure OPN as a router.

Started by NiCo67, April 20, 2023, 01:03:00 PM

Previous topic - Next topic
Hello group,
I have 2 classes of addressing on the same LAN.
The first 192.168.0.0/24 with default gateway 192.168.0.1 to the internet
The second 192.168.1.0/24.
I have setup an OPNSense server on VM with 2 NICs.
The first card with IP 192.168.0.10 and gateway 192.168.0.1
The second card with IP 192.168.1.10.
The clients of the 192.168.0.0/24 network surf the internet peacefully with the default gateway 192.168.0.1
I would like clients on the 192.168.1.0/24 network to use the OPN server as a gateway with the address 192.168.1.10.
Basically the OPN server should act as a router between the 192.168.1.0/24 class and the 192.168.0.1/24 class and the default gateway 192.168.0.1
What steps do I need to do to configure it?
I thank you in advance.