cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1392
Views
0
Helpful
10
Replies

BGP in Cisco VS NAT in Mikrotik

Nibras.A.Mahdi
Level 1
Level 1

Dear Community's

I have some scenarios and need help with the best network design for more flexibility, 

I have Cisco NXIOS-N9K-C9372 as an Edge device, peers with more than 3 ISPs, and another device used as a gateway for per-user or customer used as a NAT device, my problem is, how can I make a fixable for advertising my prefix from NAT from Mikrotik device to the ISP peers on Cisco and make a smooth load-balance in my prefixes, please your advice if there was some another scenario or system for load-balance something like BGP community to advertising prefix to the peer

10 Replies 10

Can you more elaborate and with topolgy please 

MHM

this is a simple graph for my network, I'm using Mikrotik from NAT selection for make a balance, but the all prefix CIDR is advertising to the only one ISP, i need another way for manage my traffic from Mikrotik and Cisco peer 

friend NSK connect to three ISP not Mikro so Mikro have one path to NSK and there is no load balance unless you config load balance in NSK by using PBR 
so the subnet connect to Mirkro split into three parts and PBR in NSK match any part and forward it to one ISP and use other two ISP as backup

MHM

no friend I am using all three ISPs as load sharing, and from Mikro managed the advertising subnet via NAT rule and matching the address from the address list and set the destination IP for ISP, and from the Cisco side using route map and to advertise it out side to ISP bgp peer, so because this old design i need to make a new architect and design for design NAT and advertisement 

One by one 

How many prefix connect to Mikro?

Are there any bgp between Mikro and cisco edge router?

MHM

No BGP works only with ISP peer,  and about the connection it's works on static IP between Cisco+Mikrotik and the prefix connected to Mikrotik about 20 prefix 

So cisco edge router run bgp with ISP and advertise 20 prefix (these prefix connect to Mikro and cisco use static route for it and redistrubte these static route into bgp) 

Correct?

What is NAT role here ?

I need to understand to suggest correct design 

MHM

Correct, NAT rule for a private IP address list to Public prefix advertised to ISP

 

sales061
Level 1
Level 1
  1. BGP Configuration:

    • Establish BGP sessions on the Cisco NX-OS to advertise NAT prefixes to ISPs.
  2. Load Balancing:

    • Enable BGP multipath for load balancing.
    • Use BGP communities to tag prefixes for controlled advertisement.
  3. Route Maps:

    • Configure route maps to adjust incoming and outgoing BGP advertisements.
  4. Health Checks:

    • Use IP SLA to monitor ISP link status and dynamically adjust routing.

This setup allows for flexible prefix advertisement and effective load balancing.

All steps already happen from the Cisco side, but when you set a community on some prefix how can you manage it from Mikrotik NAT? how can you set the community and send it to Cisco and then to ISP,,, and for another problem, the BGP peer with ISP is private and can't be monitored via SLA and event manager like ping 8.8.8.8 via ISP source if the ISP T3 down and the Peer still up