I’ve multiple ip ranges (other subnets) assigned to one interface over one 100Mbit pipe. I did put everything into one bridge and added some firewall rules.
But now I’ve noticed: when I send from the one IP-range to the other IP-range data, this traffic doesn’t get routed by the MikroTik but by my provider’s router, which limits the traffic to 100Mbit.
As an example configuration:
ether1 (gbit): device-1 with ip 123.123.123.10 / 26
ether2 (gbit): device-2 with ip 234.234.234.20 / 26
ether13 (100mbit): uplink with all thoses IP’s assigned
When I send from 123.123.123.10 to 234.234.234.20 the traffic will go like this:
To avoid wasting too many IPs I suggest that you ask the ISP if they can allocate a /30 to the link and pass traffic for your 4 x /26s to your address on the /30. That would make your life easier!
I think the RB must be configured so that it uses one IP of every range to do routing?
When they route all IP’s to a private /30 range this configuration would be like this (or some more configuration)? ISP IP: 10.9.0.1/30 MY IP: 10.9.0.2/30 PUB IP: 123.123.123.0/26 & 123.123.200.0/26
Interfaces
ether13 - uplink ISP
ether1 & ether2 - devices in a bridge (bridge01)
Configuration
IP > ADDRESSES > ether13 > 10.9.0.2/30
IP > ADDRESSES > bridge01 > 123.123.123.1/26
IP > ADDRESSES > bridge01 > 123.123.200.1/26
IP > ROUTES > 0.0.0.0/0 > 10.9.0.1
OK - well if you want the ranges on multiple interfaces a bridge is fine.
When you assign the IP ranges to the interfaces/bridge the relevant routing entries will appear in the routing table automatically so those along with your default entry should get the basic functionality going.
At that point you would however be totally open to inbound traffic. To protect the router itself you would want filters on the input chain and to allow only your clients to initiate connections you would want filters in the forward chain.
Well it is sure possible but sounds like they don’t want to.
If you want:
Public IPs on the clients
Firewall functionality to protect the clients
Routing between the allocated /26s to occur locally not at ISP
Then you need a router not a bridge and that implies either further sub-netting the /26s or using one as the link subnet. In any case any of those solutions would require action at the ISP’s router too.
Handing off a bunch of /26s via a /30 is pretty basic stuff and is done every day. Can you look for another ISP or find somebody with some sense at your existing vendor?
OK - Well if you want to route those /26s locally and you can’t get the ISP to route the traffic for the /26s on one link network then you have to use NAT for the clients. Anything else would be horribly convoluted.
Personally I would beat up the ISP until they gave me the correct answer. This isn’t a Routeros problem - it is an ISP problem…
No - you can’t split the /26s like that unless the ISP will also treat them as split, using part of the splits as the link networks and treating the rest as routed subnets sent to your IP on the relevant link networks.
Making several link networks would be wasteful compared to having a new /30 to route all of the /26s - but it would work if the ISP also treats the /26s as split.
Basically, their view of the subnet masks must match your router’s view of the subnet masks.