DEV Community

Saranya R
Saranya R

Posted on

IP address and Subnet

IP Address - Internet Protocol Address

Types of IP Addresses
- IPv4
- IPv6

IPv4

  • Format: 192.168.1.1
  • 32-bit address
  • Most commonly used

IPv6

  • Format: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
  • 128-bit address
  • has hexa-decimal

SUBNET - Smaller parts of VPC

Subnetting - process of dividing a large network into smaller network

Why subnet?

  • Improves performance
  • Enhances security
  • Efficient use of IP addresses

SUBNET MASK - Is used to determine which of IP is the host and network part

example ip: 192.10.1.15
192.10.1. = Network part
15 = Host part

CIDR - Classless InterDomain Routing

Example IP:
192.168.1.0/24

  • /24 is used to identify which bits First 24 bits are network bits Remaining 8 bits are for hosts

Top comments (0)