cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
667
Views
0
Helpful
2
Replies

query on BGP TTL values

Raja_D
Level 1
Level 1

Hi, 

Can someone explain me as of why we have the default values of eBGP TTL as 1 and IBGP TTL as 255

2 Replies 2

Philip D'Ath
VIP Alumni
VIP Alumni

I am not sure of the answer.

eBGP is meant to be point to point.  So if the TTL exceeds 1 it is no longer point to point.  If it is going to be more than one hop away you have to enable "ebgp-multihop".

IBGP can be separated by other internal routing protocols, or be spread across different parts of the network.  Hence the high TTL.

As Philip says the original design of BGP assumed that external neighbors would be directly connected. My understanding of the logic for setting TTL to 1 for EBGP neighbors is that it was done as a way of reducing risk. If you are directly connected to the EBGP peer then TTL of 1 was enough for the traffic from the peer to get to you. And there was an assumption that you could trust this traffic since it came directly to you from the peer. But what about the situation where the link connecting you to that peer stopped working? What if that peer forwarded the BGP packets to some one else, who forwarded them to some one else, who forwarded them to you? Should you still trust that traffic? Setting TTL to 1 is a way to say that if it did not come directly to me then I do not trust it and will not use it.

Obviously in todays networks there are sometimes situations where you are not directly connected to your external peers. And in those situations you need to specify the multihop parameter.

HTH

Rick

HTH

Rick