In the section we're going to take a look to the basic BGP configuration the BGP adjacencies can be
within the same autonomous system or indifferent as neighbors in the same as are called IBG neighbors
and neighbors in different autonomous systems are called EVGA neighbors in BJP neighbors does not have
to be directly connected.
As you can see in our figure we how IPG they worship with Bindi's as number with Brother 1 2 and 3.
These are the IBG neighbors and these two others can perform and even aegypti peering because they belong
to different autonomous numbers.
It is European neighbors are usually directly connected to each other and even AGP ILO's Rupp's switching
between different autonomous systems.
A PC position is established between the rodders before the route exchange and as you can see that here
we have three autonomous thumbs and rather see an X can perform an image membership and rather the NY
campaign from an ebay GAAP edges and see as well.
And let's take a look to the IBG decency IBG neighbors EHLO Rob ex-general within the same autonomous
them and at TZP session is established between the brothers before the route change neighboring rather
is configured with the comment neighbor and must be able to access to each other before the BJP configuration.
And and I yippy is usually used for this.
And here we have an we can make an IBP peering between for example rather a and b as well as see two
pro-white and IBP peering between and see they should reach each other OK.
That means we can use an oil spill.
We can use an ear GRB or something like that.
We can use the stuff they grow out.
They are all the things we need to focus.
Is this Skye's should reach each other before exchanging the BGP IBG periodic updates.
And here are the steps of the BJP edges and see their idol connect open some calm for a man established
idols do rather queries drawing table to see if there is a route to reach the neighbor in the ideal
step in the next step rather has found a route to reach the neighbor and the tree where a handshake
has been completed in the open SAP LRB request has been sent to start at BGP session in the open confirmed
rather acknowledged the paramita is required to accept the BJP session.
Otherwise rather switch to the active state established in the open confirmed through rather acknowledge
the paramita is required to accept the BJP in session.
Otherwise the rather switch to the active state and in the establishment's neighborhood is established
and running starts
and here is the conversation of the BJP.
We are fyrir others in here rather one two three four and five.
The first thing we are going to focus on is IBG configuration greyish
rather four and rather 5 can become an image appear as you can see OK and to provide this edges decency
between these two others what we're going to use as this IP addresses are
wrong.
OK this is going to be for and is going to be five.
All right what are we going to do is all rather five we are defining or rather BGP and autonomous number
come and first and in rather forth.
We are doing the same thing.
Rather BJP and the BJP autonomous system that the rudder belongs to itself.
OK then we are defining a neighbor statement between each other.
With the rather Fyffe we are using member then one for the voice for which is rather for and REMAUT
ass and the as number that rather for belongs to and in rather for what we're using is defining a neighbor's
statement.
Again that's the IP address of the other five.
And we are defining remote areas which rather 5 belongs to and that's it.
These comments are enough to point and Eby GP membership image appearing between two rodders rather
four and rather five.
But image European neighbors must be directly connected.
But if I want to make peering between the loopback addresses of these images appearing Peerce rather
four out of five I need to use neighbor
the neighbor IP address and even AGP multi up to call maps for this to ralliers.
OK it's OK when I try to make it period but when the this line but if I want to make this guy's Pyr
from our day or look becs I need to use BGP more to hope command because of the image repinning should
be made directly connected.
Ok I am using the image multi hope command.
Or do I need to use.
Do I need to peer the loopback IP address as always.
No many times no on eBay Gippi we are just peering with our interface addresses.
Normally but you can.
Faced with this question on this is exam and the answer is the BJP must help OK.
Let's take a look to the eye.
BGP configuration is in this map aka what we have done in here is rather BGP and Oaten on some number.
We are going to train to make appearing within rather 104 and IBG peers do not have to be directly connected.
Please keep in mind that there is no problem if they are not Tyreke to connect that are OK.
What they're doing is defining a neighbor's statement neighbor one vote on one which is the loopback
IP address of the other one again.
An undefined neighbor of 4 4 4 4 4 rather 1 as a neighbor and we are using a remote as number of the
same answers in here.
As you can see OK but commands in the configuration too are not enough to establish neighborhoods in
the same autonomous systems.
Our look back because rather for can send packets to rather one from this direction or from that direction.
As you can see rather one however knows the neighboring Luebeck with the IP address for for for for
for this reason we need to use update source loopback command for the IBG preparing our little packs
for example.
I need to type 2 rather one neighbor 4 4 4 4 updates as
look Pechora and the same conversation must be made on rather for to neighbor one more moment with an
update source of little back zero.
OK.
That's the IBG appearing overload back.
And let's take a look to the BJP configuration right now.
Let's try it.
Edward Tai's the BJP route using the N word commands.
You can advertise them BGP Roths with two options.
The first one is the network command.
And the second one is red is derivation
in your word.
Take a look to the network command.
And in here we are going to check the at all right.
In the first Gulf aggression
we are doing the same thing.
Or rather five.
OK.
Rather BGP and autonomous than number and as you can see in here local area networks behind this guy
are 50 0 0 1 slice 204 and 200 m 1 1 2 6 0 slice 21.
All right.
Here is my network that I need to advertise.
But if I use this think network 15 000 or just this one is not perfect because it all as well as all
three of these on the Internet.
We're going to use for this conversation what we need to use is network 50 of 1 1 0 and mask
255 255 255.
That zero command.
That's the whole come up.
We don't prefer this one guys.
We are using network and network number and mass keyword.
And this something that mask that's the whole thing.
Secondly let's try to advertise the route using redistribution in configuration steps 3 and 4.
We describe this let's do this.
We don't want to advertise this range.
1 1 1 and
sorry
1 0 2 0 0 3 0 and 4 0.
OK I don't want to advertise these guys but I'm going to advertise 5 and 6 from rather 5 to the BGP
Arka let's advertise this Perovic says
and let's do not advertise the 5th 0 and 6 0.
OK as you can see that I define access list any year which hitting the 1 2 3 4 networks then I'm permitting
all the other routes then in the route map I matching this IP address which covers one to three and
four networks then I'm going under the BGP and typing redistribute connected and around the filter which
means that cell the this IP addresses to the BGP domain.
All right let's see how we can examine the BJP table to the command is shoy IPV Gippi in here.
You can see something star will give you an upgrade there damali stum means this rather is valid.
OK I can install this drop to my writing table
Degrader then Volin.
Is that's the best path.
OK.
For example let's take a look to the this throughout I'm learning this throughout from here and here
and a year and a year.
But this one is valid.
And the best drug which I am learning from this past
so I can use the show by PBG summary command as well to take a look to the neighbors BGP neighbors.
We can check the neighbor neighbor table by using the Troy PBG summary and we can take a look.
Our BGP neighbors these are the IP addresses of our neighbors.
These are the auto immune systems of our neighbors.
And these are the times showing that up down how long the session has been up.
And these are the number of the perfect sense that we are sharing with our neighbors.
If I don't use any network or redistributes that mom here will be zero or just OK.
Let's let's talk about the next self image.
Pier Changs then next stop and advertised rather but IBG pier does not change.
The next stop address on advertising rather.
All right.
For example rather five makes the next hope it's while sending out but rather for does not change the
next of violent advertising to other one.
So for a solution we need to use next top self command.
And here's the usage of the command.
Neighbor one mom won and next top self.