Before we can begin doing ranges and summarization between backbone areas and
non backbone areas or
creating an area as a stub, what we need to do first is have IPv6's OSPF
implemented.
And that's what we're going to do in this video. So here is our topology
diagram and we're going
to pretty much mirror what we did with IPv4 in previous videos by having all
the interfaces on R1,
be associated with area zero, all the interfaces on R2, be associated with area
zero,
and then over here on R3 we'll have gig one zero and f8 four slash zero, be
associated with OSPF WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
associated with OSPF
version three for area zero and these two interfaces four slash one and gig two
zero here on R4
will be associated with area zero and then this interface and this interface
respectively will be
an area one and area two and then our five all of its interfaces and on R7 all
of its interfaces
will be an area one. Well over here are six and our eight all of its interfaces
will be associated
with area two. So with that in mind let me walk through the configuration for
OSPF V3 for IPv6.
So here is our lab environment and at the tail end of the set of videos I'll WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So here is our lab environment and at the tail end of the set of videos I'll
put you on a hands-on
labs you two can get the practice working with configuring and verifying OSPF
version three for
IPv6. So if we double click on the topology here on the desktop to open it up
there's our topology
and we are going to be dealing with the IPv6 address space which is 2001 DB8678
3 and then the
red number represents each of these subnets and to get to the console of all of
our routers we're
going to do that through server one. So we'll double click here on server one
and give that a moment
to initialize and here it comes great great great and then we'll click on it to WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
to initialize and here it comes great great great and then we'll click on it to
activate it there
and here are the tabs for router one two three and just as a sanity check let's
go to a router one
and let's do a show IPv6 interface brief just to verify that we have the IPv6
addresses that we think
we do and so here on gig zero zero it's 2001 DB8673 one perfect on gig one zero
that's the interface
going over to our two its IP address is 2001 DB86783 12 and on gig two zero WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
going over to our two its IP address is 2001 DB86783 12 and on gig two zero
that's the interface going
down to our three it has the IPv6 address starting with 2001 DB86783 13
fantastic and if we take a
peek at our topology that matches those respective subnets again everything
starting with 2001 DB86783
and then the red number here as part of the IPv4 address also is going to be
the IPv6 subnet address as well
so that looks great so I'll go ahead and exit out now if you want some help in
configuring this
let me share with you a text document externally open is this one right here WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
let me share with you a text document externally open is this one right here
called OSPF
configs if you scroll down in this text document here on server one dash nug
there's a section for
OSPF version three configuration and here it is so so this example is for both
IPv4 and IPv6 and
all we're concerned about right now is IPv6 so if we had routing process that
we're running we
could go ahead and remove those let me just verify coming back to our routers
by doing a show IPv6
protocols and just verify that currently we are not running OSPF for IPv6 but WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
protocols and just verify that currently we are not running OSPF for IPv6 but
we're about to change
that so let me go ahead and go back to our text document here and let me share
with you the example
of further configuration here on r1 so we aren't configuring the address family
for IPv4 so I'm
going to go ahead and remove the interface commands to say that we want to
enable OSPF for IPv4
because we're not going to enable it here we're focused here primarily just on
IPv6 so the syntax
will be going into configuration mode typing router OSPF version three and then
the process ID
that we want to use for that routing process I'm going to use the auto cost WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
that we want to use for that routing process I'm going to use the auto cost
reference bandwidth
across the board of 1000 and that way my gig of ethernet links look like a cost
of one
well fast to the net links look like a cost of 10 so then we go to each of the
interfaces and in each
interface we'd say OSPF version three the process ID that we used when we
generated that and then
specify IPv6 as opposed to IPv4 and then specify which area this interface
belongs to so gig 000 gig 1
0 and gig 2 0 are all going to be associated with area 0 on our one is I would WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
0 and gig 2 0 are all going to be associated with area 0 on our one is I would
encourage you to do a
few of these manually just to verify your comfort with the commands and how to
input it and then once
you've done two or three routers and you're comfortable with it you can go
ahead and use this text document
and begin cutting and pasting so for example let's go to r1 let's do r1
manually so here on r1 we
got the right router fantastic let's go to configuration mode and type in
router OSPF v3 space and let's use
process ID one and I was excited it typed router wrong you'd think cca after
two decades would never WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
two decades would never
type that incorrectly but there you go so router OSPF version three process ID
one fantastic we're now in
router configuration mode I'm also going to do the auto cost reference
bandwidth set it to 1000 now
that's done and that's going to apply to both IPv4 and IPv6 if you're config
uring both then we'll
go to our interfaces to enable those interfaces to participate as part of OSPF
process ID one and
assign them to area 0 so on our one is gig 0 0 gig 1 0 and gig 2 0 so we'll
type an interface range WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
type an interface range
and do gig 0 slash 0 comma gig 1 slash 0 comma and gig 2 slash 0 press enter
and now we're an
interface range configuration for all three of those interfaces from here we
can type in OSPF
version three process ID one and space question mark and then we'll specify IPv
6 space and then we'll
specify what area this interface is going to go into so there's the area
command right there so we'll
type an area space and a question mark and we're going to specify the area so
this is going to be the
backbone area for those three interfaces and we're done so if I type in end WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
backbone area for those three interfaces and we're done so if I type in end
here and we do a show OSPF
B3 interface brief press enter they're all in the weight state so there's ver
ifying that there's
no other DR out there and in just a moment or two once we get a few seconds
they'll change to DR
for all three of those ethernet interfaces as there's nobody else configured
for IPv6's OSPF yet
so it's been a moment let me hit the up arrow key and not quite long enough we
're going to have to wait
40 seconds that's the default dead interval and through the magic of editing WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
40 seconds that's the default dead interval and through the magic of editing
that's probably
been closer to 40 seconds now do the upper arrow key and press enter and now
this router is a
designated router on all three of those segments and just to remind ourselves
of what those are
that's gig 00 gig 1 0 and gig 2 0 now another thing I should point out is that
if we're using OSPF
V3 we'd also want to make sure that IPv6 unicast routing is enabled so for not
sure of that we can
just go into configuration mode and type in ipv6 unicast dash routing press
enter and boom it's now
enabled because without that OSPF version 3 whether we're using address WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
enabled because without that OSPF version 3 whether we're using address
families for IPv6 or IPv4
it won't function as expected meaning it won't function so we need to make sure
we're enabling
IPv6 unicast routing if it's not on by default and that will vary a little bit
based on the
version and platform and router and iOS that you're running all right so let's
do some basic
show commands on router 1 we can do a show IPv6 protocols so now it's showing
here that we have OSPF
process ID 1 that's running fantastic there's our router ID we have one normal
area and we have three WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
area and we have three
interfaces associated with that area which is area 0 and if we did show IPv6 OS
PF interface brief
that command also is going to show us the interfaces now that's very similar
check this out to this
command show OSPF V3 interface brief so just be aware that some of the older
show commands for IPv6
OSPF routing may still work with the newer flavor or implementation of OSPF V3
but also be aware that
not all of those commands are going to work but some of them still do we'll
give you a show OSPF V3
all by itself press center and here's showing us the output we're running OSPF WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
all by itself press center and here's showing us the output we're running OSPF
V3 process ID 1
and this is looking at the address family for IPv6 there's our router ID of 1.1
.1.1 which is the
highest IP address on a loopback interface I currently have here on our one is
showing us the
reference bandwidth right here of 1000 megabits per second because I set that
and if we hit
space bar going down a bit further we have one area and that's our area 0 the
backbone it's
currently showing inactive because there's no other OSPF speakers on that
network segment so next
let's go to r2 which is give me a very similar configuration so on r2 in fact WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
let's go to r2 which is give me a very similar configuration so on r2 in fact
let me go to my
note pad real quick and here on r2 I'm going to go ahead and remove the
configuration for the
address family IPv4 on the interfaces again because we're focused here on IPv6
only so effectively
it configurations identical to what we had over on r1 all the interfaces gig 0
0 gig 1 0 and gig 2 0
are going to become OSPF enabled for IPv6 with OSPF version 3 and putting those
interfaces in area 0
so we'll right click copy go to r2 and paste it in and we should get a neighbor WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
so we'll right click copy go to r2 and paste it in and we should get a neighbor
adjacency between us
and r1 which is showing up right there and that's because r1 had already been
established as the
DR for the segment and r2 saw that that DR was there and they agreed on terms
and they became
fully adjacent neighbors so if we did a show IPv6 protocols impress enter is
showing us the interfaces
associated with error 0 right here we did show OSPF V3 interface brief it'll
show us our interfaces
in their states so gig 1 0 and 0 0 should be DR is here in just a few moments
the dead interval for WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
the dead interval for
ethernet is 40 seconds so if we wait that 40 seconds there's the other two
interfaces right there
where there's no other speakers and as a result r2 1 the DR election we'll be
to a show OSPF V3
database now we type that in this can show us both IPv4 and IPv6 if you have
both address
families configured but since we don't have IPv4 configured on this device we
can just do a show
OSPF V3 database or if you wanted to filter it out just to IPv6 right here we
have the option of
saying IPv6 and then we can type in database and press enter so here are lsa WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
saying IPv6 and then we can type in database and press enter so here are lsa
type ones from each
of the routers here's our lsa type 2 where r1 is the advertising router and we
don't have yet any lsa
type 3s and that's because we don't yet have any other interfaces inside of any
other areas besides
area 0 then we have the IPv6 specific lsa is the type 8 right here and the lsa
type 9 right here
so if we do a show IPv6 OSPF neighbors impress enter here it's showing us our
neighbor another
by seeing that same output is using this show OSPF V3 IPv6 neighbor impressing WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
by seeing that same output is using this show OSPF V3 IPv6 neighbor impressing
enter and it's the
same results so again some of the legacy commands with traditional IPv6 OSPF
version 3 they still work
but this is the more current way of showing the OSPF V3 IPv6 neighbors with
this command right here
all right so let's continue and let's make our way down to r3 which is the area
border router
so if we go back to our notes here and go down to r3 the biggest difference
here is that we're
going to have at least one interface in area 0 and we have to actually gig 1 0 WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
going to have at least one interface in area 0 and we have to actually gig 1 0
and f a 4 0 and then
one other interface in a different area in this case area 1 and I'm going to
remove the address
family for IPv4 I'm not going to work and configure that on each of the
interfaces so I'm going to go
ahead and remove the IPv4 component here because once again we're just focused
on IPv6 so here's our
configuration for r3 and right click on it copy and we'll go to r3 and paste it
in and it should
have a neighbor ship come up right away between it and r1 which it does right
there we can verify
that with a show OSPF V3 IPv6 neighbor and that should verify it as well and WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
that with a show OSPF V3 IPv6 neighbor and that should verify it as well and
then look at our
interfaces we can do a show OSPF V3 interface brief just like that and verify
our local interfaces
and their current state so this one's the BDR that's where we're partnering up
with r1 and the other
two interfaces which are both ethernet which are f a 4 0 and 4 1 after a moment
we should be the DR
on both those segments as well because there's no other yet configured OSPF
speakers so we'll go
ahead and hit the up arrow key press enter and sure enough we have the DR for WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
ahead and hit the up arrow key press enter and sure enough we have the DR for
those other two segments
all right let's continue with r4 so r4 is very similar I'm going to remove
again the interface
address family IPv4 enablement here so it's just the IPv6 only so in this
router we have 300
interfaces that are participating in area 0 and we have one interface serial 3-
1 that's going to
be participating in area 2 so we'll go ahead and copy that right click copy and
then go ahead
and paste it in and we should get our neighbor jsonc both with r2 which is a
message right here
and also r3 then we can verify the show OSPF V3 neighbors and show OSPF V3 WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
and also r3 then we can verify the show OSPF V3 neighbors and show OSPF V3
interface brief so here
on gig 0 0 we're still waiting the dead interval just to verify that we don't
have a DR out there
already and then once we waited at least 40 seconds there that should go ahead
and turn to a DR
our responsibility on the gig 00 on r4.
And if you look at our topology, gig 00 is not shown
on r4, but there is a gig 00 interface,
and that's what it's currently waiting on.
So if we go back to r4, hit the upper key in press center. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So if we go back to r4, hit the upper key in press center.
Sure enough, it's the DR on its gig 00.
And here on r4, if we do a show, IPv6 route,
for OSPF from press center, here's our OSPF routes.
So we've got the 1 subnet and the 2 subnet and the 12 subnet
and the 13 subnet and the 35 subnet.
And notice here the 35 subnet.
If you look at our topology, that's the subnet right over here.
That subnet, based on the interface FAA4/1 on r3,
that's associated with area 1.
And that's why over here on r4, that subnet of 35 WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
And that's why over here on r4, that subnet of 35
is showing up as an inter-area route.
Also, that means if we here on r4 did a show, OSPF v3,
IPv6 database, and press center.
Now we have our LSA type ones for area 0,
our LSA type 2's for area 0, and we'll get on a bit further
what used to be called the summary LSAs,
the type 3 LSAs in IPv4, the LSA 3's for IPv6,
are referred to as inter-area prefix,
and thus we have right here.
So r3 is advertising the 35 network,
and r4 is advertising the 46 network. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
and r4 is advertising the 46 network.
So if we look at our topology, the 35 is over here in area 1.
And the 46 subnet is over between our 4 and r6.
And then once again, we have the LSA types 8 and 9,
which are unique to IPv6's implementation of OSPF v3.
And as we continue on, it's now starting to show us the details
we're going to the LSA type ones and twos and threes for area 2.
And that's because r4, which we're currently sitting at,
has an interface in both of those areas.
And as a result, it has the LSAs for everything that's WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
And as a result, it has the LSAs for everything that's
in area 0, and also everything that's in area 2.
All right, let's continue our configuration.
Now here on r5, I'm going to remove the IPv4 portion again
from the notepad document.
And let's configure OSPF v3, process ID1 on r5,
and all of its interfaces are in area 1.
So we'll go ahead and go to r5.
And away we go.
And again, when you do the hands-on lab,
feel free to do two or three routers manually.
And if you want to save a little bit of time,
once you're comfortable with the commands and the show commands,
you can go ahead and start doing it from the notepad document.
So we'll go to r6. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So we'll go to r6.
r6 has all of its interfaces in area 2.
I want to go ahead and remove the IPv4 portion here,
because we're focusing only on IPv6 here.
And we'll copy that.
Right click, make sure on the right tab for r6 and paste it in.
And that looks good.
And we'll continue down to r7 on the left hand side.
All of its interfaces are in area 1.
So I'm going to enable just IPv6 and not IPv4.
So we'll go ahead and copy that.
And go to r7 and paste it in.
Now, last one is r8.
All of its interfaces are going to be in area 2. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
All of its interfaces are going to be in area 2.
And just put in IPv6 OSPF version 3.
So we do a copy.
And then go to r8, right click, and paste it in.
And then from here, let's do a couple of quick verifications.
So here is our topology.
And so r8 should know about all the routes in area 0,
all the routes in area 1, because we
have the area border route or r4,
advertising all those LSA type 3s down to us.
So here on r8, let's do a few basic checks show,
OSPF v3, interface brief.
Right, we have two interfaces.
Gig 00 is about to become the DR. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
Gig 00 is about to become the DR.
That's the one facing up to the right hand, bottom right
hand side of our topology.
So we'll give that a few moments.
And just confirm that goes to a DR state for gig 00.
And again, that would take up to 40 seconds
if there isn't a DR already on that segment.
Fantastic.
Then regarding neighbor ships, we
can do a show, OSPF v3, neighbor, and press enter.
And just by typing in neighbor, that's going
to show me neighbors for address family IPv4,
if it's configured and IPv6.
Or we could do this.
If you have both running ones, you just one of the sets.
We can do a show, OSPF v3, and then type in IPv6 space neighbor. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
We can do a show, OSPF v3, and then type in IPv6 space neighbor.
And that will limit the output just to IPv6 address family
neighbors.
So the router with the router ID of 6666, which is R6,
is our neighbor.
We have full adjacency.
And that router is a DR.
So locally on that interface, passing it 4/1,
we are the BDR, as shown right here, as we looked at our local
interfaces.
And router 6 is acting as the DR.
And that's because the DR was already in place,
because we configured our six a few minutes ago.
So now if we looked at the--
so we did a show OSPF v3, IPv6 database, impressed enter. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
so we did a show OSPF v3, IPv6 database, impressed enter.
Here we can see we have in area 2, we have three router
LSAs coming from the three routers in that area.
We have one net link state.
That's the LSA type 2.
In this case, coming from R6 for a common segment,
where we have two routers connected to that segment.
And if you'd like a little bit, here are all the LSA type 3s
that are being sent into area 2 by router 4.
And over here on the right is showing us the exact prefixes
that are being advertised in those respective LSA type 3s. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
that are being advertised in those respective LSA type 3s.
So if we did a show IPv6 route, and I'm
going to tag on OSPF, we just OSPF learned routes,
impressed enter.
Here are OSPF learned routes on R8,
and at the space bar to continue.
So right here is the seven network,
and that is the network where R7 is directly connected.
So if we look at our topology, 2001 DB867837 network
is the one off of R7s gig 00, where PC7 is.
So we should be able to, if everything's working,
and every has a correct default gateway setup, WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
and every has a correct default gateway setup,
we should be able to ping, for example,
from PC8 over at 2001 DB86783 colon colon 10 over to PC7
at whatever its IP address is.
Let's verify that real quick.
So here is PC7.
If we do a show IPv6 on this little virtual machine,
here's its IPv6 address, 2001 DB867837 colon colon 10.
I'll copy that.
We'll go over to PC8, which has the IP address
of 2001 DB8678, colon colon 10. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
of 2001 DB8678, colon colon 10.
And let's do a ping, and I'll paste in the IP address of PC7,
and that's working.
Let's also do a trace, just to verify that.
So we'll do a trace, space, and paste in that same
destination address, and that's gonna show us the path
that's taking based on this last octet.
So R8 is the first router, and then went to R6,
based on the last octet, and then four,
and then R2, and then R1, and R3, and five, and seven,
until finally it landed at the final destination,
which is PC7.
We can also do the same types of tests from the routers. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
We can also do the same types of tests from the routers.
So here at R8, for example, we could do a ping.
Let's take R7, and just do a quick show IPv6,
interface brief.
Take a look at its IP addresses.
So this IP address right there is off gig 0, on R7.
So I'm gonna copy that, go back to R8,
and let's not do a ping, let's do a trace.
Let's trace all the way to that address on R7,
and that's another way of verifying our connectivity
through the entire network.
Now, just like in IPv4's implementation of OSPF, WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
Now, just like in IPv4's implementation of OSPF,
if we want to have a passive interface with IPv6,
using OSPFB3, we can do that as well,
and I'll walk through that in the very next video.
So I'll see you there in just a moment.