0% found this document useful (0 votes)
44 views

CN EXP2 Network Commands

The document discusses IP networking and network commands. It describes using IP addressing to identify hosts in networks of different sizes using class A, B, and C addressing. It also outlines commands like ping, ipconfig, tracert, and nslookup to test and view network configurations. The procedure involves designing two class A networks with PCs and switches connected by a router. Students will configure the router ports, assign IP addresses, and use commands like ping and ipconfig to test connectivity.

Uploaded by

shweta joshi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

CN EXP2 Network Commands

The document discusses IP networking and network commands. It describes using IP addressing to identify hosts in networks of different sizes using class A, B, and C addressing. It also outlines commands like ping, ipconfig, tracert, and nslookup to test and view network configurations. The procedure involves designing two class A networks with PCs and switches connected by a router. Students will configure the router ports, assign IP addresses, and use commands like ping and ipconfig to test connectivity.

Uploaded by

shweta joshi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

SEM VI Computer Networks

laboratory

Experiment No.: Date:

Title: IP networking and Network Commands


Learning Objectives: At the end of this experiment, students will be able to:
 Design their own computer networks using the concept of IP
networking.
 Configure various ports of router
Apparatus: Cisco Packet Tracer

Theory:
IP addressing
Networks can be constructed to fit many needs and in a wide range of sizes. The larger a
network, the more complicated its structure and topology. Because of hardware
restrictions, a single network segment can have a limited number of hosts connected to it.
If we have more machines to connect than the hardware allows, we can use switches and
routers (also called gateways) to connect these individual segments. A router is simply a
machine connected to more than one segment. It transfers data from one segment (or
network) to the other. To identify each host in a network, IP addressing is used. Without
IP addresses routing would be impossible for large scale networks, Class A IP addressing
is used for huge networks. For medium-scale networks, Class B IP addressing is used.
For small size networks, Class C IP addressing is used.
Commands:
1) Ping Command: - The ping is a Command Prompt command used to test the
ability of the source computer to reach a specified destination computer. The ping
command is usually used as a simple way to verify that a computer can
communicate over the network with another computer or network device.
2) Ipconfig Command: - Ipconfig command displays the IP address, subnet mask,
and default gateway values for each interface of a network.
SEM VI Computer Networks
laboratory

3) Tracert :- Tracert is a computer network diagnostic tool for displaying the route


(path) and measuring transit delays of packets across an Internet Protocol (IP)
network. If you're visiting a Web site and pages are appearing slowly, you can use
tracert to figure out where the longest delays are occurring.
4) Nslookup is a network administration command-line tool available for many
computer operating systems for querying the Domain Name System (DNS) to
obtain domain name.
Configuring servers
DHCP server: Dynamic Host Configuration Protocol (DHCP) is a client/server protocol
that automatically provides an Internet Protocol (IP) host with its IP address and other
related configuration information such as the subnet mask and default gateway.
DNS server: Domain Name System (DNS) is a standard technology for managing
public names of Web sites and other Internet domains.  It translates domain names, which
can be easily memorized by humans, to the numerical IP addresses needed for the
purpose of computer services and devices worldwide. The Domain Name System is an
essential component of the functionality of most Internet services because it is the
Internet's primary directory service.

Procedure:
1. Design one network of class A (network address 10.0.0.0) which consist of two
PCs and a switch, and another network of class A (20.0.0.0) which consist of two
PCs and a switch, now connect them using a router.
2. Configure various ports of the router.
3. Assign IP addresses to each PC.
4. Run ping, ipconfig commands from command prompt and check the result.

Conclusions:
SEM VI Computer Networks
laboratory

1. Write down the IP address of your pc in the laboratory.


2. Write down the IP address of the DNS server of your pc.

You might also like