Logical Connection: - Protocols - IP Address - Network Model - )
Logical Connection: - Protocols - IP Address - Network Model - )
Logical Connection: - Protocols - IP Address - Network Model - )
• Protocols
• IP Address
• Network Model
– Peer to Peer (Workgroup)
– Client-Server based (Domain)
PROTOCOL
• A protocol is a set of defined rules for
communication:
Type of protocols:
• Connection less
• Connection oriented
Connection Less
• No acknowledgement require
• Use for voice/video traffic
• Example : UDP (User Data Program Protocol)
Connection Oriented
• Acknowledgement require
• Use for data traffic
• Example : TCP (Transmission Control Protocol)
Traffic Types
• Data
• Reliability Should be High
• Speed Not matter
Octet (8 bits)
Internet Protocol Addressing
Class Range
A 1—126
B 128—191
C 192—223
D 224—239
E 240—255
• Class A: NET.HOST.HOST.HOST
• Class B: NET.NET.HOST.HOST
• Class C: NET.NET.NET.HOST
Types of IP classes
• Private
• Public
A : Expensive (N.H.H.H)
B : Moderate (N.N.H.H)
C : Expensive (N.N.N.H)
IP Network Address Classes
Class # Networks # Hosts Example
Class B 128.5.0.0
Network Address Space
Class C 132.33.33.0
IP Address Guidelines
• Check validity of IP
• Identify class on the basis of given ranges,
identify by left most octet
• calculate how much bits for network and for
host portion
Invalid IPs
• Every IP address whose host portion is
whole 0 or 1
• Host Portion whole 0 refer NID
• Host Portion whole 1 refer BID
192.168.1.0 NID
1
Valid IPs
254
192.168.1.255 BID
SUBNET MASK
• SUBNET MASK is the back bone of IP, SUBNET
MASK identifies network portion (NID) of the IP
• RULE
• All network bits “ 1 ”
• All Host bits “ 0 “
• Class A: NET.H.H.H
Subnet Mask 255.0.0.0
• Class B: NET.NET.H.H
Subnet Mask 255.255.0.0
• Class C: NET.NET.NET.H
Subnet Mask 255.255.255.0
Default IP Communication
• Rule
– NID of both ends should be same
– HID of both ends should be same
Network can be divided into
two broad categories:
PEER TO PEER
CLIENT/SERVER BASED
PEER TO PEER
CLIENT-SERVER
PEER TO PEER
NETWORKING
FACTORS
1. Size of organization
2. Level of security required
3. Types of business
4. Amount of network traffic
5. Needs of the network users
6. Network Budget
In peer-to-peer network, there are no
dedicated servers or hierarchy among
the computers. All of the computers
are equal and known as peers.
Normally, each computer functions as
both a client and a server, and there is
no one assigned to be an administrator
responsible for the entire network.
PEER TO PEER MODEL
• Common Classification
– LAN (Local Area Network)
– WAN (Wide Area Network)
Network Classification
• LAN
(Local Area Network)