Professional Documents
Culture Documents
Setting BGP Mikrotik Tunneling
Setting BGP Mikrotik Tunneling
December 2012
© 2012 Cisco and/or its affiliates. All rights reserved. 1
• It is a new “IP” network overlay technology
• Usage of proven and highly scalable Internet technologies (BGP, PIC, LFA, etc…)
• BGP database carries tunnel end-points and identifiers as ships in the night to the traditional BGP routing BGP table
xTR4
iBGP
Next-Hop: Customer 3a
2.2.2.1/32
2001:db8::1/128
iBGP 1.1.5.0/24
iBGP iBGP
iBGP Next-Hop:
xTR1 2.2.2.7/32
Customer 1a 2001:db8::7/128
xTR7
1.1.1.0/24
Customer 1c
1.1.7.0/24
• Edge
Location of the Tunnel in-/egress router
BGP NLRI is used as remote network identifier and the attached BGP Remote-Next-Hop
as Locator
Forwarding in-/egress policy enforcement
Multi-tunnel loadsharing
• Customer Networks
Autonomous networks
DC, finance, IT department, engineering, customers, etc…
Independent address family agnostic address space
Customer networks and services are network identifiers
• Remote-Next-Hop is the Tunnel End-Point used for dynamic tunnel based forwarding (Optional BGP
transitive attribute)
Next-Hop
Remote-Next-Hop #1[GRE]
Remote-Next-Hop #2[vxlan]
Remote-Next-Hop #3[IPsec]
Next-Hop: xTR2
1.1.2.0/24 2.2.2.2IP Core
2.2.2.2 GRE
2.2.2.2/32
2.2.2.0/24
2001:db8::2/128 1.1.3.0/24 iBGP2.2.2.3 1.10.3.3 Customer
GRE 2b
iBGP
RR 2001:db8::/64 1.1.4.0/24
1.10.3.3/32 2.2.2.3
xTR4
iBGP
Next-Hop: 1.1.4.0/24 2.2.2.4 2.2.2.4 VxLAN
Customer 3a
2.2.2.1/32
iBGP 1.1.5.0/24
2001:db8::1/128 1.1.5.0/24 2.2.2.4
iBGP iBGP
1.1.6.0/24 iBGP 2.2.2.7 2001:db8::7Next-Hop:
IP-in-IPv6
2.2.2.7/32
Customer 1a xTR1
xTR7 2001:db8::7/128
1.1.1.0/24 1.1.6.0/24 2.2.2.5 2001:db8::7 IP-in-IPv6
Next-Hop:
2.2.2.6/32
1.1.7.0/24 2.2.2.6
Next-Hop: 2001:db8::6
Customer 3b GRE
xTR6 2.2.2.5/32
2001:db8::6/128
1.1.6.0/24
2001:db8::5/128
Customer 1c
1.1.7.0/24
xTR4
iBGP
Next-Hop: Customer 3a
2.2.2.1/32
2001:db8::1/128
iBGP 1.1.5.0/24
iBGP iBGP
iBGP Destination Next-Hop Next-Hop:
Remote-Next-Hop Tunnel Type
xTR1 2.2.2.7/32
Customer 1a 2001:db8::7/128
1.1.1.0/24 1.1.2.0/24 2.2.2.2 xTR7 2.2.2.2 GRE
xTR2
Customer 2b
1.1.4.0/24
Next-Hop: Customer 3a
2.2.2.1/32
er 1.1.5.0/24
Head
2001:db8::1/128
IP
er 3a
u stom
Packet to Custo et to C
Customer 1a xTR1 mer 3a Pack
IP Header
xTR7
1.1.1.0/24
Customer 3b
xTR6
1.1.6.0/24
Customer 1c
1.1.7.0/24
Router with Full BGP Table
xTR4
iBGP
Next-Hop: Customer 3a
2.2.2.1/32
2001:db8::1/128
iBGP 1.1.5.0/24
iBGP iBGP
iBGP Destination Next-Hop Next-Hop:
Remote-Next-Hop Tunnel Type
xTR1 2.2.2.7/32
Customer 1a 2001:db8::7/128
1.1.1.0/24 1.1.2.0/24 2.2.2.2 xTR7 2.2.2.2 GRE
Customer 1b
1.1.2.0/24
Tunnelled IP Packet – IPv4
xTR2
GRE Header
xTR to
Customer 2b
1
IPv4 1.1.4.0/24
xTR4
GRE
GRE
Next-Hop: Customer 3a
2.2.2.1/32
Core only needs routing information
Cus et to
2001:db8::1/128
1.1.5.0/24
t 1a
Customer 1a xTR1
xTR7
1.1.1.0/24
Customer 3b
xTR6
1.1.6.0/24
Customer 1c
1.1.7.0/24
xTR4
iBGP
Next-Hop: Customer 3a
2.2.2.1/32
2001:db8::1/128
iBGP 1.1.5.0/24
iBGP iBGP
iBGP Destination Next-Hop Next-Hop:
Remote-Next-Hop Tunnel Type
xTR1 2.2.2.7/32
Customer 1a 2001:db8::7/128
1.1.1.0/24 1.1.2.0/24 2.2.2.2 xTR7 2.2.2.2 GRE
Customer 1b
1.1.2.0/24
Tunnelled IP Packet – IPv4
xTR2
VxLAN Header
Customer 2b
1.1.4.0/24
to xTR4
IPv4
R4
VxLAN xT
Next-Hop: et to Customer 3a
2.2.2.1/32 Pack 2b
t 1.1.5.0/24
2001:db8::1/128 Cus
Customer 1a
1.1.1.0/24
xTR1
Core only needs routing information xTR7
Customer 1c
1.1.7.0/24
iBGP iBGP
iBGP Next-Hop:
xTR1 2.2.2.7/32
Customer 1a 2001:db8::7/128
xTR7
1.1.1.0/24
Customer 1c
1.1.7.0/24
Customer 1b
1.1.2.0/24
xTR2
Customer 2b
1.1.4.0/24
Core only needs routing information
xTR4
for IPv6 tunnel endpoints and IPv4
Next-Hop: Customer 3a
2.2.2.1/32 BGP endpoints 1.1.5.0/24
2001:db8::1/128
Packet to IPv6 to
Cust 3b IPinIPv6
xTR1 xTR7
Customer 1a
xTR7
1.1.1.0/24
Customer 3b
xTR6
1.1.6.0/24
Tunnelled IP Packet –
Customer 1c
IP-in-IPv6 Header 1.1.7.0/24
iBGP iBGP
iBGP Next-Hop:
xTR1 2.2.2.7/32
Customer 1a 2001:db8::7/128
xTR7
1.1.1.0/24
Customer 1c
1.1.7.0/24
Customer 1b
1.1.2.0/24
xTR2
Customer 2b
1.1.4.0/24
Core only needs routing information
xTR4
for IPv6 tunnel endpoints and IPv4
Next-Hop: Customer 3a
2.2.2.1/32 BGP endpoints 1.1.5.0/24
2001:db8::1/128
Customer 1a xTR1
xTR7
1.1.1.0/24
Customer 3b
xTR6
1.1.6.0/24
Tunnelled IP Packet – IPv4 in
Customer 1c
IPv6 Header 1.1.7.0/24