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 an IP address to a device is a foundational requirement for all Cisco networking devices.
  • Networking devices communicate with each other with the help of IP address that configures on an individual device.

Router Interfaces

  • The interface configuration is one of the most important router configurations because, without interfaces, a router does not communicate with other devices on a network.
  • Router interfaces also play a great role in troubleshooting, which often results in solving the connectivity problem by correcting the misconfigured interfaces of the router.

Configure an IP Address on Router’s Interface

There are two ways to configure an IP Address on the Router's Interface-

  • Configure an IP Address to Fast Ethernet Interface
  • Configure an IP Address to Serial Interface

Configure an IP Address to Fast Ethernet Interface

There are following steps involved to configure an IP Address to Fast Ethernet Interface –

Step1: Open the Cisco Packet Tracer.

Step2: Drag and drop any series of the router from the bottom of the interface into the middle of the working area.

Step 3: Select cable from the bottom of the interface to connect the routers.

Step 4: Click on Router R0, then on CLI.

Step5: Go to the global configuration mode, and type slot/ port or interface Fast Ethernet 0/0 (or interface f0/0)

Configure ip address

Step 6: Now configure an IP address and subnet mask then give “no shutdown” command. (In our case, IP address is 10.0.0.2 and subnet mask is 255.0.0.0)

Note: Carefully configure IP address with proper interfaces.

Configure ip address 1

Configure an IP Address to Serial Interface

There are following steps involved to configure an IP Address to Serial Interface –

Step1: Open the Cisco packet tracer.

Step2: Drag and drop any series of the router from the bottom of the interface into the middle of the working area.

Step 3: Click the Router ->select then Physical->select then WIC-IT->switch off the router.

Configure ip address 2
  • Add serial port -> Switch ON the router.
Configure ip address 3
  • Now Go to CLI, then the global configuration mode, and type interface serial 0 0/0 (or interface s0/0/0).
Configure ip address 4
  • Now, configure an IP address and subnet mask, and then give no shutdown command. (In our case IP address is 10.0.0.2 and subnet mask is 255.0.0.0)
Configure ip address 5

Note: Carefully configure IP address with proper interfaces.

Configure an IP Address to PC

There are following steps involved to configure an IP Address to PC:

Step1: Open the Cisco Packet Tracer.

Step2: Drag and drop PC from the bottom of the interface into the middle of the working area.

Step3: Click on PC ->Config Gateway like 10.0.0.1

Configure ip address 6

Click on FastEthernet to assign an IP address and subnetmask to the PC, and close PC window. In our case IP is 10.0.0.10 and subnet mask is 255.0.0.0.0,

Configure ip address 7