120 likes | 384 Views
IP Address. 32-bit string Uniquely identify hosts in a network Format: Number.Number.Number.Number Each number takes 0-255 E.g. 192.168.0.123 Consist networkID and hostID. IP Hierarchy. Reasons Management Routing Efficiency Classes A, B, C, D and E D and E are reserved
E N D
IP Address • 32-bit string • Uniquely identify hosts in a network • Format: • Number.Number.Number.Number • Each number takes 0-255 • E.g. 192.168.0.123 • Consist networkID and hostID IP Address (YOUNG)
IP Hierarchy • Reasons • Management • Routing Efficiency • Classes • A, B, C, D and E • D and E are reserved • A, B, C use the first one, two and three bytes for networkID respectively IP Address (YOUNG)
Class A network • Format: • network.host.host.host • First bit of first byte must be off • First byte: 0XXXXXXX • Number of networks: 27-2=126 • Number of host: 224-2=16777214 IP Address (YOUNG)
Class B network • Format: • network.network.host.host • First bit of first byte must be on, second bit must be off • First byte: 10XXXXXX • Number of networks: 214=16384 • Number of host: 216-2=65534 IP Address (YOUNG)
Class C network • Format: • network.network.network.host • Both first and second bits of first byte must be on, third bit must be off • First byte: 110XXXXX • Number of networks: 221= 2097152 • Number of host: 28-2=254 IP Address (YOUNG)
Summary of Classes IP Address (YOUNG)