Hello Everyone,
This is my current setup
ISP Router LAN port connected to WAN Port on ASUS Router.
There are four LAN ports on Asus router which are connected to four different clients, I have assigned fixed IP addresses to each of those clients in the router LAN > DHCP settings(192.168.1.2, 192.168.1.3, 192.168.1.4, 192.168.1.5). If I want to connect to router settings page I simply hit 192.168.1.1 from client connected to any of the four LAN ports. I have blocked internet access to all these clients in router settings.
With OPNSense
I am using Lenovo M720q tiny
Onboard Port - Assigned as WAN
four Port NIC - PRO 1000 PT
Port1 - LAN (Fixed IP 192.168.1.1 under Interfaces > IPv4 address)
Port2 - Opt1 (DHCP under Interfaces > IPv4 Configuration Type)
Port3 - Opt2 (DHCP under Interfaces > IPv4 Configuration Type)
Port4 - Opt3 (DHCP under Interfaces > IPv4 Configuration Type)
1. Port1 - LAN has fixed IP 192.168.1.1, how can I make all four LAN/OPT ports usable. If I change the Port1 LAN port IP I am no longer able to connect to Opnsense settings page. Also currently none of the other ports are working, when I connect a client on opt ports client doesn't get any IP assigned even though DHCP is on for those ports.
2. How can I reach 192.168.1.1 from all LAN/OPT ports, just like you can do it on ASUS router. Or does it mean that Port1 is fixed for OPNSense and can't be used by client to assign fixed IP?
3. How do I assign fixed IP to each of those four ports. So when a client connects it gets assigned that fixed IP.
You need to implement a LAN bridge:
https://docs.opnsense.org/manual/how-tos/lan_bridge.html
Thank you :)
Onto reading.
Thankyou Patrick
1. Created LAN Bridge following the document.
2. Created range under Services > DHCP
3. Assigned static IP to MAC address.
All good now.