03-25-2019 06:45 AM - edited 03-25-2019 06:46 AM
Hi all ,
I have two private networks.Each network use eBGP to peer with ISP PE router.
I got the below error.
if i advertise my LAN network in bgp table , the LAN network can reach the each others.
Branch1
router bgp 65200
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0 <= LAN
neighbor 1.1.12.2 remote-as 200
Branch2
router bgp 65300
bgp log-neighbor-changes
network 2.2.2.0 mask 255.255.255.0 <= LAN
neighbor 1.1.2.1 remote-as 200
If i didn't advertise LAN network and i use static route ,LAN networks cannot reach each other.Let me know it is my error or ISP block my network ? because i have less knowledge in BGP.So i don't know BGP can carry static route.
Branch1
router bgp 65200
bgp log-neighbor-changes
neighbor 1.1.12.2 remote-as 200
ip route 2.2.2.0 255.255.255.0 1.1.12.2
Branch2
router bgp 65300
bgp log-neighbor-changes
neighbor 1.1.2.1 remote-as 200
ip route 1.1.1.0 255.255.255.0 1.1.2.1
Solved! Go to Solution.
03-25-2019 06:51 AM
When you advertise with BGP you are exchanging routing information with your ISP so they know how to reach your subnets.
When you use static routes your ISP has no idea how to reach those subnets unless you redistribute your static routes into BGP.
Note the above assumes your branch routers peer with ISP and not directly to each other.
Jon
03-26-2019 01:18 AM
Hi All,
Thank for your help. Now i can solve my issue.I am using tunnel and source is lookback interface.
03-25-2019 06:51 AM
When you advertise with BGP you are exchanging routing information with your ISP so they know how to reach your subnets.
When you use static routes your ISP has no idea how to reach those subnets unless you redistribute your static routes into BGP.
Note the above assumes your branch routers peer with ISP and not directly to each other.
Jon
03-25-2019 06:55 AM - edited 03-25-2019 06:56 AM
what is the need for the Static route ? when you have Dynamic eBGP available ? what is the use case.
dynamic routing protocol used by your provider, it expect to be dynamic anouncements.
03-25-2019 07:29 AM
Hi,
Thank for your help .
I need static route for branches 2 site only because this site run DMVPN (verlay is EIGRP) with the rest branches 3,4,5....So i cannot advertise LAN network in bgp table. Branch1 cannot support DMVPN so i use bgp only. Those are my problem.if i use GRE tunnel ,it can be overcome ?
03-26-2019 01:18 AM
Hi All,
Thank for your help. Now i can solve my issue.I am using tunnel and source is lookback interface.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide