wiki:Dale_McWilliams_Tutorial

Version 2 (modified by SNSNational, 6 years ago) (diff)

--

Welcome to The OSPF Decking Tutorial, Dale

I hope that you are ready to learn about OSPF, and how we will improve your network with it. You should have brought your Cyber Deck and Neural Interface with you for this operation. Throughout the course of this tutorial, you will learn how to configure:

  • OSPF Routing Protocol
  • OSPF Fail-Over and Metrics
  • OSPF ICE (MD5) Encryption & Security

Router 1 RIP Configuration

For this lesson, please connect to Router 1:

http://s23.postimg.org/9z396ounv/Rte_1.png

Now that we are connected to Router 1, let's enable RIP and OSPF:

http://s9.postimg.org/s7tjgqfxr/deck2.png

Please enter the Configuration Mode for RIP, and input the following configuration:

http://s27.postimg.org/8820whwnn/deck3.png

Explanation:

  • Enable enables the RIP Daemon Interface.
  • Configure Terminal enables Global Configuration Mode.
  • Router Rip enables RIP Configuration Mode.
  • Redistribute OSPF enables RIP to learn all OSPF routes.
  • Exit exits RIP Configuration Mode
  • Exit exits Global Configuration Mode
  • Write Memory saves the RIP running-configuration.

Please exit the RIP Configuration mode now, and continue to the OSPF Configuration mode.

Router 1 OSPF Configuration

Let's configure a basic OSPF Configuration for Router 1.

http://s13.postimg.org/7znpsnilz/deck4.png

Explanation:

  • Enable enables the OSPF Daemon Interface.
  • Configure Terminal enables Global Configuration Mode.
  • Router OSPF enables RIP Configuration Mode.
  • Redistribute RIP enables OSPF to learn all RIP routes.
  • Router-id 0.0.0.0 specifies the Arbitrary Router-ID which you can think of as a name for this Router. Router 0.0.0.0 is the de-facto Core router.
  • Network 192.168.60.0/24 area 0 configures OSPF for each interface, and specifies which OSPF area of which this Interface is a member. We can get very granular with our configurations, as a Router may belong to 1 or more OSPF Areas.
  • Exit exits OSPF Configuration Mode
  • No access-list vtylist deny any removes the explicit denial rule that ships default with the Daemon, and lets us create a new rule. Just like IPTables, anything after the explicit denial rule will be disregarded.
  • Access-list vtylist permit 192.168.60.0/24 permits traffic on this interface.
  • Access-list vtylist deny any replaces the explicit denial rule. We keep this there for security, and only implicitly permit traffic for each interface.
  • Exit exits Global Configuration Mode
  • Write Memory saves the OSPF running-configuration.

Router 2 OSPF Configuration

Let's configure Router 2 for OSPF Routing. First, let's enable the OSPF Daemon just like we did in Router 1!

http://s27.postimg.org/nz3n3ldoz/Screenshot_from_2014_02_07_04_07_30.png

Explanation:

  • Enable enables the OSPF Daemon Interface.
  • Configure Terminal enables Global Configuration Mode.
  • Router OSPF enables RIP Configuration Mode.
  • Redistribute RIP enables OSPF to learn all RIP routes.
  • Router-id 0.0.0.1 specifies the Arbitrary Router-ID which you can think of as a name for this Router.
  • Network 192.168.60.0/24 area 0 configures OSPF for each interface, and specifies which OSPF area of which this Interface is a member. We can get very granular with our configurations, as a Router may belong to 1 or more OSPF Areas.
  • Network 192.168.61.0/24 area 0 configures OSPF for each interface, and specifies which OSPF area of which this Interface is a member.
  • Exit exits OSPF Configuration Mode
  • No access-list vtylist deny any removes the explicit denial rule that ships default with the Daemon, and lets us create a new rule. Just like IPTables, anything after the explicit denial rule will be disregarded.
  • Access-list vtylist permit 192.168.60.0/24 permits traffic on this interface.
  • Access-list vtylist permit 192.168.61.0/24 permits traffic on this interface.
  • Access-list vtylist deny any replaces the explicit denial rule. We keep this there for security, and only implicitly permit traffic for each interface.
  • Exit exits Global Configuration Mode
  • Write Memory saves the OSPF running-configuration.

Router 3 OSPF Configuration

Let's configure Router 3 for OSPF Routing. First, let's enable the OSPF Daemon just like we did in Router 1 and 2!

http://s30.postimg.org/67ko35fap/deck6.png

Explanation:

  • Enable enables the OSPF Daemon Interface.
  • Configure Terminal enables Global Configuration Mode.
  • Router OSPF enables RIP Configuration Mode.
  • Redistribute RIP enables OSPF to learn all RIP routes.
  • Router-id 0.0.0.2 specifies the Arbitrary Router-ID which you can think of as a name for this Router.
  • Network 192.168.61.0/24 area 0 configures OSPF for each interface, and specifies which OSPF area of which this Interface is a member. We can get very granular with our configurations, as a Router may belong to 1 or more OSPF Areas.
  • Network 192.168.62.0/24 area 0 configures OSPF for each interface, and specifies which OSPF area of which this Interface is a member.
  • Exit exits OSPF Configuration Mode
  • No access-list vtylist deny any removes the explicit denial rule that ships default with the Daemon, and lets us create a new rule. Just like IPTables, anything after the explicit denial rule will be disregarded.
  • Access-list vtylist permit 192.168.61.0/24 permits traffic on this interface.
  • Access-list vtylist permit 192.168.62.0/24 permits traffic on this interface.
  • Access-list vtylist deny any replaces the explicit denial rule. We keep this there for security, and only implicitly permit traffic for each interface.
  • Exit exits Global Configuration Mode
  • Write Memory saves the OSPF running-configuration.