Topology
Instructions
Connect two routers together with a serial or crossover cable:
- Add IP addresses to the routers and a Loopback interface on Router A and Router B, according to the diagram
- Ping between Router A and Router B to test the serial line (remember clock rates)
- Configure OSPF on both routers
- Ensure that you add all the correct wildcard masks (which subnet is the WAN link in?)
- Put all networks into an area, but put 172.20.1.0/26 into Area 1 and 10.2.2.0/28 into Area 20
- Check the routing table and ping all IP addresses
- Configure an extended ACL on Router B
- Block www traffic into Router B destined for the 172.20.1.0/26 network; permit all other IP traffic
- You can only test this if you have a web server behind the router OR on live routers by adding the ip http server command to the router and Telnetting on port 80:
RouterA#telnet 172.20.1.0 80 [this won’t work on Packet Tracer]
Solution Hints and Commands
- Use the router ospf x command to configure OSPF
- network x.x.x.x y.y.y.y area z
- access-list 100 deny tcp any 172.20.1.0 0.0.0.63 eq www
