Enrutamiento Estático en Packet Tracer
Static Routing Configuration with Cisco Equipment
Introduction to Static Routing
- Xavier Marichal introduces the topic of configuring static routing protocols using Cisco equipment, emphasizing the simplicity of the procedure.
- The goal is to enable communication between two computers located in different networks, specifically allowing PC 0 to send traffic to PC 1 and vice versa.
Network Topology Overview
- The topology consists of four subnets:
- 192.168.0.0/24
- 10.10.0.0/30
- 10.200.0.30
- 192.168.10.0/24
Configuring Static Routes on Router A
- To route traffic from the source subnet to the destination subnet, static routes must be configured on each router, starting with Router A.
- The command
ip routeis used in global configuration mode; it requires specifying:
- Destination network (e.g., 192.168.10)
- Subnet mask (/24)
Defining Next Hop for Static Route
- When prompted by the router, you need to specify the next hop IP address for forwarding packets towards the destination network.
- For Router A, this next hop is set as interface IP of Router B (10.102), which has been pre-configured.
Configuring Routes on Router B
- On Router B, two static routes are necessary due to its intermediate position:
- One route for traffic coming from Router A towards PC 1.
- Another route for traffic returning from PC 1 back to PC 0.
Completing Configuration on Routers
- In Router B's global configuration mode:
- Set a static route for reaching network (192.168.x.x).
- Specify next hop IP addresses accordingly based on desired directionality of traffic flow.
Understanding External Networks and Direct Connections
- Only one static route needs creation in routers directly connected to external networks since they already know how to reach those networks without additional configuration.
Testing Connectivity Between PCs
- After completing configurations, successful packet transmission between both PCs is confirmed through tests.
- Using a traceroute command (
tracert), users can observe each hop taken by packets traveling from one computer to another.