DEV Community

Dharani
Dharani

Posted on

IP Address and Subnet

IP:
Internet protocol is a unique number assigned to each device on a network.
ex: 192.168.0.1
made up of four parts separated by dots
IP has two parts( Network part, Host part)

Network part:
Identifies which the network the device belongs to
ex: first 3 parts of IP is network part

Host part:
Identifies which device inside the network
ex: last part of IP is host part

it has 2 version (ipv4 & ipv6)

1) IPv4 address:
it has 32bit address
consider(0-255)
128 64 32 16 8 4 2 1 (add each element)

2) IPv6 address:
it has 128 bit address

SUBNET:
subnet = dividing a larger network into smaller networks

Top comments (0)