Changes

no edit summary
Line 3: Line 3:  
=Introduction=
 
=Introduction=
   −
This article provides a guide on how to configure iBGP dynamic routing on our devices.
+
BGP, or Border Gateway Protocol, is a fundamental routing protocol used in large-scale networks, particularly the internet, to exchange routing and reachability information among autonomous systems (ASes). This article provides a guide on how to configure iBGP or internal Border Gateway routing which uses one autonomous system on our two routers.
    
=Configuration overview and prerequisites=
 
=Configuration overview and prerequisites=
Line 15: Line 15:  
[[File:IBGP topology.png|border|center|class=tlt-border]]
 
[[File:IBGP topology.png|border|center|class=tlt-border]]
   −
=Dynamic routing=
+
=iBGP Configuration=
 +
==RUT1 BGP Configuration==
 
Navigate to <b>Network -> Routing -> Dynamic routes -> BGP</b>.
 
Navigate to <b>Network -> Routing -> Dynamic routes -> BGP</b>.
Enable <b>BGP - Global Settings</b> and <b>vty</b>.
+
Enable <b>"BGP - Global Settings"</b> and <b>"vty"</b>.
 +
[[File:BGP enable.png|none|border|left|class=tlt-border]]
 +
 
 +
On <b>BGP Instance</b> tab configure it like this:
 +
 
 +
[[File:BGP routing instance.png|none|border|left|class=tlt-border]]
 +
 
 +
&emsp;1. <b>Enable</b> - on
 +
 
 +
&emsp;2. <b>AS</b> - 65000 (it must be the same on both routers)
 +
 
 +
&emsp;3. <b>BGP router ID</b> - 10.10.10.10 (RUT1 WAN IP)
 +
 
 +
&emsp;4. <b>Network</b> - 192.168.1.0/24 (RUT1 LAN subnet)
 +
 
 +
&emsp;5. <b>Redistribution options</b> - Connected routes
 +
 
 +
Go to <b>BGP peers</b> tab and add new instance. For <b>Name</b> write any name you desire and press <b>Add</b>.
 +
 
 +
[[File:BGP peers v1.png|none|border|left|class=tlt-border|1100x1100px]]
 +
 
 +
On popped up window select these options:
 +
[[File:BGP peer config v1.png|none|border|left|class=tlt-border]]
 +
 
 +
&emsp;1. <b>Enable</b> - on
 +
 
 +
&emsp;2. <b>AS</b> - 65000 (it must be the same on both routers)
 +
 
 +
&emsp;3. <b>Remote address</b> - 10.10.10.20 (RUT2 WAN IP)
 +
==RUT2 BGP Configuration==
 +
For RUT2 configuration is very similar all we need to do is just change <b>BGP router ID</b> to <b>10.10.10.20</b>, <b>Network</b> to <b>192.168.2.0/24</b> on <b>BGP Instance</b> and <b>Remote address</b> to <b>10.10.10.10</b> on <b>Peer Configuration</b>.
 +
 
 +
<b>BGP Instance</b> should look like this:
 +
 
 +
[[File:BGP instance RUT2.png|none|border|left|class=tlt-border]]
 +
 
 +
And <b>Peer Configuration</b> like this:
 +
 
 +
[[File:RUT2 BGP peer.png|none|border|left|class=tlt-border]]
 +
 
 +
==Firewall Zones==
 +
Now we can reach only routers by them self to reach their whole network we need to edit Firewalls <b>WAN</b> Zone to add <b>lan</b> on <b>forward to destination zones</b> field.
 +
 
 +
On both routers navgate to <b>Network -> Firewall -> General Settings -> Zones</b> and press edit on <b>wan</b> zone.
 +
 
 +
[[File:BGP Firewall edit.png|none|border|left|class=tlt-border|1100x1100px]]
 +
 
 +
On popped up window add <b>lan</b> on <b>Allow forward to destination zones</b> field.
 +
 
 +
[[File:BGP Firewall WAN zone .png|none|border|left|class=tlt-border]]
 +
 
 +
=Testing the setup=
 +
 
 +
 
 +
=See also=
 +
<ul>
 +
<li></li>
 +
</ul>