I’m setting up a new MikroTik CCR 1009 router, I have a question regarding setting up multiple public IP network (yes, different networks)
From the ISP, they are providing me one network cable, they said it will route the following public WAN IP addresses:
2.0.0.1/24
3.0.0.1/24
4.0.0.1/24
I have setup the WAN public IP above on ether1-WAN.
My ISP said, all of the IPs above can use single gateway, which is 1.0.0.1 (do you think this makes sense) because as far as I know, we can’t use gateway outside of our IP network itself (correct me if I’m wrong)
If we can use single gateway, I’m planning to route 0.0.0.0/0 to 1.0.0.1 and – which is problem solved
BUT, if I can’t use single gateway (just like what I’m thinking)
Since they said all of my public IP Addresses are routed using 1.0.0.1 gateway, can I add all of my public IP Addresses using /32 cidr and hope they will be routed using 1.0.0.1 gateway?
Be sure to communicate used local IP address with your ISP (are you completely sure they’re not assigning you a single address from the same subnet as upstream gateway?) …
The only (minor) problem with the setup above is that you can use the rest of 2.0.0.x/24 addresses as usual subnetted addresses but you’ll have to play with lengths of masks … because you can not use 2.0.0.1. Usable are the following subnets:
You can use these subnets (and the rest of /24 subnets you’re getting routed at your router) on other interfaces of your router (either physical or VLAN or PPP or …).