I’m still learning MikroTik and I’ve got a question which I haven’t been able to answer correctly myself. So I’m looking for some help.
I’ve got a brand new CCR1016 for a colocation setup. We’re getting a /29 public range, which gives us 8 Public IP’s. It will be available through 1Gbit ethernet utp. So I’d like to plug that into ether1 of the CCR1016 and use it to route and firewall those public IP’s to the servers we’re putting up.
We’ll also have a small group of servers which will be in a private subnet, this is similar to the configuration in my RB2011. So I’ll be able to manage that.
But how to configure those 8 public IP’s? Do I need to create a bridge and put all the ‘public’ interfaces in it? or do I need to create some loopback interface where the public IP’s are?
I still need to plan MTCNA training some day. So for now I could use some help
I’ve just received a sheet with the specs. It’s actually just 8 IP’s in the providers /24 subnet..
Currently I’ve got two bridges, one public, and one local. With the first of the 8 public-addresses assigned to the CCR1016.
The first 6 ether ports are on the public bridge, the 7th until 12th port are on the local bridge, which has 192.168.8.0/24
Am I in the right direction with this? The CCR1016 will become a VPN endpoint so that people can use the servers in the local range.
But we also might be needing the seven other addresses for public available web services. So I’d like the CCR1016 to act as a firewall for them.
I’ve just tried to add a new public address to ether2 of the router so that I can plugin the second uplink cable that our provider has supplied.
But after adding the address to ether2 all connectivity was lost. I had to go into the datacenter and remove that address to make it working again.
The secondary cable hasn’t been plugged in yet, but I’m wondering what went wrong.. It seems some sort of routing issue, but what?
You need to give a clearer indication of the question. What was the config beforehand (actual config from /export compact). What exact entry did you add? The answer will be found in those two items - anything else is wild guessing!
The provider has two UTP cables going to two separate switches. One is currently connected to ether1:
What I want to do is add the other uplink to ether2. And use that as a back-up link. Either with a different IP (we have or (if possible) with same IP to have some sort of redundancy.
It isn’t really clear what the upstream is providing, but if they are just handing you out addresses on a /24 with multiple connections to their switch infrastructure then if you add the same /24 to multiple interfaces in RouterOS it is getting confused - i.e. which interface does it ARP on for an address in that /24.
Ah, so there is no way of specifying which /24 address goes on which ether port?
Both ports (ether1 and 2) were not on a bridge. So I thought that separate address on separate port would be fine.
So there is no way of doing this?
I’m still not clear what the upstream’s expectation is. If you are just connecting into their /24 broadcast network via two switch ports then you could bridge two interfaces on the CCR and place your IPs on the bridge interface - but you would need to check what spanning tree protocol is working on the upstream’s switches and make sure that your bridge is configured to avoid loops.
If you are still trying to bootstrap your knowledge of routing then I would suggest that you get some assistance involved before trying to engineer a redundant layer 2 installation - multi-vendor spanning tree interworking can be a challenge for newcomers.
I agree.. I am planning to do the MTCNA course this year, but you know how it goes: busy busy busy, and sometimes a customer wants something “yesterday”.
I’ve worked with other devices (Cisco, Foundry) before, and for the most part I can figure it out by my self. But the MikroTik is a bit different.
Currently redundancy is “nice to have” but not a must. So I’ll leave that as is for now. Maybe I’ll order another CCR1016 just to use as a training/testing device.. And to have one ‘in stock’. Thanks for the assistance.