Internet Protocol (IP) Address
Internet Protocol is the main source to connect and communicate with network, without internet protocol no end device communicates with network.
Classes of Internet protocol (IP)
There are FIVE classes of IP Address
Class Range Network (N) and Host (H) Parts
A 1 TO 127 N.H.H.H
B 128 TO 191 N.N.H.H
C 192 TO 223 N.N.N.H
D 224 TO 239 Only for experimental use
E 240 TO 255 Only for experimental use
- Class A has 126 Networks having 16,777,214 hosts per network.
- Class B has 16,382 Networks having 65,534 hosts per network.
- Class C has 2,097,150 Networks having 254 hosts per network.
Class | Range | Network (N) and Host (H) Parts |
A | 1 TO 127 | N.H.H.H |
B | 128 TO 191 | N.N.H.H |
C | 192 TO 223 | N.N.N.H |
D | 224 TO 239 | Only for experimental use |
E | 240 TO 255 | Only for experimental use |
Methods to assign IP Address to device
There are two methods to assign IP address to any device.
- Static
- Dynamic
Static
In this method IP address is assigned by user manually to the device so that device can connect with network and communicates over the network. In this method IP address stay assigned till the users changes again by itself.
Dynamic
In this method IP address is assigned by the server on which DHCP (Dynamic Host Configuration Protocol) is configured. DHCP used to assign the IP address to the end device when end device activates and request for the IP address DHCP searches the first available IP address in its pool. This address is valid till the device is on as device shuts down the IP address is taken back by the DHCP.
Internet Protocol (IP) is also divided into sub-networks to save the IP Addresses. This process is called Subnetting.
Internet Protocol (IP) is also divided into sub-networks to save the IP Addresses. This process is called Subnetting.
Subnetting
Subnetting means dividing major network into subnetworks to overcome the broadcast and collision domains.
Subnetting means dividing major network into subnetworks to overcome the broadcast and collision domains.
Advantages of Subnetting
Process of Subnetting
To perform subnetting of a network, user have to deduct the bits from host octet and reserve them to create the subnetmask of new subnetwork.
For subnetting there are two formulas which are used
2^n
used to calculate the number of new subnets
In this formula "n" is the number of deducted bits from the host octet.
2^n-2
Used to calculate the number of valid hosts in subnet
In this formula "n" is the number of remaining bits in the host octet.
To perform subnetting of a network, user have to deduct the bits from host octet and reserve them to create the subnetmask of new subnetwork.
For subnetting there are two formulas which are used
2^n
used to calculate the number of new subnets
In this formula "n" is the number of deducted bits from the host octet.
2^n-2
Used to calculate the number of valid hosts in subnet
In this formula "n" is the number of remaining bits in the host octet.
What is Network IP?
What is Broadcast IP?
Broadcast IP is the IP which is used to broadcast the message over the network instead of sending message one by one to the devices connected with that network.
Default Subnetmask of the classes are
Class A => 255.0.0.0
Class B => 255.255.0.0
Class C => 255.255.255.0
- IP's with any one of these subnetmask is know as Class-Full IP address.
- IP's having other than these subnetmask is know as Class-Less IP address.
Broadcast IP is the IP which is used to broadcast the message over the network instead of sending message one by one to the devices connected with that network.
Default Subnetmask of the classes are
Class A => 255.0.0.0
Class B => 255.255.0.0
Class C => 255.255.255.0
- IP's with any one of these subnetmask is know as Class-Full IP address.
- IP's having other than these subnetmask is know as Class-Less IP address.
No comments:
Post a Comment