×

Configure IP Routing

  • 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:

ip address – 192.168.10.1    // you can give any series of ip address and subnet mask.
subnet mask- 255.255.255.0
clock rate – 64000
no shutdown 
Configure IP Routing 1

2) interface f0/0

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

 ip address 10.0.0.1  255.0.0.0  //you can give any series of ip address and subnet mask
 no shutdown
 exit //to move global configuration mode
 exit   // to move privileged exec mode 
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:

 ip address 192.168.20.1  255.255.255.0  // you can use any series of ip address and subnet   mask
 no shutdown 
Configure IP Routing 4

2) Interface f0/0

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

 ip address 20.0.0.1  255.0.0.0  //you can give any series of ip address and subnet mask
 no shutdown
 exit    //to move global configuration mode
 exit   // to move privileged exec mode 
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.


Related Topics

Internetworking Basics

What is a Network? A network is a group of two or more devices connected by some transmission media, i.e., cables. The purpose of designing a network is to enable the sharing...

4 minutes read.

Switching

A switch is a network device which is used to connect multiple devices (routers, computers) inside the LAN (Local Area Network). It operates at Data Link Layer (Layer 2) of the OSI reference...

3 minutes read.

CCNA Tutorial

What is CCNA? CCNA stands for Cisco Certified Network Associate. It is a certification course offered by Cisco. CCNA improves your understanding of the internet working and how different network topologies work...

3 minutes read.

Open Shortest Path First (OSPF) Basics

Open Shortest Path First(OSPF) is a classless routing protocol. It uses a link-state routing protocol, which means that the routers exchange topology information with their nearest neighbors. The OSPF maintains three separate tables that...

3 minutes read.

Variable Length Subnet Masks (VLSMs)

Variable Length Subnet Masks (VLSMs) A VLSM is a process of allocating IP addresses to the subnets according to the user’s need.VLSM is introduced to avoid the wastage of IP addresses.It allows you to...

3 minutes read.

Saving, Erasing, and Verifying Configuration

Saving Configuration Cisco device store commands information into two configuration files: running configurationstartup configuration running configuration In the running configuration, you can manually save the data from RAM to NVRAM by typing the copy running-config startup-config command. When you...

3 minutes read.

TCP/IP and DoD Model

Introduction to TCP/IP Model TCP/IP model was introduced in 1974. TCP/IP stands for Transmission Control Protocol/Internet Protocol. TCP/IP is an underlying communication protocol used by internet and commercial networks. The Transmission Control Protocol (TCP)...

10 minutes read.

Banner config

Banner config The banner is a little pool which is used in Cisco systems and also in other systems like Unix, Linux and so no.It permits a text that is displayed when you log in a...

1 minute read.

Download and Install the Cisco Packet Tracer

Download and Install the Cisco Packet Tracer Step1: -Download Cisco Packet Tracer from the link given below: https://arief-jr.blogspot.com/2016/01/download-cisco-packet-tracer-62-for.html Here we will download Cisco packet tracer for Windows OS, so for Windows, go for...

1 minute read.

Configure IP address to Router and PC in Packet Tracer

Configure IP address to Router and PC in Packet Tracer As a Network Engineer, it is compulsory to know how to configure an IP Address on networking devices like Router, Switch, PC, and Server.Assigning...

3 minutes read.

Cisco IOS Overview

Cisco IOS Overview Cisco Internetwork Operating System (IOS) is a multitasking operating system which controls all functions of Cisco routers and switches. Willaim Yeager wrote the first IOS in 1986.It is used to allocate resources and manages...

2 minutes read.

Data Encapsulation and De-Encapsulation

Data Encapsulation It is the process of adding headers and trailers to data. When a host transmits data to another device over a network, the data is encapsulated, with protocol information...

5 minutes read.

Configuring EIGRP

Consider the topology given below – The initial IP configuration table is given below: Devices Interface IP address Router1 ...

2 minutes read.

Routing Information Protocol

Routing Information Protocol (RIP) Routing Information Protocol is a distance-vector routing protocol. It uses hop count to determine the best way for the remote network. By default, it has a maximum hop count 15. In...

5 minutes read.

Checking Network Connectivity and Troubleshooting

As a Network Engineer, you must know that how to check network connectivity and troubleshoot a network. There are following commands are used in the network to check and troubleshoot the network connectivity – 1)...

3 minutes read.

IP Addressing

IP Addressing IP Addressing is designed to allow hosts on a network to communicate with another host on a different network. There are two types of IP address: IPv4 IPv4 addresses are 32-bits long. It allows...

2 minutes read.

Routing Basics

Routing is the process of delivering a message across one or more networks by choosing the most appropriate path.It is performed by many kinds of networks like telephone network (Circuit Switching), electronic data networks...

2 minutes read.

Configure Hostname

Configure a hostname on a router A hostname is a unique name given to a device (router or switch) on a network and is used to identify one device from another on a specific...

1 minute read.

Subnetting

Subnetting is the process of dividing a big network into many small networks. Suppose there is a company which has four departments like Development, HR, Marketing, and Testing. We don't want that all...

5 minutes read.

Configuring Catalyst Switches

When you power on a new purchased Switch for the first time, it runs a series of Power-On Self Tests (POSTs) operations. A  POST is designed to verify the basic operations of the...

3 minutes read.