OSPF Multiple-Area Configuration
Objectives
-Area Configuration
Topology
lab or you can download the lab from
[email protected] in Content.
Step 1: Initial Router Configuration
topology. Do not configure the Areas. If
you have forgotten how the topology correlates to the initial
configuration refer to the previous
lab.
all of the passwords to uwstout
d enter the command no ip
domain-lookup
o This will stop the router from looking for a resolution when
you type a command
incorrectly.
prompt. All interfaces should say
“Interface is up, line protocol is up.”
If your interfaces are not up, up what might be the problem?
o If an interface is showing “Administratively down” then you
need to issue the no shutdown
command on that interface to turn it on for use.
o If your interface is showing as “down” then you may have
forgotten to enter the clockrate
on the DCE interface.
o If neither of those are the issue, check to make sure your IP
addresses are correct. When
interfaces are directly connected (on the same segment) then
their IP addresses have to be
in the same network range, if you go through a router to get to
the interface then the IP
address needs to be in a different range.
default-gateway is the IP address of
the router interface they are directly connected to.
Step 2: Configuring OSPF Multiple-Area
In this step you will be configuring all routers to use OSPF as
their routing protocol. Multiple Areas are not
needed in a small network but for the purpose of understanding
multiple Area configuration we will be
configuring two Areas, Area 0 and Area 1. This step will
provide you with a step-by-step example of Multi-
Area OSPF configuration on the Menomonie router. Then you
will need to take what you have learned in
your reading and in the example, and apply it to the RemoteAZ
and RemoteWI routers so you can achieve
complete OSPF routing.
In the topology you have two areas, Area 0 (the Backbone) and
Area 1. The following details which Area
each network is in:
RemoteAZ is an Internal Router, which means all of its
interfaces (networks) are in a single non-backbone
area, in our case RemoteAZ is in Area 1. When you configure
RemoteAZ you will configure all of its
networks to be in Area 1.
Menomonie is an Area Border Router (ABR) which means it has
at least one interface in the Backbone
(Area 0) and another interface in a different Area. On the
Menomonie router, networks 10.10.2.0 and
192.168.2.0 are in Area 0 and network 192.168.1.0 is in Area 1.
RemoteWI is also an Area Border Router. On the RemoteWI
router networks 192.168.2.0 and 10.10.3.0
are in Area 0 and network 192.168.3.0 is in Area 1
Configure the OSPF process on Menomonie:
er ospf 1 and press
enter
In Menomonie, configure the OSPF Area 0 with networks
192.168.2.0 and 10.10.2.0, and OSPF Area 1 with
network 192.168.1.0 using OSPF subcommands.
0.0.0.255 area 0 and press enter
Now use what you have read and this example to complete the
OSPF configuration on RemoteAZ and
RemoteWI. A partial configuration is included at the end of
this lab to help you verify your work.
Step 3: Verifying OSPF
Now verify OSPF is working properly. Begin with verifying that
all of your connected routers are OSPF
neighbors.
privileged exec mode. All
neighbors should be fully adjacent (FULL
state)
o Notice I have shortened the command to sh ip ospf neig, you
can shorten commands as
long as you enter enough of the command that the router can
understand what you are
trying to type in. Feel free to shorten the commands as you
complete the lab.
Now let’s verify that all OSPF routing is working correctly.
press enter.
You will know you are routing correctly when you see all of the
routes you have in your network in each of
the routers’ routing table, some will be directly connected
routes (the ones that physically reside on that
router) and some will be routes learned through OSPF that are
physically on other routers. Review the
Codes to see which routes are Connected, which ones were
learned through OSPF inside the same area
and which ones were learned from a network that is outside of
your routers area (inter area).
Notice in RemoteAZ you have O IA routes. Looking at the
routing table you can see that in order for
RemoteAZ to get to the 10.10.2.0 network it has to go to
192.168.1.2, the 10.10.2.0 network is in Area 0
and 192.168.1.2 is in Area 1, this route then is an inter area
route.
Step 4: Configuring Optional OSPF settings
There are multiple optional OSPF configurations, in this part of
the lab you will be configuring hello and
dead timers and routing authentication.
Configure the Hello and Dead timers
d exec mode of Menomonie type show ip ospf
interface s0/0 and press enter.
The result of show ip ospf interface s0/0 shows that the hello
interval timer is 10 and the dead interval
timer is 40 these are default values. These values can be
manually set according to our needs. . The dead-
interval is four times the hello.
Now change the hello-interval to 15 and the dead-interval to 60
on the serial link between RemoteAZ and
Menomonie. When you change the timers on the first interface
you will notice that OSPF state changes
to Down, this is because the Hello and Dead timers must match
on each end of the link.
You will use the commands ip ospf hello-interval <value> and
ip ospf dead-interval <value> to change
the Hello and Dead intervals (timers).
Enter interface configuration mode on the Serial 0/0 interface
on the Menomonie router. Then:
-interval 15 and press enter
-interval 60 and press enter
Now configure the Hello and Dead timers on RemoteAZ’s
Serial 0/0 interface. Once you have configured
both timers on each side of the link correctly the routers will
once again become fully adjacent and you
will see the OSPF routes come back up
Configuring OSPF Authentication
You can also configure OSPF authentication on interfaces to
avoid attacks from rogue routers attached to
those open interfaces. In this lab you will configure OSPF
authentication on the FastEthernet 0/0
interface of Menomonie and set the authentication key to
uwstout using ip ospf authentication
commands.
ospf authentication and press enter
authentication-key uwstout and press
enter
Now show the OSPF interface to see the changes you have
made.
Notice once again I have shortened the command.
Step 5: Saving Configuration
Once you have completed the lab don’t forget to save the
configurations using the copy running-config
startup-config command. Repeat this in all the other routers.
Congratulations you have completed the lab.
Final Configurations
Below are partial final configurations on each of the routers.
 OSPF Multiple-Area Configuration Objectives  Configu.docx

