CN EXP2 Network Commands
CN EXP2 Network Commands
laboratory
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
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