Friday, October 29, 2010

IP Addressing Tutorial-Network Address, Mask (Interactive, Visual Animation 3)

Q1. What is network address?
Answer: we are not able to view the network and host addresses in two ways:
1) the domain name and Host-ID


An IP address is made of two components on the left side of the domain name, the right side is the host identifier.


For example, if 100 100.3.4.5 is the domain name, then the host ID for 3.4.5 If 100.3 is the domain name, 4.5 is the host identifier.


2) network address and the host address. see now two examples:


The IP address of the network account the host network address of the host address mask
100.4.5.6/8 100 4.5.6 100.0.0.0 100.4.5.6/8
150.1.2.3 150.1.2.3/16 150.1.0.0 150.1.2.3/16
Note: the network mask is presented as a meal,/m is m 2-digit decimal number between 8 ~ 31.
Note: IP addresses, network and host usually provides.


Q2. constraint properties
The answer to THE IP network mask. use 32-bit IP address for the domain name and host ID to fragment the network address of the domain name bits to the left and right of 0 bytes.


For example, 150.1.2.3/16, for 16 is the network mask 150.1 the network ID, 150.1.0.0/16 is the network address, host ID, 3 2 150.1.2.3/16 is the address of the host address is used for network routers packages.Host address is used to distinguish the isänniltä on the same network.


Q3. Why does the network addresses?
Answer: when the numbers are too many, we use a hierarchical structure to manage them.For example, a structure as a phone number.


For example, there are a number of the people's Republic of China, 086.021.1234.5678 Shanghais. the voice mail message is then switched to the country and city code prefix.Structured telephone numbers are much easier to navigate than flat 10-digit phone numbers.


The Internet is facing a similar situation is almost 4.. 2 billion addresses (IP is 32 bits. or 2 ^ 32 individual addresses.)Routers use the foreword to the packet routing tables.Obviously it is much easier to deal with the systematic addresses as router 4 billion flat ones.


IP solution is to use the network address forward packets, not individual comments. network mask share the address of the network ID and host ID. routing table to network addresses, not IP addresses.


For example,
-Network 100.0.0.0/8 is 16,777,216.The routing table, (100.0.0.0/8, the next-hop interface) says: the same forward packets to the destination network to join the same with the next item.
-Network 150.1.0.0/16 of 65 536. the routing table, (150.1.0.0/16, next-hop interface) to keep passing to 65,536 individual addresses 150.1.0.0/16 on the network.
-Network 150.1.0.0/16 is 65,536 addresses the routing table, (150.1.0.0/16, next-hop interface) to keep passing to 65,536 individual 150.1.0.0/16 network address.
-222.111.44.0/24 256 IP-addresses. the routing table, (222.111.44.0/24, next-hop interface) 256 IP addresses of network 222.111.44.0 nexthop to join forward.


Q4. how this mask digits?
Response., in the same way as To mask the IP address for example.
/8 shall be adopted in accordance with the 255.0.0.0.
/255.255.0.0, shall be adopted in accordance with 16.
/255.255.255.0 is presented as a meal, 24


Q5. Why is the mask length is more than 8 but?
Answer: this is the deal with two types of systems: the IP addresses and Classless. what you are up to now it has a classful address we talked. Classless IP address use any length mask. for more information, see the following tutorials.

0 comments:

Post a Comment

Popular Posts