In this lab, we are going to assign the IP Address on-device
interface. As you can see, this is a basic network topology, hence explaining
only the basic Cisco IOS command. Also, we will test the direct connectivity with
ping utility.
Task:-
Check the current interface
status
Assign IP on the Router and
PC
Verify the IP Address
Verify the connectivity from
Router to PC and PC to Router
Here I am using GNS3 VE to demonstrate this lab. I have already
placed two routers, one switch, one client device. Let us look at the
configurations.
Ethernet Switch -
SW1
Host Device - PC1
R1- Router Configuration
Check the current
interface status using the sh ip interface brief command
IP Configuration on
Serial Interface
R1#config t
R1#(config)#interface
s2/0
R1#(config-if)#no ip
address
R1#(config-if)#ip
address 10.1.1.2 255.0.0.0
R1#(config-if)#no
shutdown
IP Configuration on
Ethernet Interface
R1#config t
R1#(config)#interface
e0/0
R1#(config-if)#no ip
address
R1#(config-if)#ip
address 192.168.100.1 255.255.255.0
R1#(config-if)#no
shutdown
Verify the IP
Address using the sh ip interface
brief command
Switch Configuration
Here we are using an Ethernet Switch so there is no need to
configure the Switch in this topology. We will discuss other details in later
articles.
PC1 - Host Configuration
Check the current IP
Address status using the show ip command
IP Configuration
PC>ip
192.168.100.10 /24 192.168.100.1
We can use ping utility to check
the connectivity between the devices. Below are the results.
PC to Gateway |
Router to Host |
We have configured a basic cisco based network topology and covered
almost general commands. In the coming post will configure remote connectivity
and static routes.
COMMENTS