Back to Catalog

IP Routes & Ports

The "Why" and the "How" of Network Communication

Introduction: The Digital Delivery Service

IP Routing: Directing Traffic

Think of a router as a post office. It doesn't know every address in the world, but it knows the next post office to send a letter to.

IP Routing: Key Use Cases

Ports: Application Specificity

The IP address gets data to the right building. The port gets it to the right apartment.

Ports: Common Examples

The "How": Configuring a Static Route

We use the ip route command in Cisco IOS:

ip route [destination_network] [subnet_mask] [next_hop_address]

This command manually teaches the router about a path to a remote network.

Cisco IOS: Step-by-Step

Step 1: Enter Privileged EXEC Mode

Router> enable
Router#

Step 2: Enter Global Configuration Mode

Router# configure terminal
Router(config)#

Cisco IOS: Step-by-Step

Step 3: Write the Static Route Command

Tell the router how to reach network 192.168.2.0/24 via next-hop 203.0.113.2.

Router(config)# ip route 192.168.2.0 255.255.255.0 203.0.113.2

Cisco IOS: Verification

Step 4: Save the Configuration

Router# copy running-config startup-config

Step 5: Verify the Route

Router# show ip route
...
S 192.168.2.0/24 [1/0] via 203.0.113.2
...

The 'S' confirms the Static route is active.

Next Steps