OSPF Multiple-Area Configuration Objectives  Configu.docx

  • 1.
    OSPF Multiple-Area Configuration Objectives -AreaConfiguration Topology lab or you can download the lab from [email protected] in Content. Step 1: Initial Router Configuration topology. Do not configure the Areas. If you have forgotten how the topology correlates to the initial configuration refer to the previous
  • 2.
    lab. all of thepasswords to uwstout d enter the command no ip domain-lookup o This will stop the router from looking for a resolution when you type a command incorrectly. prompt. All interfaces should say “Interface is up, line protocol is up.” If your interfaces are not up, up what might be the problem? o If an interface is showing “Administratively down” then you need to issue the no shutdown command on that interface to turn it on for use. o If your interface is showing as “down” then you may have forgotten to enter the clockrate on the DCE interface. o If neither of those are the issue, check to make sure your IP addresses are correct. When interfaces are directly connected (on the same segment) then their IP addresses have to be
  • 3.
    in the samenetwork range, if you go through a router to get to the interface then the IP address needs to be in a different range. default-gateway is the IP address of the router interface they are directly connected to. Step 2: Configuring OSPF Multiple-Area In this step you will be configuring all routers to use OSPF as their routing protocol. Multiple Areas are not needed in a small network but for the purpose of understanding multiple Area configuration we will be configuring two Areas, Area 0 and Area 1. This step will provide you with a step-by-step example of Multi- Area OSPF configuration on the Menomonie router. Then you will need to take what you have learned in your reading and in the example, and apply it to the RemoteAZ and RemoteWI routers so you can achieve complete OSPF routing. In the topology you have two areas, Area 0 (the Backbone) and Area 1. The following details which Area each network is in: RemoteAZ is an Internal Router, which means all of its
  • 4.
    interfaces (networks) arein a single non-backbone area, in our case RemoteAZ is in Area 1. When you configure RemoteAZ you will configure all of its networks to be in Area 1. Menomonie is an Area Border Router (ABR) which means it has at least one interface in the Backbone (Area 0) and another interface in a different Area. On the Menomonie router, networks 10.10.2.0 and 192.168.2.0 are in Area 0 and network 192.168.1.0 is in Area 1. RemoteWI is also an Area Border Router. On the RemoteWI router networks 192.168.2.0 and 10.10.3.0 are in Area 0 and network 192.168.3.0 is in Area 1 Configure the OSPF process on Menomonie: er ospf 1 and press enter In Menomonie, configure the OSPF Area 0 with networks 192.168.2.0 and 10.10.2.0, and OSPF Area 1 with network 192.168.1.0 using OSPF subcommands. 0.0.0.255 area 0 and press enter
  • 5.
    Now use whatyou have read and this example to complete the OSPF configuration on RemoteAZ and RemoteWI. A partial configuration is included at the end of this lab to help you verify your work. Step 3: Verifying OSPF Now verify OSPF is working properly. Begin with verifying that all of your connected routers are OSPF neighbors. privileged exec mode. All neighbors should be fully adjacent (FULL state) o Notice I have shortened the command to sh ip ospf neig, you can shorten commands as long as you enter enough of the command that the router can understand what you are trying to type in. Feel free to shorten the commands as you complete the lab.
  • 6.
    Now let’s verifythat all OSPF routing is working correctly. press enter. You will know you are routing correctly when you see all of the routes you have in your network in each of the routers’ routing table, some will be directly connected routes (the ones that physically reside on that router) and some will be routes learned through OSPF that are physically on other routers. Review the Codes to see which routes are Connected, which ones were learned through OSPF inside the same area and which ones were learned from a network that is outside of your routers area (inter area). Notice in RemoteAZ you have O IA routes. Looking at the routing table you can see that in order for RemoteAZ to get to the 10.10.2.0 network it has to go to 192.168.1.2, the 10.10.2.0 network is in Area 0 and 192.168.1.2 is in Area 1, this route then is an inter area route. Step 4: Configuring Optional OSPF settings
  • 7.
    There are multipleoptional OSPF configurations, in this part of the lab you will be configuring hello and dead timers and routing authentication. Configure the Hello and Dead timers d exec mode of Menomonie type show ip ospf interface s0/0 and press enter. The result of show ip ospf interface s0/0 shows that the hello interval timer is 10 and the dead interval timer is 40 these are default values. These values can be manually set according to our needs. . The dead- interval is four times the hello. Now change the hello-interval to 15 and the dead-interval to 60 on the serial link between RemoteAZ and Menomonie. When you change the timers on the first interface you will notice that OSPF state changes to Down, this is because the Hello and Dead timers must match on each end of the link. You will use the commands ip ospf hello-interval <value> and ip ospf dead-interval <value> to change the Hello and Dead intervals (timers).
  • 8.
    Enter interface configurationmode on the Serial 0/0 interface on the Menomonie router. Then: -interval 15 and press enter -interval 60 and press enter Now configure the Hello and Dead timers on RemoteAZ’s Serial 0/0 interface. Once you have configured both timers on each side of the link correctly the routers will once again become fully adjacent and you will see the OSPF routes come back up Configuring OSPF Authentication You can also configure OSPF authentication on interfaces to avoid attacks from rogue routers attached to those open interfaces. In this lab you will configure OSPF authentication on the FastEthernet 0/0 interface of Menomonie and set the authentication key to uwstout using ip ospf authentication commands. ospf authentication and press enter
  • 9.
    authentication-key uwstout andpress enter Now show the OSPF interface to see the changes you have made. Notice once again I have shortened the command. Step 5: Saving Configuration Once you have completed the lab don’t forget to save the configurations using the copy running-config startup-config command. Repeat this in all the other routers. Congratulations you have completed the lab. Final Configurations Below are partial final configurations on each of the routers.