I'm using an RB4011iGS+ running RouterOS 7.14.3.
One other thing that complicates my situation is that my ISP (Verizon Business FIOS) gives me 5 public IPs. I've represented them as 70.70.70.12-16 with default gateway 70.70.70.1. The connection comes in on an ordinary copper CAT5 plugged into ether1. It doesn't use PPPoE or any kind of authentication. Just plug it in and it works. It's not a /29 delegation or anything. It's just 5 allocated IPs out of a /24.
So all the examples have a single IP on a single egress port. I have 5 IPs on a single egress port and I need to associate them differently. (e.g., each VLAN or bridge has a specific set of public IP(s) for egress) All the examples have vlan tagging on switches, and then a separate router using those vlan tags to route. I have it all in one device. Finally, in my config, I'm using bridges without VLAN tagging. I could use VLAN tagging if that made sense.
In a reply to this post, I have a redacted copy of my config. What I'm trying to achieve is this:
Code: Select all
Public Private
Public IP Port Private IP Port
--------------------------------------------------
Zone A 70.70.70.12 22 172.30.0.3 22
8123 172.30.0.3 8123
Zone B 70.70.70.13 22 172.30.2.5 22
25 172.30.2.30 25
53 172.30.2.40 53
80 172.30.2.10 80
443 172.30.2.10 443
587 172.30.2.30 587
993 172.30.2.30 993
2222 172.30.2.55 2222
Zone C 70.70.70.14 22 172.30.4.4 22
25 172.30.4.5 25
53 172.30.4.9 53
587 172.30.4.5 587
993 172.30.4.5 993
2222 172.30.4.27 2222
Zone C 70.70.70.15 80 172.30.4.10 80
443 172.30.4.10 443
Zone C 70.70.70.16 80 172.30.4.12 80
443 172.30.4.12 443
What's the right approach? Do I need to turn on VLANs? Route marks? How do I get the right srcnat and routing to match the design?
Thanks for all the help.