CN Lab
CN Lab
Aim: to create a LAN for file sharing files among the systems using a switch.
Theory: in this LAN we connect all the devices through the switch, which acts as the central
node and so creating the star topology.
Procedure:
1. Connect all the devices to the switch using ethernet cable.
2. Set up the IPv4 configuration in each end devices using following steps-
a. Go to network connection using command: “ncpa.cpl” in cmd or in search.
b. Open ethernet connection’s properties.
c. Click on INTERNET PROTOCOL VERSION 4(TCP/IPv4) option.
d. Set the static IPv4 address in all the devices in the same way.
3. Go to “Control Panel\All Control Panel Items\Network and Sharing Center\Advanced
sharing settings” and turn on all the network discovery options.
4. Now check whether connection has been established or not using cmd:
a. Go to cmd and type “ping <ip address of other device>”.
5. After connection is established go to network in the file explorer and start sharing the
file.
Networking commands:
1. ipconfig: comprehensive view of information regarding the IP address configuration of
the device we are currently working on.
2. ping: it allows the user to check the connectivity of our system to another host.
3. tracert: The TRACERT command is used to trace the route during the transmission of
the data packet over to the destination host and also provides us with the “hop” count
during transmission.
4. arp(address resolution protocol): used to access the mapping structure of IP addresses
to the MAC address.
5. nslookup command is used to troubleshoot network connectivity issues in the system.
6. getmac /v: mac address of all interfaces.
7. Ipconfig /displaydns: give ip addresses of all the domain names.
EXPERIMENT NO. 6
AIM: to study and implement different networks topologies using LAN trainer kit.
Apparatus required: LAN trainer kit apparatus, ethernet cables and end devices.
1. Star topology: there is a central node(hub or switch) through which all the devices are
connected to each other.
Advantages:
If there are n devices than we need n ethernet cables for connecting
Each device requires only 1 port i.e., to connect to the hub, therefore the total number
of ports required is N.
It is Robust. If one link fails only that link will affect and no other than that.
Easy to fault identification and fault isolation.
Star topology is cost-effective as it uses inexpensive coaxial cable.
Problems:
If central node got fails then whole system will crash down.
The cost of installation is high.
Performance is based on central node.
2. Bus topology:
Bus topology is a network type in which every computer and network device is
connected to a single cable and is bi-directional.
In this topology various MAC protocols are followed like: TDM, pure aloha, CDMA etc.
Advantages:
easy to set up because we need only one backbone cable and N drop lines.
Cost is lesser as compared to other topologies.
Problems
If backbone cable fails then whole network goes down.
At a time only one communication happens in the whole network.
If the traffic is heavy, it increases collisions in the network.
Security is very low.
3. Ring topology:
Every device is connected to exactly other two devices creating a ring like structure.
LAN TRAINER KIT
Data flows in one direction i.e., either anti clockwise or clockwise.
The token ring passing concept is used for data transfer.
That device has the right to transfer the data who has the token.
This token keeps on passing to next node in one direction and allowing each
node to transfer data.
Advantages:
Possibility of collision is minimum.
Cheap to install and expand.
Data transmission is high-speed.
Problems:
The failure of one node is in network cause entire network to fail.
Troubleshooting is difficult in this topology.
Less secure.
CISCO PACKET TRACER INTERFACE
EXPERIMENT NO. 7
IP configuration of system
EXPERIMENT 8
AIM: To demonstrate simple network configuration with a router that connects three local area
networks (LAN) segments using cisco packet tracker.
PROCEDURE:
Taking 3 systems in each of the LAN segments.
Connect each system of a LAN using a switch.
Then assign IP addresses to all the systems.
o Click on the intended device
o Go to desktop>IP configuration>add static IPv4 address.
Connect each LAN together using a router.
Also assign the default Gateway for all the systems on the LANs.
Assign the router’s interface (rj 45 port) IP address.
Then check whether they communicate by using ping command.
o go to desktop>cmd
o then write “ping <IPaddress>” cmd.
static routing
EXPERIMENT 9
Procedure:
Create 2 LANs and connect them using routers.
Take 3 router and connect them using cross through ethernet cable.
Connect router 0 to LAN 1 and router 2 to LAN 2.
Then set up the static routing in each router for each LAN.
o Click on the router.
o Go to config > routing> static
o Enter the LAN net id, net mask and next hop
o Then press add.
Then check whether connection is established or not using Ping command.
o go to desktop>cmd
o then write “ping <IPaddress>” cmd.