- [Narrator] In our previous video,
we configured OSPF version three
using the traditional approach
and that meant we also had to
configure OSPF version two
if we wanted to route IP version four networks.
And then OSPF version three
did the IPv6 routing.
But in this video,
we want to see how to configure OSPF version three
using the address families approach.
That's going to allow us to configure support for both
IP version four and IP version six networks;
just using OSPF version three.
And we're basing this on the previous apology
in our last video,
where we had configured OSPF version two
and the traditional OSPF version three.
So we need to get rid of those configurations.
Let's begin on router R1,
and I'll go into global config
and I'll say no router OSPF one
and no
IPv6
router,
OSPF one.
Let's get rid of our config on our other two routers.
Let's go to R2.
Same thing,
no router OSPF
one.
Typo
OSPF
one.
No IPv6
router,
OSPF
one.
And one router to go.
We'll say no router,
OSPF
one.
No IPv6 router
OSPF one.
All right. We've wiped out the OPSF configuration now.
So let's configure OSPF version three
using the address families approach.
Here's how we do it.
Instead of, in global configuration mode,
instead of saying IPv6 router
OSPF and giving a process ID.
We say router
OSPF
v3
and then we give a process ID.
And I'll just say it's one.
And if we use some context sensitive help,
we can see things that I can set here
and anything that I setup here
is going to be inherited down
into our different address families.
You see an address family is going to be
a configuration for a specific protocol.
We're going to have an IP version four address family
and we're going to have an IP version six address family.
But here, I'll just set the router ID that both can use.
I'll say the router ID,
is 1.1.1.1,
I could also setup my passive interfaces here,
I can say passive-interface,
gig 0/1
and now let's create those address families.
I'm going to say,
address-
family
IPv4
and address family
IPv6.
And within address family configuration mode
there are commands that I could give
that would apply specifically to
the address family that I'm configuring right now.
But again,
just under router configuration mode
I can specify a configuration
that would be used by both address families.
Now let's go to the individual interfaces and say
that we want them to participate
in this routing process.
Let's go over to gig 0/1,
I'll say interface gig 0/1
and I need to give a command for IP version four routing
and another command for IP version six routing.
Now, by the way,
I did not delete the command
that said IPv6 unicast routing,
remember we gave that in the last video?
That's still required but it's still in the configuration,
I didn't delete that.
Just keep that in mind
when you're configuration IPv6 routing.
For IP version four I'll say OSPF
v3
process ID one
I want you to route IP version four traffic
and I want you to belong to area zero.
I also want you to route IP version six traffic
for the same process ID also in area zero.
Let's go into interface gig 0/2
and we'll give the same two commands.
One for IPv4,
one for IPv6
and let's do the same thing for our loop-back interface.
IPv4
and IPv6.
Let's give a similar configuration on routers R2 and R3.
On router R2 I'll say
router,
OSPFv3
process ID one.
I'll set the router ID here to 2.2.2.2
and really no opportunity for a passive interface on R2,
well I guess we could do the loop-back interface.
I'll say passive-interface,
loop-back zero
and let's create our two address families.
Address-
family
Ipv4
and address family IPv6.
Now I'm going to go into each interface and say
I want you to participate in this process,
both for IP version four and for IP version six.
And notice,
gig 0/1 is in a different area
than the other two interfaces,
so I need to be careful with my area assignments.
Let's go into interface gig 0/1
and I'll say
OSPF
v3
process ID one.
I want you to route IP version four traffic
and I want you to belong to area zero.
Same thing,
for IPv6 traffic.
And notice we had an adjacency come up
and another adjacency,
one for IPv4
and one for IPv6.
That's great news.
Let's now configure the other interfaces.
Let's go into interface gig 0/2
and I'll give a nearly identical command.
I'll say IP version four
but I want you to belong to area one.
And also for IPv6
want you to belong to area one.
Let's do the same thing for our loop-back interface.
OSPFv3 process ID one
I want you to belong to area one.
And we'll do it for IPv6 as well.
And we're done with our configuration on R2.
Let's go configure R3.
On R3 we'll say router OSPFv3
process ID one
router
ID
3.3.3.3,
let's set a couple of passive interfaces.
I'll say passive-interface loop-back zero
and also gig 0/2.
Let's create our address families,
I'll say address-family
IPv4
and IPv6.
Let's go to each interface now
one final time on this router
and say we want you to belong to this OSPF process.
Both for IP version four and for IP version six
and we'll begin on interface gig 0/1.
We'll say OSPF
v3
process ID one,
IP version four, routing.
We want you to belong to area one.
Same thing for IP version six
and we just had an adjacency come up for IPv4
and for IPv6.
Great news.
Let's go into interface gig 0/2
and do the very same thing,
one for IPv4,
one for IPv6
and finally for our loop-back interface.
We'll do the same thing there.
IPv4
and IPv6,
everybody belongs on this router to area one.
We're now done with our OSPF version three
address families configuration.
Let's do some verification.
Here on R3, I'll do a show.
Oh, by the way,
you'll notice that the verifications coming in
are different.
We don't say,
show IPv6 OSPF neighbor, for example.
If I did,
if I said show
IPv6
OSPF
neighbor,
as we did before,
we see that we have a neighbor-ship
running OSPF version three.
But we should have a neighbor-ship
for each address family.
To see that I'll do a show
OSPFv3
neighbor.
And notice we've got
output for each of our address families.
We can also do a show
OSPFv3
database command.
And we've got a database for each
of our address families.
Let's make sure we've learned both IP version four
and IP version six routes.
I'll do a show IP route,
this will give us our IPv4 routes.
Can I get to everywhere?
Well I can see the loop-back interface
on R1 and on R2.
Let's see if I can ping it.
Can I ping 1.1.1.1?
Yes I can.
So it looks like I got full IP version four reachability
throughout the network.
What about IP version six?
Let's do a show IPv6 route command.
And it looks like
I can get to the loop-back interface on router R1,
and on R2.
In fact,
let's try to do a ping
to 2005
::
1111.
Can I ping that?
Yes I can.
That's the loop-back IP address
the IP version six address,
on R1
and I can reach that from R3.
And that's a look at how we can configure
OSPF version three using the address families approach.
Which lets us configure support for both
IP version four and IP version six networks.