Configure IP Routing

Facebooktwitterredditpinterestlinkedinmailby feather
  • IP Routing stands for “Internet Protocol Routing.”
  • It is the process of sending packets (data) from a source network to a destination network.
  • In IP Routing, routers select the best route for a data packet from the routing table.
  • A routing table contains a list of a different path for destination networks.
  • It stores destination network, subnet mask, next-hop address, routing metrics, and Administrative distance.

Example:

Configure IP routing in the topology is given below:

Configure IP Routing

The process to configure the ip routing is given below:

Correctly configure the IP address on each router’s interface. To configure ip address on router’s interface, first, add ip address followed by the subnet mask. Then provide clock rate if required, and give no shutdown command.

R0 Configuration

For R0 configuration, we need to configure two router interfaces.

1) interface s0/0/0

In interface s0/0/0, we provide the following commands:

Configure IP Routing 1

2) interface f0/0

In interface f0/0, we provide the following commands:

Configure IP Routing 2

To view the IP routing table created on a router R0, use “show ip route” command.

Configure IP Routing 3

In the above screenshot, you can check that only configured ip addresses, and directly connected networks are shown in the routing table.

R1 Configuration

For R1 configuration, we need to configure two router interfaces.

1) Interface s0/0/1

In interface s0/0/1, we provide the following commands:

Configure IP Routing 4

2) Interface f0/0

In interface f0/0, we provide the following commands:

Configure IP Routing 5
  • To view the IP routing tables created on a router R1, use the command “show ip route”.
Configure IP Routing 6

In the above screenshot, you can check that only configured ip addresses, and directly connected networks are shown in the routing table.

Facebooktwitterredditpinterestlinkedinmailby feather