Networking 101
Copyright Priscilla Oppenheimer
Lab 7 IP Addressing and Routing
Scenario
You are a senior network administrator working at a large company.
The network engineers at headquarters have sent you some Cisco routers, firewalls, and switches to install.
Your college intern has completed the cabling and your junior network administrator has checked the intern's work.
You now have the job of getting IP addressing and routing working on all the devices,
including the workstations, routers, firewalls, and switches.
Addressing Steps
- Power on the workstations, routers, switches, and firewalls.
- Configure the workstations for correct IP addressing information. (See the "Lab Topology and Addresses" drawing.)
- On Windows, use the Network Connections Control Panel.
- On Linux:
- Start the Console to get to a command line prompt.
- Type yast to get into Yet Another System Tool.
- To configure the routers and switches for the correct IP address start a HyperTerminal session.
- Type enable (followed by Enter). Type the enable password, provided by the instructor.
- Type configure terminal, which means you are configuring the device from a terminal. (Your PC acts as a terminal.)
- On the routers:
- Type interface and the interface type and number, for example interface fa0 or interface fa0/0. Press Enter.
- Type the IP address and subnet mask using the ip address <address> <mask> command. Press Enter.
- Be sure to do all interfaces.
- On the switch:
- Type interface vlan 1. Press Enter.
- Type the IP address and subnet mask using the ip address <address> <mask> command. Press Enter.
- On the PIX firewalls
- Type ip address outside followed by the ip address for e0 and the subnet mask. Press Enter.
- Type ip address inside followed by the ip address for e1 and the subnet mask. Press Enter.
- Type exit to get out of configuration mode.
- Test the new IP addresses using Ping.
- If you can ping other devices in your subnet, continue to Routing Steps. Otherwise do some troubleshooting. Ask for help if you need it.
Routing Steps
On the "real" routers, we'll use the Open Shortest Path First (OSPF) routing protocol, which is a dynamic link-state routing protocol. Then we'll add a default route for reaching networks outside our control. Neither the switch nor the PIX firewall is a "real" router so if you are on one of those, your job will be different.
Switch
- The switch is a Data-Link layer device so technically doesn't care about IP addressing and routing. However, if you want to ping it or Telnet to it, then it needs an IP address and a "default gateway," just like your PCs do. To configure the switch's default gateway, you need to be in config mode, and then you can use the following command.
- ip default-gateway <address of the gateway>
- For the address of the gateway, use the fa0/0 address of one of the 2600 routers.
- Test your change by seeing if you can ping the switch or Telnet to it from a PC.
PIX firewalls
- Firewalls don't usually run a routing protocol. They just send all traffic to a "real" router. So, on the PIX firewalls, you need to configure a default route. PIX B will also need a set of static routes. Get into config mode, and then use the following commands:
- Default route: route outside 0.0.0.0 0.0.0.0 <address of closest outside router> 1
- Static routes for PIX B: route inside <network number> 255.255.255.0 <address of inside router> 1
Routers
- You need to be in config mode if you aren't already.
- Enter the following OSPF commands:
- router ospf 1
- network 192.168.0.0 0.0.255.255 area 0
- Type exit to get out of configuration mode.
- Do some testing with Ping. You should be able to get to most of our subnets, but not to the Internet or PIX-only-attached networks.
- To reach the Internet, we will need a default route.
- Get into config mode and enter the following command:
- ip route 0.0.0.0 0.0.0.0 <address of router>
- For the address of the router use your "next-hop" router.
- On the 2600s, use the inside (e1) address of PIX B.
- On the 1700s, use your local 2600 router.
- To reach network 192.168.100.2, which is hanging off of PIX C, add the following commands to the 1700A router:
- ip route 192.168.100.0 255.255.255.0 192.168.40.2
- router ospf 1
redistribute static
Reflection
What were the work goals of this project? (Please write this as if you were writing a work status report.
In other words, write the project goals, not the learning objectives.)
__________________________________________________________________________________________________________
__________________________________________________________________________________________________________
__________________________________________________________________________________________________________
__________________________________________________________________________________________________________
What problems did you encounter?
__________________________________________________________________________________________________________
__________________________________________________________________________________________________________
__________________________________________________________________________________________________________
__________________________________________________________________________________________________________
What concerns do you have for the future for this network? Assume that you and your co-workers will now have the job of operating and monitoring this new "real-life" network. Based on your experiences setting it up and any problems encountered, what will you be keeping an eye on? What problems may occur?
__________________________________________________________________________________________________________
__________________________________________________________________________________________________________
__________________________________________________________________________________________________________
__________________________________________________________________________________________________________