0% found this document useful (0 votes)
11 views5 pages

Lab 4 CN4

The document outlines a project to establish a Peer-to-Peer network connection between two systems in a Local Area Network (LAN) using a network interface card, switch, and router. It details the objectives, apparatus, procedures for configuring IP addresses, and sharing drives and folders, along with a set of viva questions and answers related to networking concepts. Key topics include configuring static IP addresses, the roles of network devices, and the importance of DNS and Internet Connection Sharing.

Uploaded by

katopi3865
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views5 pages

Lab 4 CN4

The document outlines a project to establish a Peer-to-Peer network connection between two systems in a Local Area Network (LAN) using a network interface card, switch, and router. It details the objectives, apparatus, procedures for configuring IP addresses, and sharing drives and folders, along with a set of viva questions and answers related to networking concepts. Key topics include configuring static IP addresses, the roles of network devices, and the importance of DNS and Internet Connection Sharing.

Uploaded by

katopi3865
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Name:Atul Jaiswal

Sec-A RollNo-62
Problem Statement:
Establish Peer to Peer network connection using two systems using
network interface card, Switch and
Router in a LAN.

Objectives:
1. Connect the computers in Local Area Network.
2. To Configure IP Address in a system in LAN (TCP/IP Configuration) and
Configure DNS to
establish interconnection between systems
3. To establish Peer to Peer network connection using two systems in a LAN and
Switch and Router
in a LAN and share the Drives and folders.

Apparatus/Tools/Equipments/Components:
Computer Machines
LAN Wire
Switch / Router
Procedure: Connect the computers in Local Area Network
On the host computer
On the host computer, follow these steps to share the Internet connection:
1. Log on to the host computer as Administrator or as Owner.
2. Click Start, and then click Control Panel.
3. Click Network and Internet Connections.
4. Click Network Connections.
5. Right-click the connection that you use to connect to the Internet. For example, if
you connect to the
Internet by using a modem, right-click the connection that you want under Dial-up /
other network
available.
6. Click Properties.
7. Click the Advanced tab.
8. Under Internet Connection Sharing, select the Allow other network users to connect
through this
computer's Internet connection check box.
9. If you are sharing a dial-up Internet connection, select the Establish a dial-up
connection whenever a
computer on my network attempts to access the Internet check box if you want to
permit your
computer to automatically connect to the Internet.
10. Click OK. You receive the following message:
When Internet Connection Sharing is enabled, your LAN adapter will be set to use IP
address
192.168.0.1. Your computer may lose connectivity with other computers on your
network. If these other
computers have static IP addresses, it is a good idea to set them to obtain their IP
addresses automatically.
Are you sure you want to enable Internet Connection Sharing?
11. Click Yes.
The connection to the Internet is shared to other computers on the local area network
(LAN). The network
adapter that is connected to the LAN is configured with a static IP address of
192.168.0.1 and a subnet
mask of 255.255.255.0
On the client computer
To connect to the Internet by using the shared connection, you must confirm the LAN
adapter IP
configuration, and then configure the client computer. To confirm the LAN adapter IP
configuration,
follow these steps:
1. Log on to the client computer as Administrator or as Owner.
2. Click Start, and then click Control Panel.
3. Click Network and Internet Connections.
4. Click Network Connections.
5. Right-click Local Area Connection and then click Properties.
13
6. Click the General tab, click Internet Protocol (TCP/IP) in the connection uses the
following items
list, and then click Properties.
7. In the Internet Protocol (TCP/IP) Properties dialog box, click Obtain an IP address
automatically
(if it is not already selected), and then click OK.
Note: You can also assign a unique static IP address in the range of 192.168.0.2 to
192.168.0.254. For
example, you can assign the following static IP address, subnet mask, and default
gateway:
8. IP Address 192.168.31.202
9. Subnet mask 255.255.255.0
10. Default gateway 192.168.31.1
11. In the Local Area Connection Properties dialog box, click OK.
12. Quit Control Panel.
Procedure: To Configure IP Address in a system in LAN (TCP/IP Configuration)
and Configure DNS to
establish interconnection between systems
(a) Steps to configure IP address, Subnet mask and Default Gateway:
1. Click on the Start button and select Control Panel then Network and Internet
Connections.
2. Click Network and Internet Connections.
3. Right click on the Local Area Connection icon and select Properties.
4. Select Internet Protocol (TCP/IP).
5. Click on the Properties button.
6. Uncheck that Obtain an IP address automatically and Obtain DNS server address
automatically and put
IP, Subnet mask & Default Gateways.
7. Click on the Advanced button and select the DNS tab in the Advanced TCP/IP
Settings window.
8. Ensure that Register this connection's addresses in DNS is not selected.
9. Click OK, OK, then Close to close all boxes.
Procedure: To establish Peer to Peer network connection using two systems in a
LAN and Switch and
Router in a LAN and share the Drives and folders.
Stepping into Peer-to-Peer:
1. Click Start, Control Panel, Network Connections.
2. Select Set up a home or small office network link under Network Tasks On the left-
side.
3. The Welcome to the Network Setup Wizard screen on the Network Setup Wizard
appears. Click Next.
4. The Before you continue screen appears, listing the steps that will be completed.
Click the checklist for
creating a network link.
5. Close the Steps for creating a home or small office network screen.
6. Click Next on the Before you continue screen.
7. connect the network interfaces click Next.
8. The Select a connection method screen appears. Here you will select from three
connection options
Make your selection and click Next.
9. On the Select your Internet connection screen, select the network connection that
relates to the Internet
under Connections and click Next. You must make a selection or the Next button will
remain grayed out.
10. The next screen, Your computer has multiple connections, is very important for
both Internet
connectivity and firewall issues. It's here you begin to assist the wizard by defining
the "inside" network
adapter (local area network) and the "wild-side" network adapter (Internet connection).
Make the
appropriate selection and click Next. In my case, I selected Let me choose the
connections to my network
11. Because of the selection I made in, the Select the connections to bridge appears.
Make the connection
selection and click Next.
12. Complete the Computer description and Computer name fields on the Give this
computer
13. Complete the Workgroup name field on the Name your network screen And click
next.
14. Review your settings on the Ready to apply your network settings Screen and
click next.
15. Click Finish after the configuration process is completed.

