INE3010 Pre Lab 1: OSPF Objective - setup Cisco router and Zebra routing daemon on PC - getting familiar on operating OSPF with configure such as multiple areas, external routes and default routes Reference Materials - OSPF Design Guide - IOS Configuring OSPF - Zebra docs Setup - equipment: Catalyst 2950 switch, Cisco 1721 router, 3 VMs (VM1, VM2 & VM5) Lo0 192.168.3.1/24 | Area 51 +--+--+ Area 0 fa0.32 224.1 |C1721| fa0.31 1.3 eth0 ----+-----+-------- 192.168.224.2/30 / \ eth0 192.168.1.1/24 +-----+ +-----+ | VM2 | | VM5 |--lo:0 192.168.64.1/30 +--+--+ +--+--+ lo:1 192.168.80.1/30 | | 10.0.0.0/24 --+-- +--+--+ lo:0 192.168.240.1/30 | VM1 | lo:1 192.168.244.1/24 +-----+ Steps 1. Setup 3 OSPF router on Cisco, VM2 and VM5. On each router, advertise the networks into OSPF include loopbacks. Loopback network for VM can be created by using the alias network of lo (loopback). e.g. ifconfig lo:0 192.168.240.1 netmask ... 2. Identify the classification (DR/BDR, BR, ABR, ASBR) and router ID of the OSPF routers by using the command show ip ospf show ip ospf neighbor [detail] 3. Identify different routes advertised in OSPF show ip route show ip ospf route (on zebra) show ip ospf database 4. Suppose VM1 is a gateway to the subnet 10.0.0.0/16. On VM5, add a static route for 10.0.0.0/16 ip route 10.0.0.0/16 eth1 (syntax for zebra) To advertise this static route into OSPF, use the redistribute command in OSPF router router ospf redistribute static On Cisco router and VM2, identy the type of this route. Check the OSPF status of VM5 OSPF router after the static router is being redistributed. 5. Config area 51 as a stub area by using the OSPF router command on both Cisco router and VM2 router ospf area 51 stub Check the classification of area 51 by the command show ip ospf Check the route table on VM2 to see the changes.