Networking 201
Copyright Priscilla Oppenheimer
Lab 4 IP Routing: OSPF and BGP
Scenario
You are a senior network administrator who has the job of installing a complex internetwork to connect various branch offices for a large company. You have decided to upgrade the routing to OSPF. You will also experiment with BGP.
Check the Current Status of IP Routing.
- Use the show ip protocol command to determine what routing protocol is currently in use, then remove it with a no command.
- For example, on the routers use the no router eigrp 100 command to remove EIGRP.
OSPF Link-State Routing
- On the routers, configure OSPF with the following commands:
- router ospf 100
- network 192.168.0.0 0.0.255.255 area 0
- Unfortunately, the PIX firewall doesn't support OSPF.
- If you are on a PIX, you can use default routing with the following command:
- route inside 192.168.0.0 255.255.0.0 192.168.20.4 1
- Check your work (and your cohorts' work) with the following commands.
- show ip route
- show ip interface
- show ip protocol
- show ip ospf
- show ip ospf database
- show ip ospf neighbor
- show ip ospf interface
- debug ip ospf events
- Test the network by pinging to all other devices. Can you reach every other device? Can you still reach the Internet?
BGP Path-Vector Routing
- On the routers, disable OSPF with the following command:
- no router ospf 100
- Work with your colleagues to select a unique autonomous system number for each network.
- Configure BGP with the following commands.
- router bgp <your autonomous system>
- network <your network> mask 255.255.255.0
- neighbor <IP address of your neighbor> remote-as <your neighbor's autonomous system>
- Test BGP with the following commands.
- show ip route
- show ip bgp
- show ip bgp neighbors
- show ip bgp paths
- show ip bgp summary
- Test the network by pinging to all other devices. Can you reach every other device? Can you still reach the Internet?
Submission
Write a short lab report that summarizes your work and any problems you ran into. The lab report should cover:
- State of the network before you made any changes
- Major changes that you made to the network
- Any problems you encountered
- Conclusions about the health of the network in its new state
Submit your report
- Attach an MS Word-compatible file to the assignment.
- Your report should be about 1/2 page long, using a 12-point font and double spacing. It doesn't have to be anything fancy.