Viva Questions Answer

1. What is a Peer-to-Peer (P2P) network?


Answer: A Peer-to-Peer (P2P) network is a decentralized network where
each computer (peer) can act as both a client and a server, allowing
file sharing, resource sharing, and communication without relying on
a central server.
2. What is the role of a Network Interface Card (NIC) in a LAN?
Answer: The NIC is a hardware component that connects a computer to a
network, enabling communication between devices using a wired or
wireless connection.
3. How do you configure a static IP address on a Windows system?
Answer:
Open Control Panel → Network and Internet → Network and Sharing
Center.
Click on "Change adapter settings."
Right-click on "Local Area Connection" and select "Properties."
Select "Internet Protocol Version 4 (TCP/IPv4)" and click
"Properties."
Choose "Use the following IP address" and enter the IP address,
Subnet mask, and Default
gateway.
Click OK to save changes.
4. What is the default subnet mask for a Class C IP address?
Answer: The default subnet mask for a Class C IP address is
255.255.255.0.
5. How does a switch differ from a router in a network?
Answer: A switch operates at Layer 2 (Data Link Layer) and connects
devices within the same network, forwarding data based on MAC
addresses. A router operates at Layer 3 (Network Layer) and is used
to connect multiple networks, forwarding data based on IP addresses.
6. What is the purpose of assigning a default gateway?
Answer: A default gateway is used to forward packets from the local
network to external networks, such as the Internet.
7. What is DNS, and why is it important in networking?
Answer: DNS (Domain Name System) translates human-readable domain
names (e.g., www.google.com) into IP addresses (e.g., 142.250.182.14),
allowing users to access websites without remembering numeric
addresses.
8. How do you check the network connection status in Windows?
Answer: You can check the network connection status by opening
Control Panel → Network and Internet → Network and Sharing Center
or using the ipconfig command in the command prompt.
9. What is the purpose of enabling "Internet Connection Sharing" on a
host computer?
Answer: Internet Connection Sharing (ICS) allows multiple devices in
a network to share a single internet connection through the host
computer.
10. How can you test the connectivity between two systems in a LAN?
Answer: You can use the ping command in the command prompt to test
connectivity. For example:
ping 192.168.1.2

If the response is received, the connection is working


11. What is the role of a workgroup in a peer-to-peer network?
Answer: A workgroup is a logical grouping of computers in a LAN that
allows them to share files, printers, and other resources without
requiring a centralized server.
12. How do you share a folder in a peer-to-peer network?
Answer:
Right-click on the folder you want to share and select "Properties."
Click the "Sharing" tab and select "Advanced Sharing.
Check "Share this folder" and configure permissions.
Click "Apply" and "OK."
13. What is the significance of the IP address 192.168.0.1 in a LAN?
Answer: 192.168.0.1 is often used as the default gateway for home and
office networks, allowing devices to communicate with external
networks.
14. What is the difference between "Obtain an IP address
automatically" and "Use the following IP address"?
Answer:
Obtain an IP address automatically: The device gets an IP address
from a DHCP server dynamically
Use the following IP address: A static IP address is manually assigned by the user.
15. How can you check the IP configuration of a system using the
command line?
Answer: Use the ipconfig command in Windows or ifconfig in Linux to
view the IP address, subnet mask, and gateway configuration.

You might also like