Practical No 1
Practical No 1
Practical No 1
Practical No : 1
Configure Peer - to - peer network with at least three hosts.
I. Practical Significance :
a. Student should be able to configure peer-to-peer network. This will help to understand different issues
involved in peer-to-peer network.
II. Relevant Program Outcomes (POS) :
Discipline knowledge : Apply computer engineering discipline specific knowledge to solve core computer
engineering related problems.
Experiments and Practice : Plan to perform experiments and practices to use the results to solve broad
based computer engineering problems.
Individual and team work : Function effectively as a leader and team member in diverse/multi disciplinary
teams.
Communication : Communicate effectively in oral and written form.
III. Competency and Practical Skills :
This practical is expect to develop the following skills in you.
Ability to install and configure TCP/IP protocol.Ability to configure peer network.
IV. Relevant Course Outcomes :
Configure different TCP/IP services.
V. Practical Outcome (POS) :
Understand concept of TCP/IP model.
Understand types and formats of ip address.
Understand concept of peer to peer network.
VI. Relevant Affective domain related outcomes :
Follow safely measure.
Follow ethical practices.
VII. Minimum Theoretical Background :
It is a set of rules and conventions used for communication between network devices.
Protocols include mechanisms for devices to identify and make connections with each other, as well as
formatting rules that specify how data is packaged into messages sent and received.
Some protocols also support message acknowledgement and data compression designed for reliable
and/or high-performance network communication.
It determines the type of error checking to be used.
e.g. Transmission control protocol (TCP), Internet protocol (IP), Hyper text transfer protocol (HTTP), File
transfer protocol (FTP) etc.
Concept structure : Protocol
Proposition 2. TCP/IP :
Transmission Control protocol/Internet Protocol, used to connect computers on the internet or network.
TCP/IP is built into the UNIX operating system and is used by the Internet, making it the de facto standard
for transmitting data over networks.
Transmission Control Protocol, manages the assembling of message of file into smaller packets that are
transmitted over the Internet and received by a TCP layer that reassembles the packets into the original
message.
Internet Protocol, handles the address part of each packet so that it gets to the right destination.
TCP/IP protocols map to four-layer conceptual model known as the DARPA model, named after the U.S.
government agency that in itially developed TCP/IP. The four layers of the DARPA model are : Application,
Transport, Internet, and Network Interface.
Concept structure :
Proposition 3. ip address :
An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer,
printer) participating in a computer network that uses the Internet Protocol for Communication.
An IP address is an identifies for a computer or device on a TCP/IP network.
Two versions of the Internet Protocol (IP) are in use : IP Version4 (IPv4) and IP Version6 (IPv6).
IPv4 addresses are of 32 bits that are canonically represented in dot-decimal notation, which consists of
four decimal numbers, each ranging from 0 to 255,, separated by dots, e.g., 172.16.254.1
Ipv6 addresses are of 128 bits that are represented as eight groups of four hexadecimal digits separated by
colons. e.g. 2001:0db8:85a3:0042:8a2e:0370:7334
The IPv4 address space can be subdivided into 5 classes - Class A, B, C, D and E. Each class consists of a
contiguous subset of the overall IPv4 address range.
Concept structure :
VIII. Diagram :
A set of computers with NIC card installed in it.
Transmission media and connector.
Click Install then. Click Protocol, and then click Add. Click Have Disk. Type the location as c:\windows\inf and
then click OK. On the list of available protocols, click Internet Protocol (TCP/IPv4), and then click OK. And it
would be installed on your computer.
Select Internet Protocol Version 4 (TCP/IPv4), double click it or click Properties.
There are two ways to configure the TCP/IP Properties, Assigned by DHCP server automatically or manually.
1. Assigned by DHCP Server :
Select Obtain an IP address automatically and Obtain
DNS. Server address automatically, if necessary, then
click OK to Save the settings.
2. Assigned manually :
Select Use the following IP address, type address, subnet mask and default gateway IP address into it.
Select Use the following DNS server addresses, type your local area DNS server IP addresses into it, if
necessary, then click OK to save the settings.
For computer A and Computer B open control panel > Network and Internet > Network and Sharing center >
Change adapter settings.
Assigned IP address to both computers using TCP/IP configuration explained in previous procedure.
Computer A Computer B
Then turn off windows Firewall, so connections can be monitored using cmd. to do this open, Control Panel
> System and security > Windows Firewall > Turn Windows ON or OFF.
In Order both computers can connect to each other, the workgroup of both computers must be the same.
Change its by, Start > Computer > Properties > Advanced system Settings. Then Select the Computer Name
tab > Change. Use the same name between Computer A and Computer B.
Computer A Computer B
To know both computers are connected open command prompt and type ping ip address.
For Computer A
For Computer B
You will get four replies back from the ping message. If you receive foru lines of information showing
successes, then Connection is successful.
X Resources required :
Name of computer
Physical address
IP address
Subnet mask
Default gateway
Workgroup name
How TCP and IP protocol is used to send message from one computer to another computers?
XIV Conclusion :
Assembling of message into packets is managed by (TCP/IP)
IPv4 is (32/64) bit address where IPv6 is 64 (64/128) bit address.
TCP/IP protocol contains (4/7) layers.
If user connects 2 computers in peer to peer network then (0/1/2) computer can send request to
other computers with in network to get resources.
XV Industrial Applications :
Today use of TCP/IP protocols and the Internet not only for entertainment and information, but to conduct
our business by performing transactions, buying and selling products, and delivering services to customers.
It was initilly successful because it delivered a few basic services that everyone needs (file transfer, electronic
mail, remote logon) across a very large number of client and server systems. Several computers in a small
department can use TCP/IP (along with other protocols) on a single LAN.
The IP component provides routing from the department to the enterprise network, then to regional
networks, and finally to the global Internet.
Peer-to-peer networks underlie numerous applications.
Skype, an Internet telephony network, uses P2P
Space of Answers