IPv4 Address parts
Last updated
Last updated
Address is divided into 2 parts:
Network Port
Host Portion
Network Portion also called Network ID (NID) is used to identify a specific Network.
Upon receiving the packet, a Router looks at the DIP & matches the Network Address stored in its Routing Table.
The Real-life equivalent of NID is a Pin code of an area where only your area code is mentioned but not your read house address
Host Portion also called Host ID (HID) is used to identify a specific endpoint (devices) on a Network.
E.g. A PC, SmartPhone, Servers, Printers, etc.
The Real-life equivalent of HID is your House Room Number where your actual House Address is mentioned but not your Pin code.