> For the complete documentation index, see [llms.txt](https://mudassirs46.gitbook.io/network-fundamentals/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mudassirs46.gitbook.io/network-fundamentals/ipv4-address-parts.md).

# IPv4 Address parts

[**IPv4**](https://app.gitbook.com/@mudassirs46/s/network-fundamentals/~/drafts/-MRZ8l67L5MHnaQIEh9W/ipv4) **Address is divided into 2 parts:**

* 1. **Network Port**
  2. **Host Portion**

#### 1. Network Portion (NID):

* 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 (HID):

* 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.

## Reference:

* <https://www.udemy.com/course/cisco-ccent-icnd1-100-105-complete-course-sims-and-gns3/learn/lecture/6087452#overview>
