12/19/2023 0 Comments Mikrotik route reflector![]() ![]() ![]() Configurable from /routing bgp network ©Mikrotik 2012 15 Enable BGP /routing bgp instance set default as=300 router-id=10.10.10.4 /routing bgp peer add instance=default remote-address=10.10.10.1 remoteas=3000 If router-id is not specified, it is automatically set to least IP address on the router.Sync can be dangerous if routes are flapping a lot.Disabling sync allows BGP to converge faster.Your AS does not provide transit service.By default network is advertised only if corresponding route is present in routing table Synchronization can be turned off if: Indicates what networks BGP should originate from the router.Open without capability AS200 Passive BGP peer Keepalive AS200 AS100 Route Refresh message Update ©Mikrotik 2012 14 Networks NLRI Path attributes Notification – sent when error condition occurs, contains error code and sub-code ©Mikrotik 2012 13 BGP session and updates Open with ASN4 capability AS100 Notification unsupported cap.Keepalive – does not contain data, sent to keep hold timer from expiring Update – actual route updates. Open – First message sent after TCP connection establishment, contains capability list.Message body ©Mikrotik 2012 12 BGP message types.Marker (128bits) – used for authentication.Incremental updates after initial exchange (maintains routing table version) ©Mikrotik 2012 11 Packet format.Initial full routing table exchange between peers.Uses TCP as the transport protocol (port 179).NLRI includes a set of BGP attributes and one or more prefixes with which those attributes are associated Operates by exchanging NLRI (network layer reachability information).4-byte AS support ©Mikrotik 2012 10 BGP Transport.BGP Speaker advertises supported capability codes If received capability is not supported, remote peer sends back notification BGP speaker attempts to peer without unsupported capability Some of RouterOS advertised capabilities:.Cannot provide loopfree routing within an AS ©Mikrotik 2012 8 Path Vector Implementation 10.1.0.0/24 Add AS100 to the path AS100 AS200 Reject, AS100 already in the path Add AS200 to the path Add AS300 to the path AS300 ©Mikrotik 2012 9 BGP Capabilities.Treats whole AS as a single point in the path Prefix is advertised with the list of ASs along the path called AS path. ![]() Only protocol that can handle Internet's size networks Uses path vector algorithm ©Mikrotik 2012 7 Path Vector Implementation
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |