Lab 4 CN4
Lab 4 CN4
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.