IPv4 Classes and Subnetting
Aim: Write a program to find out class of a given IP address, subnet mask & first & last IP address of that block. Apparatus (Software): Eclipse/ Netbeans Procedure: Following should be studied to understand this practical. IPv4 Addressing and Subnetting Hardware Addressing A hardware address is used to uniquely identify a host within a local network. Hardware addressing is a function of the Data-Link layer of the OSI model (Layer-2). Ethernet utilizes the 48-bit MAC address as its hardware address. MAC address is most often represented in hexadecimal, using one of two accepted formats: 00:43:AB:F2:32:13 The first six hexadecimal digits of a MAC address identify the manufacturer of the physical network interface. This is referred to as the OUI (Organizational Unique Identifier). The last six digits uniquely identify the host itself, and are referred to as the host ID. The MAC address has one shortcoming – it contains no hie...