Objective: Learn to configure a full mesh topology.
Lab Equipment: Router 1, Router 2, Router 3, and Router 4 from the eRouters menu
Background Reading: Lab Primer Lesson 9: Frame Relay
Again, the company’s corporate office is in Dallas and its sales offices are in San Francisco, New York, and Tampa. The sales offices should be able to access all company resources. You want to establish a full mesh topology in which a point-to-point Frame Relay connection links the corporate office to each sales office and links each sales office to every other sales office.
The difference between the Frame Relay hub-and-spoke topology and the full mesh topology is that, with a full mesh topology, every sales office has a direct connection to every other sales office and the corporate office. This is a very redundant topology so if one of the connections fails,data can still be transferred to every site by using a different path.
1. First, assign the host names of Dallas, San_Francisco, New_York, and Tampa to Router 1, Router 2, Router 3, and Router 4, respectively. 2. Now, enter interface configuration mode for the serial 0 interface on Dallas, and set the encapsulation type to Frame Relay. Be sure to enable the interface. Dallas(config)#interface serial 0 Dallas(config-if)#encapsulation frame-relay Dallas(config-if)#no shutdown 3. Next, create a subinterface for the connection between Dallas and the San Francisco sales office. Dallas(config-if)#exit Dallas(config)#interface serial 0.100 point-to-point Dallas(config-subif)# 4. Assign the subinterface the DLCI number for the connection from Dallas to San_Francisco, and configure the subinterface with the appropriate IP address. Remember to enable the subinterface. Dallas(config-subif)#frame-relay interface-dlci 102 Dallas(config-subif)#ip address 172.16.1.1 255.255.255.0 Dallas(config-subif)#no shutdown 5. Create a subinterface for the connection from Dallas to the sales office in New York. Dallas(config-subif)#exit Dallas(config)#interface serial 0.200 point-to-point Dallas(config-subif)# 6. Add the correct DLCI for the connection from Dallas to New_York, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. Dallas(config-subif)#frame-relay interface-dlci 103 Dallas(config-subif)#ip address 172.16.2.1 255.255.255.0 Dallas(config-subif)#no shutdown 7. Create a subinterface for the connection from Dallas to the sales office in Tampa. Dallas(config-subif)#exit Dallas(config)#interface serial 0.300 point-to-point Dallas(config-subif)# 8. Add the correct DLCI for the connection from Dallas to Tampa, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. Dallas(config-subif)#frame-relay interface-dlci 104 Dallas(config-subif)#ip address 172.16.3.1 255.255.255.0 Dallas(config-subif)#no shutdown 9. Access the serial 0 interface of San_Francisco, set the encapsulation to Frame Relay, and enable the interface. San_Francisco(config)#interface serial 0 San_Francisco(config-if)#encapsulation frame-relay San_Francisco(config-if)#no shutdown 10. Create the first subinterface for the connection from San_Francisco to the corporate office in Dallas. San_Francisco(config-if)#interface serial 0.100 point-to-point San_Francisco(config-subif)# 11. Add the correct DLCI for the connection from San_Francisco to Dallas, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. San_Francisco(config-subif)#frame-relay interface-dlci 201 San_Francisco(config-subif)#ip address 172.16.1.2 255.255.255.0 San_Francisco(config-subif)#no shutdown 12. Create a subinterface for the connection from San_Francisco to New_York. San_Francisco(config-subif)#exit San_Francisco(config)#interface serial 0.200 point-to-point 13. Add the correct DLCI value for the connection from San_Francisco to New_York, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. San_Francisco(config-subif)#frame-relay interface-dlci 203 San_Francisco(config-subif)#ip address 172.16.4.1 255.255.255.0 San_Francisco(config-subif)#no shutdown 14. Create the subinterface for the connection from San_Francisco to Tampa. San_Francisco(config-subif)#exit San_Francisco(config)#interface serial 0.300 point-to-point 15. Add the correct DLCI value for the San_Francisco to Tampa connection, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. San_Francisco(config-subif)#frame-relay interface-dlci 204 San_Francisco(config-subif)#ip address 172.16.6.1 255.255.255.0 San_Francisco(config-subif)#no shutdown 16. Access the serial 0 interface of New_York, set the encapsulation to Frame Relay, and enable the interface. New_York(config)#interface serial 0 New_York(config-if)#encapsulation frame-relay New_York(config-if)#no shutdown 17. Create the fi rst subinterface for the connection from New_York to the corporate office in Dallas. New_York(config-if)#exit New_York(config)#interface serial 0.100 point-to-point 18. Add the correct DLCI value for the connection from New_York to Dallas, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. New_York(config-subif)#frame-relay interface-dlci 301 New_York(config-subif)#ip address 172.16.2.2 255.255.255.0 New_York(config-subif)#no shutdown 19. Create the subinterface for the connection from New_York to San_Francisco. New_York(config-subif)#exit New_York(config)#interface serial 0.200 point-to-point 20. Add the correct DLCI value for the connection from New_York to San_Francisco, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. New_York(config-subif)#frame-relay interface-dlci 302 New_York(config-subif)#ip address 172.16.4.2 255.255.255.0 New_York(config-subif)#no shutdown 21. Create the subinterface for the connection from New_York to Tampa. New_York(config-subif)#exit New_York(config)#interface serial 0.300 point-to-point 22. Add the correct DLCI value for the New_York to Tampa connection, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. New_York(config-subif)#frame-relay interface-dlci 304 New_York(config-subif)#ip address 172.16.5.1 255.255.255.0 New_York(config-subif)#no shutdown 23. Access the serial 0 interface on Tampa, set the encapsulation to Frame Relay, and enable the interface. Tampa(config)#interface serial 0 Tampa(config-if)#encapsulation frame-relay Tampa(config-if)#no shutdown 24. Create the first subinterface for the connection from Tampa to the corporate office in Dallas. Tampa(config-if)#exit Tampa(config)#interface serial 0.100 point-to-point 25. Add the correct DLCI value for the Tampa to Dallas connection, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. Tampa(config-subif)#frame-relay interface-dlci 401 Tampa(config-subif)#ip address 172.16.3.2 255.255.255.0 Tampa(config-subif)#no shutdown 26. Create the subinterface for the connection from Tampa to San_Francisco. Tampa(config-subif)#exit Tampa(config)#interface serial 0.200 point-to-point 27. Add the correct DLCI value for the Tampa to San_Francisco connection, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. Tampa(config-if)#frame-relay interface-dlci 402 Tampa(config-subif)#ip address 172.16.6.2 255.255.255.0 Tampa(config-subif)#no shutdown 28. Create the subinterface for the connection from Tampa to New_York. Tampa(config-subif)#exit Tampa(config)#interface serial 0.300 point-to-point 29. Add the correct DLCI value for the Tampa to New_York connection, and configure the appropriate IP address for the subinterface. Remember to enable the subinterface. Tampa(config-subif)#frame-relay interface-dlci 403 Tampa(config-subif)#ip address 172.16.5.2 255.255.255.0 Tampa(config-subif)#no shutdown 30. Now, all interfaces should be up and up. To test the configuration, connect to Dallas and try to ping each of the three sales offices. Dallas(config-subif)#exit Dallas(config)#exit Dallas#ping 172.16.1.2 Dallas#ping 172.16.2.2 Dallas#ping 172.16.3.2 31. Connect to San_Francisco, and try to ping the other three offices. San_Francisco(config-subif)#exit San_Francisco(config)#exit San_Francisco#ping 172.16.1.1 San_Francisco#ping 172.16.4.2 San_Francisco#ping 172.16.6.2 *************************************************
本文转自redking51CTO博客,原文链接:http://blog.51cto.com/redking/72726 ,如需转载请自行联系原作者