IP Addressing Tutorial – Network Address, Mask (Interactive, Visual Animation 3)
Q1. What is network address?
Answer: We can view network and host details in 2 different ways:
1) Network-ID and Host-ID
An IP address is made of two parts, the left part is network ID, the right part is host IDENTITY. 192.168.1.1 admin
For example, in 95. 3. 4. 5, if 100 is a network ID, then 3. 4. 5 is a sponsor ID. If 100. 3 is network ID, then 4. 5 is a host ID.
2) Network-address and host-address. Let’s look at two examples:
IP-address Network-ID Host-ID Network-address Host-address Mask
100. 4. 5. 6/8 100 4. 5. 6 100. 0. zero. 0 100. 4. 5. 6 /8
150. you. 2. 3/16 150. you 2. 3 150. you. 0. 0 150. you. 2. 3 /16
Be aware: Network mask is shown as /m where meters is a 2-digit fracción number between 8~31.
Be aware: IP, network, and web host addresses are usually offered with masks.
Q2. Specifically what is mask?
Reply. IP uses network face mask to break up a 32-bit IP-address into network-ID and host-ID. Network-address is made of network-ID parts that you write in the cue section and 0 parts on the right.
Pertaining to example, for 150. one particular. 2. 3/16, 16 is the network mask, one hundred and fifty. 1 is network-ID, one humdred and fifty. 1. 0. 0/16 is network-address, installment payments on your 3 is host-ID, 150. 1. 2. 3/16 is host-address. Network-address is employed by routers to frontward packets. Host address is employed to tell apart kinds in the same network.
Q3. Why network tackles?
Answer: When numbers are too many, we use hierarchical structure to deal with them. For example, cell phone number are structured as.
For example, 086. 021. 1234. 5678 is several in China, Shanghais. The voice message is turned by country code, city code, and prefix. Set up cell phone numbers are much better to swap than flat 10-digit telephone numbers.
Internet faces a similar situation. You will find practically 4. 2 billion tackles (IP has 32 pieces. or 2^32 individual tackles. ) Routers use direction-finding tables to foreword bouts. Obviously, it’s much simpler for router to handle set up addresses than 4 million flat ones.
IP’s solution is to use network-addresses to forward packets, not individual ones. Network hide breaks an address into a network-ID and a host-ID. Routing tables use network addresses, not IP addresses.