Community discussions

MikroTik App
 
pe1chl
Forum Guru
Forum Guru
Topic Author
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Strange default for eBGP TTL

Tue Jan 31, 2017 10:29 am

When configuring an eBGP Peer without the Multihop option (this is default), the TTL option default value still is
to use the system-default TTL of 64.
I think this is confusing, and it is not what other products do by default. When not using Multihop, the TTL
would better be set to 1. This ensures that only directly connected peers can talk to eachother. Only when
your enable Multihop, a higher TTL than 1 becomes useful.
 
pe1chl
Forum Guru
Forum Guru
Topic Author
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: Strange default for eBGP TTL

Wed Feb 01, 2017 8:12 pm

Any opinion from the BGP experts?
 
User avatar
leoktv
Trainer
Trainer
Posts: 144
Joined: Thu Dec 01, 2005 1:39 pm
Location: sweden
Contact:

Re: Strange default for eBGP TTL

Fri Feb 03, 2017 10:24 pm

Multihop is not a TTL setting it is as stated in the wiki/manual

multihop (yes | no; Default: no)

Specifies whether the remote peer is more than one hop away.

This option affects outgoing nexthop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation).

It also affects:

whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check);
whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection;
the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their nexthops through IGP routes by default.
 
pe1chl
Forum Guru
Forum Guru
Topic Author
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: Strange default for eBGP TTL

Sat Feb 04, 2017 11:49 am

Sure, but in other implementations it also sets the TTL to 1 (when not multihop).
In RouterOS this setting has somehow been split in two different ones, which is kind of confusing.
 
User avatar
leoktv
Trainer
Trainer
Posts: 144
Joined: Thu Dec 01, 2005 1:39 pm
Location: sweden
Contact:

Re: Strange default for eBGP TTL

Mon Feb 06, 2017 10:49 am

Stil you get the same behaveor with the implementation in MikroTik. But if you like to have TTL 1 you can set this in the mangel but it is no need for it.

Who is online

Users browsing this forum: No registered users and 55 guests