Hey guys, I'm just wondering if someone can point me in the right direction for setting up a router on a /26 connection that a client has installed from a cable provider.
The provider is not doing routing, and so we need to configure this router as the internal system.
In my experience, if i have servers in a datacenter, I'm given a set of IP addresses I can use, a gateway, subnet, etc. But int his case I'm just given the following:
P2P /30= 50.123.18.204
Subnet = 255.255.255.252
ISP = 50.123.18.205
CLIENT = 50.123.18.206
/26= 50.123.19.192
Subnet = 255.255.255.192
Sixty Two usables starting with 50.123.19.193
I'm not sure what to do with that info, but I'm going to make a guess...
I set the WAN port on my mikrotik to 50.123.19.193, and I create a route to 50.123.18.205 ??
I will need to set .193, 194, 195, etc, etc... to the WAN port and forward that to the NAT side, which I believe I can do with the info as follows:
add interface=WAN address=50.123.19.194/26
add interface=WAN address=50.123.19.195/26, etc, etc.
Then
add chain=srcnat out-interface=WAN src-address=192.168.0.10 action=src-nat to-address=50.123.19.194
add chain=srcnat out-interface=WAN src-address=192.168.0.11 action=src-nat to-address=50.123.19.195
add chain=srcnat out-interface=WAN src-address=192.168.0.0/24 action=src-nat to-address=50.123.19.193
add chain=dstnat in-interface=WAN dst-address=50.123.19.194 action=dst-nat to-address=192.168.0.10
add chain=dstnat in-interface=WAN dst-address=50.123.19.195 action=dst-nat to-address=192.168.0.11
And so on... and I'd set port numbers if I just wanted to forward a single port, etc.
I'm mainly confused how to setup the route to the ISP from the router. Am I right above? ISP gives ip 50.123.18.205 and subnet 255.255.255.252, but its on another network, so I'm concerned it wont route? Sorry for my ignorance.