1
General Discussion / Re: ISP router behind opnsense / opnsense in front of ISP router
« on: August 14, 2024, 11:13:27 am »
@audun @cookiemonster. Thank you so much for all the time you are putting in.
@audun I followed your instructions. Just a bit of clarification required here. The fibre optic router gets it's external IP from the ISP as you rightly said. It's DHCP services allocates IP addresses on the 192.168.1.x series. In the OpnSense hardware, should the LAN and WAN both get their IPs from the router in the 192.168.1.x series. And what should their gateways & DNS be?
I figure on the OpnSense, the WAN's IP should be on the 192.168.1.x series (static) but (should have it's gateway and DNS as the router's LAN IP 192.168.1.1) and LAN's IP should be on the WAN's IP and it's gateway and DNS as the WAN's IP.
Do I get that right? Please advise / correct me.
Thank you
Neeraj
@audun I followed your instructions. Just a bit of clarification required here. The fibre optic router gets it's external IP from the ISP as you rightly said. It's DHCP services allocates IP addresses on the 192.168.1.x series. In the OpnSense hardware, should the LAN and WAN both get their IPs from the router in the 192.168.1.x series. And what should their gateways & DNS be?
I figure on the OpnSense, the WAN's IP should be on the 192.168.1.x series (static) but (should have it's gateway and DNS as the router's LAN IP 192.168.1.1) and LAN's IP should be on the WAN's IP and it's gateway and DNS as the WAN's IP.
Do I get that right? Please advise / correct me.
Thank you
Neeraj