Good afternoon! Wasn’t sure which sub-forum to post this in, so hoping it is ok to use general. I’m mostly a firewall and server guy, but got pulled in to helping a client that essentially wants to provide ISP services. They purchased a CCR1009 and asked my company to design and deliver a solution using this device (we actually have 2 of them, though at the moment I’m not sure why we would need 2 routers).
We are being provided a /30 IP from the upstream provider, with a /29 block routed through it.
For the sake of having something tangible to work with, let’s call the /30 block 10.1.1.0 /30, where 10.1.1.1 is our IP, and 10.1.1.2 is the gateway (ISP router).
Let’s say the /29 block being routed to us is 192.168.1.0 /29.
The upstream provider can route as many additional IP blocks to us as we need as we scale this out to more customers. For sake of argument, let us say that we will continue to receive additional /29 blocks routed through our /30.
Ultimately, I think that we’ll need to create virtual interfaces on the router, use one IP out of the first and each additional /29 block and assign that to the virtual interface, and the customer will use that as their gateway, and have use of the remainder of the IPs out of the /29 block.
For now, I simply want to test the configuration using a physical port on the Mikrotik.
So, I have configured one port (Eth1) to have 10.1.1.1 as its IP. I have another port (Eth2) set to use 192.168.1.1.
I have a default route for destination address 0.0.0.0/0 pointing to 10.1.1.2 as its gateway.
I connect Eth1 directly to the device that has 10.1.1.2 as its IP.
I assign a laptop an IP in the 192.168.1.0 /29 range (in this instance, I used 192.168.1.2, with 192.168.1.1 being its gateway) and connect this to Eth2.
If I enable NAT within the MikroTik, I can pass traffic out to the Internet successfully. But, I don’t think I should or could be using NAT in order to provide proper public IP routing out to the clients (assuming that some will want VPN access through their firewall, or will have internal emails servers, web servers, etc).
If I disable the NAT rule, from my laptop I can ping 192.168.1.1 as well as 10.1.1.1, but I cannot ping along to 10.1.1.2 or get out to the Internet.
I feel like I should just somehow be able to create a static route that routes all traffic coming from 192.168.1.1/29 to 10.1.1.1 (or perhaps just to Eth1), and then 10.1.1.1 passes its traffic along to 10.1.1.2 and voila!
I’ve been reading documentation and forum posts for days, and have resorted to just “trying stuff” in the router interface, but no luck so far. Again, no problems passing traffic through from the laptop if I enable NAT, but that isn’t going to work in our scenario. I don’t foresee the client scaling up to 500+ customers, but they will probably very quickly be in a position to bring on 10 to 20 customers, so I do need this to scale out a little, and know that we need to provide reachable public IPs out to the clients.
Can anyone lend some assistance? If anyone thinks that our design is totally off base, don’t hesitate to speak up, I’m open to ideas!
Thank you!
W43