What IP address should I give the firewall
Any address you want that is not .225
, .226
or .239
and did they make a mistake on the gateway? That gateway seems to be one of my own usable IPs.
No, they didn't make a mistake. I'm personally not a huge fan of this sort of setup, but I have seen it before. Basically their router sits inside your broadcast domain. Ideally they would give you a /31
and a vlan tag for your uplink, but perhaps they are trying to save on IP addresses?
What IP address should I set as a gateway in the firewall itself?
The IP address they told you to set - x.x.x.226
Things to note: There are potential problems with this setup. If you assign public IP addresses to other devices and use your firewall as the default gateway, when the packets come back they may bypass your firewall, as the upstream will not know to forward the packets to your firewall - it may just forward them directly to your devices (because their gateway is inside your subnet).
The ways around this are:
- Ask them to give you a /31 for the uplink to their network
- Put your firewall into transparent mode. Don't use it as a gateway, but rather have it "inline" with your uplink to their network, and set their router as the default gateway on all your machines with public IP addresses
- Assign all your public IP addresses to your firewall and use 1:1 NAT to translate them to internal IPs (yuck)