noob to routing need some help with public IP

Started by Nnyan, August 12, 2021, 08:47:09 AM

Previous topic - Next topic
For a number of reasons I now have 5 useable public IPs from AT&T giga service.  My current config is this:  LAN devices on the 10.0.0.0/22 network and Public IP's 50.x.x.x. 

internet >> AT&T ONT >> ip-passthrough mode >> OPNsense WAN (50.x.x.150)>> OPNSense LAN (10.0.0.1)>> cisco managed switch

All my LAN devices connect to the cisco switch.  I may be off base here but I think if I have a server that is connected to the cisco switch with an IP of 50.x.x.145 do I need to put in a static route in OPNsense so that it knows where to send this traffic (out the WAN port)?  If I have this correctly how would I do that or am I just completely off base here?

1st this is that anything on the cisco needs to be 10 address.

I figured as much but then I'm not sure how to connect a device with a static IP through my opnsense box.  If I connect it directly to the BGW320 I'll be bypassing the fw.