|
0:00:16
|
Our next feature we have here in RIP is how
|
|
0:00:22
|
Now, we looked at before the difference between IP
|
|
0:00:29
|
where IP Default Network can be used
|
|
0:00:33
|
in order to take an advertisement
|
|
0:00:38
|
that is not directly connected and tagged
|
|
0:00:44
|
though typically, that information was only used
|
|
0:00:51
|
So, with RIP, technically, you could
|
|
0:00:54
|
but there's a much easier way to do this
|
|
0:00:55
|
with simply the Default Information
|
|
0:01:02
|
Now, when we do this, the default route will be
|
|
0:01:08
|
and we can control with a route map both
|
|
0:01:14
|
and a condition that will control whether the
|
|
0:01:20
|
which is considered conditional default routing.
|
|
0:01:25
|
So here in our topology,
|
|
0:01:32
|
that has the connections
|
|
0:01:37
|
router 6 and switch 1.
|
|
0:01:41
|
So, under the process of switch 1,
|
|
0:01:48
|
that...
|
|
0:01:50
|
under router RIP,
|
|
0:01:54
|
Default-Information Originate.
|
|
0:02:00
|
Then, look at the routing tables of
|
|
0:02:05
|
If we Show IP Route RIP.
|
|
0:02:08
|
We see that the default route
|
|
0:02:14
|
So, pretty straightforward implementation,
|
|
0:02:18
|
to advertise the default route every
|
|
0:02:22
|
If we were to look at router 6,
|
|
0:02:26
|
we should see likewise the same
|
|
0:02:32
|
We see that the default is
|
|
0:02:36
|
To conditionally advertise this,
|
|
0:02:39
|
we could specify that the default route
|
|
0:02:45
|
In which case, we are
|
|
0:02:50
|
under the route map that matches the specified
|
|
0:02:56
|
So, if we create a route
|
|
0:03:03
|
we'll say, Route Map Default.
|
|
0:03:07
|
It will be Permit 10 automatically.
|
|
0:03:09
|
If we set the interface to our VLAN 79,
|
|
0:03:17
|
Then, under the routing process,
|
|
0:03:20
|
we'll say, Default-Information Originate,
|
|
0:03:24
|
but we're doing this with the
|
|
0:03:30
|
In this case now, if we look at switch 3,
|
|
0:03:34
|
we should see that nothing is changed. If we look
|
|
0:03:38
|
which is 0.0.0.0/0, we see that
|
|
0:03:45
|
but router 3 and router 6,
|
|
0:03:49
|
we can see, they're no longer
|
|
0:03:55
|
So, although the command is at global
|
|
0:04:01
|
we can control what interfaces the
|
|
0:04:06
|
Now, notice also this does not remove any
|
|
0:04:11
|
So, if we look at the full
|
|
0:04:15
|
all of the other dynamically learned RIP routes
|
|
0:04:23
|
Now, the other option for
|
|
0:04:27
|
is typically in a case where we have
|
|
0:04:32
|
And we want to control where the default is originated
|
|
0:04:39
|
So, let's say that we have
|
|
0:04:44
|
that are connecting to two
|
|
0:04:52
|
So, router 1 is connecting to ISP 1.
|
|
0:04:56
|
Router 2 is connecting to ISP 2.
|
|
0:05:02
|
Then, we have our
|
|
0:05:08
|
The goal of this type of design would be
|
|
0:05:14
|
and for router 2 to advertise a default route,
|
|
0:05:19
|
but we would want to prevent the case
|
|
0:05:21
|
that when router 1 looses its connectivity
|
|
0:05:27
|
then, the default route
|
|
0:05:30
|
Otherwise, router 1 should
|
|
0:05:34
|
that it cannot actually deliver
|
|
0:05:38
|
And this is what our condition is going
|
|
0:05:42
|
Now, we are gonna be matching just
|
|
0:05:47
|
but this prefix could be in the
|
|
0:05:51
|
it could be a connected interface, it could
|
|
0:05:56
|
which means that we have a lot of flexibility
|
|
0:06:03
|
So, let's do this from the
|
|
0:06:09
|
We'll say that we want to
|
|
0:06:12
|
and it's gonna go out all
|
|
0:06:15
|
But I wanna make sure that I actually
|
|
0:06:20
|
before I originate the route.
|
|
0:06:24
|
So first, let's just do the normal
|
|
0:06:29
|
Under the process, we'll say,
|
|
0:06:40
|
If we look at router 5 and Show
|
|
0:06:48
|
we see that we're learning
|
|
0:06:54
|
Now, the problem in
|
|
0:06:57
|
would be the case that we discussed
|
|
0:07:03
|
is not a good indication of whether we actually
|
|
0:07:09
|
Because between router 4 and bakbone 3, there
|
|
0:07:16
|
So, if BB3 looses its connection
|
|
0:07:19
|
this is not going to update the line
|
|
0:07:25
|
So, we could with the condition look
|
|
0:07:30
|
which is the 204.12.10.0 network,
|
|
0:07:35
|
but in the case that router 4's link
|
|
0:07:41
|
that would not be a good indication whether
|
|
0:07:47
|
But since we can define whatever
|
|
0:07:50
|
we can combine this
|
|
0:07:54
|
with other features like the enhanced object
|
|
0:07:59
|
where we can tie them to static routes,
|
|
0:08:03
|
which would then be conditionally installed in
|
|
0:08:08
|
So, let's say now that on router 4,
|
|
0:08:11
|
we have some sort of
|
|
0:08:15
|
We'll say that we have a route
|
|
0:08:26
|
This goes to null zero.
|
|
0:08:29
|
This 169.254 address base, this is
|
|
0:08:37
|
So, it is non-routable address base.
|
|
0:08:41
|
Now, under the route map,
|
|
0:08:43
|
we're going to match a prefix list
|
|
0:08:47
|
that says, "If this route isn't a table,
|
|
0:08:53
|
So, we'll say, IP Prefix List.
|
|
0:08:58
|
which is 169.254.0.1/32.
|
|
0:09:05
|
Then, under the route map,
|
|
0:09:10
|
we'll say, "If the prefix list..."
|
|
0:09:14
|
So, Match IP Address
|
|
0:09:20
|
If this route is in the table,
|
|
0:09:25
|
So now, under the RIP process,
|
|
0:09:29
|
Default-Information Originate.
|
|
0:09:33
|
And we'll say, "We're gonna advertise
|
|
0:09:40
|
So, the route map is
|
|
0:09:48
|
If we look at the result
|
|
0:09:51
|
we should ideally see that the default
|
|
0:09:57
|
If I go to router 4 and now
|
|
0:10:02
|
we ideally should see that the default
|
|
0:10:09
|
So, we'll take out the place holder.
|
|
0:10:12
|
So, not the prefix list. The...
|
|
0:10:17
|
actual route.
|
|
0:10:19
|
So now, the route is removed.
|
|
0:10:23
|
Which then should mean, the default
|
|
0:10:33
|
So now, we could take this
|
|
0:10:38
|
We'll say, "Now, I'm going to put a
|
|
0:10:42
|
that determines whether that place holder
|
|
0:10:47
|
And we'll do this based on the IP SLA.
|
|
0:10:50
|
So, on router 4, at this point, we should
|
|
0:10:56
|
which is 204.12.10.254.
|
|
0:11:00
|
I now wanna create a condition
|
|
0:11:03
|
that says, "In the case that ICMP
|
|
0:11:08
|
I will remove the place holder route",
|
|
0:11:11
|
Which in turn causes the
|
|
0:11:15
|
which means that 4 will man.
|
|
0:11:20
|
So, if there's another possible exit
|
|
0:11:25
|
then, we would prefer their default information as
|
|
0:11:33
|
So, then, our next step would be
|
|
0:11:37
|
We'll say, "For SLA instance 1,
|
|
0:11:40
|
the type of monitoring will be
|
|
0:11:45
|
So, as we see, there's a lot of different
|
|
0:11:49
|
but ICMP is just a good indication
|
|
0:11:55
|
I'm gonna ping BB3.
|
|
0:12:00
|
And the source IP address is gonna
|
|
0:12:08
|
The frequency will be every 5 seconds
|
|
0:12:15
|
So, timeout of 2 seconds.
|
|
0:12:26
|
Now, we need to start the
|
|
0:12:33
|
Or IP SLA Schedule 1.
|
|
0:12:37
|
We want to start this now,
|
|
0:12:42
|
forever.
|
|
0:12:46
|
If we look at the Show IP
|
|
0:12:54
|
let's say, Show IP SLA...
|
|
0:12:59
|
Show IP SLA...
|
|
0:13:04
|
Statistics for number 1.
|
|
0:13:08
|
So, right now, the return code is "OK", which is good.
|
|
0:13:15
|
Next, we need to define an enhanced object,
|
|
0:13:22
|
So, we have a tracked object,
|
|
0:13:25
|
We're gonna track an IP SLA instance,
|
|
0:13:31
|
Okay, I'll just leave the defaults here.
|
|
0:13:33
|
Then, as the very last step, I'll reinstall the
|
|
0:13:40
|
but now, this is gonna call the
|
|
0:13:47
|
What we should now see is
|
|
0:13:55
|
or more actually, if the tracked object.
|
|
0:14:00
|
It says the return code is "OK".
|
|
0:14:04
|
It means that the static
|
|
0:14:06
|
which then means the
|
|
0:14:10
|
So, if we look at router 5, we can
|
|
0:14:13
|
That's what we want.
|
|
0:14:16
|
Now, we're going to break connectivity
|
|
0:14:23
|
But where I'm gona do this is somewhere in the network
|
|
0:14:30
|
So, on switch 3, if I look at
|
|
0:14:34
|
I have the switch port Fast Ethernet 0/24
|
|
0:14:42
|
So, on this interface, I'm gonna
|
|
0:14:48
|
Now, if we look at router 4 and
|
|
0:14:52
|
we know that shutting the
|
|
0:14:56
|
is not going to update the line
|
|
0:15:01
|
Because it's unrelated to router 4,
|
|
0:15:06
|
However, since we
|
|
0:15:10
|
it means that the SLA
|
|
0:15:13
|
which in turn means that
|
|
0:15:17
|
which then, in turn means
|
|
0:15:22
|
Which means the route
|
|
0:15:25
|
which then finally means that router 4
|
|
0:15:32
|
So, it's a lot of steps in the logic that
|
|
0:15:36
|
but it's a really interesting implementation that you can use
|
|
0:15:44
|
Because in most designs, you would
|
|
0:15:48
|
to the remote autonomous systems
|
|
0:15:52
|
but since we now have the enhanced
|
|
0:15:57
|
there's a lot of interesting things
|
|
0:16:01
|
So, if we look at the full
|
|
0:16:04
|
this would be including the
|
|
0:16:09
|
the route map, the prefix list,
|
|
0:16:16
|
originate.
|
|
0:16:24
|
So again, router 4 is saying...
|
|
0:16:26
|
"I'm gonna use this SLA instance
|
|
0:16:31
|
If I may be able to ping them,
|
|
0:16:35
|
If tracked object 2 is up, it means that
|
|
0:16:41
|
which means that this prefix list
|
|
0:16:46
|
which then means that we
|
|
0:16:52
|
But if any of these individual pieces fall
|
|
0:16:58
|
or if we loose ICMP reachability,
|
|
0:17:00
|
then, we see router 4 withdraws
|
|
0:17:07
|
Once the switch port of BB3 comes back,
|
|
0:17:10
|
eventually router 4 is going to regain...
|
|
0:17:14
|
its connectivity to BB3.
|
|
0:17:18
|
Okay, which is immediate there.
|
|
0:17:21
|
Which then means that router 5 should
|
|
0:17:30
|
The only issue with this is compared to other solutions
|
|
0:17:37
|
is that unless you tweak the timers,
|
|
0:17:39
|
it's gonna be slower the converge
|
|
0:17:42
|
than some of the other solutions.
|
|
0:17:44
|
So, if high availability is a
|
|
0:17:47
|
this may not...
|
|
0:17:50
|
this may not be viable.
|
|
0:17:53
|
But we should see eventually here that 5
|
|
0:18:22
|
Which now it does.
|
|
0:18:24
|
So, it's actually a combination
|
|
0:18:29
|
plus the other timers that are going
|
|
0:18:33
|
plus the SLA, then, the negligible internal time that
|
|
0:18:42
|
and then withdraw the default information.
|