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.l.l IP Address

For example, in 90. 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. one particular 2. 3 150. you. 0. 0 150. you. 2. 3 /16
Be aware: Network mask is offered as /m where meters is a 2-digit quebrado number between 8~31.
Notice: IP, network, and number addresses are usually shown with masks.

Q2. Specifically what is mask?
Solution. 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 on the left hand side and 0 pieces on the right.

Intended for example, for 150. you. 2. 3/16, 16 is the network mask, a 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 can be used to tell apart kinds in the same network.

Q3. Why network address?
Answer: When numbers are too many, we use hierarchical structure to deal with them. For example, phone number are structured as.

For example, 086. 021. 1234. 5678 is several in China, Shanghais. The voice message is changed by country code, city code, and prefix. Organized cell phone numbers are much much easier to change than flat 10-digit cellphone numbers.

Internet faces a similar situation. You will discover practically 4. 2 billion details (IP has 32 portions. or 2^32 individual tackles. ) Routers use direction-finding tables to foreword bouts. Obviously, it’s less difficult for router to handle organised addresses than 4 billion dollars 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.

For instance,
– 100. 0. 0. 0/8 network has 16, 777, 216 addresses. Within a routing table, (100. zero. 0. 0/8, next jump interface) says: forward bouts with the same vacation spot network to the same next hop interface.
– 150. 1. 0. 0/16 network has 65, 536 addresses. In a course-plotting table, (150. 1. zero. 0/16, next hop interface) covers forwarding 65, 536 individual addresses in one humdred and fifty. 1 ) 0. 0/16 network.
– 150. you. 0. 0/16 network has 65, 536 IP address. In a routing stand, (150. 1. 0. 0/16, next hop interface) requires care of forwarding sixty five, 536 individual address in 150. 1. 0. 0/16 network.
– 222. 111. 44. 0/24 has 256 IP addresses. In a routing table, (222. 111. 44. 0/24, next go interface) forwards 256 IP addresses in 222. 111. 44. 0 network to the next hop program.

Q4. How present face mask in decimal?
Answer. Present mask the same way as Internet protocol address. For example.
/8 is presented as 255. zero. 0. 0.
/16 is presented as 255. 255. 0. 0.
/24 is presented as 255. 255. 255. 0

Q5. How come mask length is multiple of 8 but?
Response: You will find two type of IP addressing schemes: classful and classless. What coming from talked to date is classful. Classless Internet protocol address can use mask of any length. See next courses for details.

This article is the FAQ of an interactive animation. You can play this movement listed under External links.

Leave a Reply

Your email address will not be published. Required fields are marked *