> ## Content Index
> Fetch the complete content index at: https://www.pinglabz.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Cisco IPv4 Configuration: Configure, Verify, and Troubleshoot IPv4
- URL: https://www.pinglabz.com/cisco-ipv4-configuration-guide/
- Published: 2025-10-24T19:12:11.000Z
- Updated: 2026-07-04T23:06:27.000Z
- Description: Learn Cisco IPv4 configuration step by step using real CLI commands. This beginner-friendly CCNA lab shows how to configure, verify, and troubleshoot IPv4 on Cisco routers.
- Author: Jaime
- Tags: Fundamentals, #Import 2026-08-01 19:54

IPv4 addressing enables devices to communicate in a network. Configuring IPv4 correctly on Cisco routers is a core skill you must master for both real networking environments and the CCNA exam.

This tutorial walks through configuring IPv4 on two Cisco routers, verifying interface status, testing connectivity, and troubleshooting common issues. The configuration and verification steps below were run using Cisco CML, but you can also use GNS3, Packet Tracer, or real hardware.

## Topology

![](https://storage.ghost.io/c/ff/28/ff28db4a-11e1-4835-b928-158974cf96c1/content/images/2025/10/image-5.png)

GigabitEthernet0/0

DeviceR-1

IP Address192.168.50.1

Subnet Mask255.255.255.0

GigabitEthernet0/0

DeviceR-2

IP Address192.168.50.2

Subnet Mask255.255.255.0

## Step 1: Configure Router Hostnames

### R-1

```
enable
configure terminal
hostname R-1
no ip domain-lookup

```

### R-2

```
enable
configure terminal
hostname R-2
no ip domain-lookup

```

## Step 2: Configure IPv4 Addresses on Interfaces

### R-1

```
R-1(config)# interface gigabitEthernet0/0
R-1(config-if)# ip address 192.168.50.1 255.255.255.0   ! Assign IPv4 address
R-1(config-if)# no shutdown                             ! Enable interface

```

### R-2

```
R-2(config)# interface gigabitEthernet0/0
R-2(config-if)# ip address 192.168.50.2 255.255.255.0   ! Assign IPv4 address
R-2(config-if)# no shutdown

```

## Step 3: Verify Interface Status and IP Configuration

Use the following command to confirm interface status:

### R-1

```
R-1# show ip interface brief
Interface              IP-Address        OK? Method Status            Protocol
GigabitEthernet0/0     192.168.50.1      YES manual up                up

```

### R-2

```
R-2# show ip interface brief
Interface              IP-Address        OK? Method Status            Protocol
GigabitEthernet0/0     192.168.50.2      YES manual up                up

```

![](https://storage.ghost.io/c/ff/28/ff28db4a-11e1-4835-b928-158974cf96c1/content/images/2025/10/image-6.png)

> In the `show ip interface brief` screenshot. The Method column shows how the IP address was assigned to the interface, such as manually (configured by the user) or via DHCP. The Status column indicates the physical Layer 1 state of the interface, showing up if the interface is physically connected or administratively down if it has been disabled with the shutdown command. The Protocol column reflects the Layer 2 status, indicating whether the interface can send and receive data using its configured protocol. For full connectivity, both Status and Protocol should display up.

## Step 4: Test IPv4 Connectivity

### Ping from R-1 to R-2

```
R-1# ping 192.168.50.2
!!!!!

```

### Ping from R-2 to R-1

```
R-2# ping 192.168.50.1
!!!!!

```

A successful ping confirms IPv4 connectivity between routers.

![](https://storage.ghost.io/c/ff/28/ff28db4a-11e1-4835-b928-158974cf96c1/content/images/2025/10/image-7.png)

## Step 5: View Routing Table

Routers automatically learn about directly connected networks.

```
R-1# show ip route
C 192.168.50.0/24 is directly connected, GigabitEthernet0/0
L 192.168.50.1/32 is directly connected, GigabitEthernet0/0

```

![](https://storage.ghost.io/c/ff/28/ff28db4a-11e1-4835-b928-158974cf96c1/content/images/2025/10/image-8-1.png)

The screenshot above shows the output of the `show ip route` command from both R-1 and R-2\. This command displays each router’s routing table, which tells the router where to forward IPv4 packets.

Both routing tables indicate that the IPv4 configuration is correct. The `C` code shows that the **192.168.50.0/24 network is directly connected** through the GigabitEthernet0/0 interface, and the `L` entry represents the router’s **local interface IP address**. The message "Gateway of last resort is not set" simply means no default route has been configured yet, which is expected in this simple point-to-point lab.

This confirms that both routers have successfully learned the connected network and that IPv4 connectivity is operational.

## Step 6: Troubleshoot Common IPv4 Issues

administratively down, down

MeaningInterface shut down

SolutionRun `no shutdown`

up, down

MeaningCable or link issue

Solution

Check physical connection

down, down

Meaning

Interface disabled or no cable

Solution

Enable and connect link

up, up

MeaningInterface is working

SolutionNo action required

### Example: Fix Interface Down Issue

```
R-2# show ip interface brief
GigabitEthernet0/0 192.168.50.2 administratively down down

R-2(config)# interface g0/0
R-2(config-if)# no shutdown

```

### Common Troubleshooting Commands

show ip interface brief

Check IPs and interface status

show ip route

View routing table

show running-config

Verify interface configuration

ping

Test IPv4 connectivity

traceroute

Trace network path

## FAQ

### Why is my interface showing administratively down?

Because it has not been enabled yet. Go to interface config mode and use `no shutdown`.

### Why are pings failing even with correct IPs?

Most common causes: wrong subnet, interface down, or no link connection.

### Do I need a routing protocol for this lab?

No. Directly connected networks are added automatically.

## Lab Recap

In this IPv4 configuration lab, you:

- Assigned IPv4 addresses to router interfaces
- Enabled and verified interface connectivity
- Tested connectivity using ping
- Analyzed routing tables
- Used basic troubleshooting commands

This foundational IPv4 setup is the first step in building more advanced labs, such as static routing, VLAN routing, or OSPF configuration.

Next in the networking fundamentals series: [7 Essential OSI Model Layers: Complete Guide for Network Beginners](https://www.pinglabz.com/introduction-to-osi-model/).