Community discussions

MikroTik App
 
User avatar
victorsoares
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Thu Feb 15, 2018 6:29 pm
Location: Ubatuba, São Paulo - Brazil
Contact:

Force single IP through one BGP

Fri Mar 01, 2019 8:20 pm

Hello everyone!

I come here today because I can't think of nothing else. I have 3 BGP sessions, 2 from other link providers and 1 that connects our prefixes to the next city, where we have another base.

In one of the cities I have 3 CMTS (coaxial) connected, and I wanted them to use a specific BGP session. The thing is that the clients connected to this CMTS`s are NATted to a single public IP. Is there any way to force that single IP to use a specific WAN, knowing that my links come from BGP sessions. I know that I can't announce anything smaller that a /24 on BGP, but maybe with some mangle/nat magic this becomes possible?

Anyway, thanks for the help
 
bbs2web
Member Candidate
Member Candidate
Posts: 234
Joined: Sun Apr 22, 2012 6:25 pm
Location: Johannesburg, South Africa
Contact:

Re: Force single IP through one BGP

Sat Mar 02, 2019 7:58 am

You can't do this with hop-by-hop routing and either need a tunnel interface or use MPLS to switch traffic to the appropriate PE, elected by the ingress PE in to the MPLS cloud.

IP routing rules or mangle firewall rules can be used to setup source routing...

Who is online

Users browsing this forum: No registered users and 4 guests