Beruflich Dokumente
Kultur Dokumente
Internet Protocol
Numbering scheme
Largest
network of computers
American
What is an IP address
IP Addresses
IP addresses are:
Unique Global and Standardised Essential
IP usage
IP structure
IP structure
These
The The
What is an IP address?
from source to destination, across networks and internetworks network layer address, consisting of NETWORK portion, and HOST portion logical address , assigned in software by network administrator part of a hierarchical numbering scheme unique, for reliable routing.
IP structure
5
IP structure
Class
Class
IP structure
Class A
1st octet = network address, octets 2-4 = host address 1st bits of 1st octet set to 0 Next 7 bits of 1st octet for network address. 00000000 is minimum address and 11111111 is maximum address. 2^7 -2=126 total number of network addresses (127)
Class A
2^24 -2 total number of hosts under each network address in class A. Network address 0 is reserved to designate the default route for the packets. Addresses beginning 127 are reserved for internal testing Class A range has address range from 0.0.0.0 to 127.255.255.255.
Class A
For Example:- 172.19.2.250 172.0.0.0 is the network address. 172.255.255.255 is the broadcast Address of network address 172.
Class A IP address
124.224.224.100
01111100
11100000
11100000
01100100
Class B IP address
1st 2 octets = network address, octets 3-4 = host address 1st bit of 1st octet always set to 1. 2nd bit of 1st octet always set to 0. Up to (2^14 2) Total Network Addresses. up to (2^16 - 2) host addresses (65534)
Class B IP address
129.224.224.100
10000001
11100000
11100000
01100100
Class C IP address
1st 3 octets = network address, octet 4 = host address 1st 3 bits of 1st octet set to 110 Up to ( 2^21-2) Total no. Of network addresses. up to (2^8 - 2) host addresses.
Class C IP address
193.224.224.100
11000001
11100000
11100000
01100100
Subnet
A network to be split into several parts for internal use but still act like a single network to the outside world. In the internet literature, these parts are called subnet. To outside the network, the subnetting is not visible, so allocating a new subnet does not require contacting NIC or changing any external databases.
Subnet Mask
Purpose: Apply the Mask to the IP Address to determine: Network bits Host bits Subnet ID, Broadcast ID & Unicast range Format: 4 octets, dotted decimal notation (same as IP address) Contiguous binary 1s starting from the left Examples: 255.255.255.0 (typical for LAN) 255.255.255.252 (typical for WAN) 255.255.255.1 (incorrect)
Subnet Calculation
Step 1 Convert: decimal address & mask format to binary address & mask format Step 2 Apply: binary subnet mask to the binary IP address using the and function Step 3 Calculate: Subnet ID Broadcast ID Unicast range (usable subnet addresses)
Class D
Class D addresses are used for multicasting; there is only one block in this class.