Presentation is loading. Please wait.

Presentation is loading. Please wait.

Net9: IP Address 授課教師:雲林科技大學 張慶龍 老師. IP Address IP denoted - in the form each number represents, in decimal, 1 byte of the 4-byte IP address. Why are.

Similar presentations


Presentation on theme: "Net9: IP Address 授課教師:雲林科技大學 張慶龍 老師. IP Address IP denoted - in the form each number represents, in decimal, 1 byte of the 4-byte IP address. Why are."— Presentation transcript:

1 Net9: IP Address 授課教師:雲林科技大學 張慶龍 老師

2 IP Address IP denoted - in the form each number represents, in decimal, 1 byte of the 4-byte IP address. Why are IP addresses necessary? –Easy to find the destination station –IP addresses are hierarchical addresses Every IP address has two parts. –network number (provided by InterNIC) –host number (provided by local administrator) –Where to find the IP address International Network Information Center, or InterNIC –There are five classes of Network (Five type IP) only three of these are used commercially. These are the class "A," "B," and "C" networks the class “D” is reserved for multicast the class “E” is reserved for experiment/research

3

4 What IP addresses are reserved for the Networks? – Network address : all host address are set to zero – Broadcase address : all host address are set to one Question: What would the network/broadcase address be for devices such as the one with an IP address of 197.22.103.221? In order to provide extra flexibility for the network administrator, often networks, particularly large networks, are divided into smaller networks called subnetworks. Most of the time subnetworks are simply referred to as subnets. Who assigns subnet addresses? – this is done by the network administrator

5 How are subnet addresses created? – a network administrator "borrows" bits from the host field and designates them as the subnet field. The function of a subnet mask is to tell devices which part of an address is the network number including the subnet, and which part is the host.

6

7 How many bits can be borrowed from the host number in class "B" and class "C" networks to create subnets? – only two octets in the host field of a class "B" network, up to fourteen bits can be borrowed to create subnetworks. A class "C" network has only one octet in the host field. only up to six bits can be borrowed Subnet binary bit range of range of host of subnet host field field decimal First Subnet 000 00000 thru 11111.0 thru.31 Second Subnet 001 00000 thru 11111.32 thru.63 Third Subnet 010 00000 thru 11111.64 thru.95 Fourth Subnet 011 00000 thru 11111.96 thru.127 Fifth Subnet 100 00000 thru 11111.128 thru.159 Sixth Subnet 101 00000 thru 11111.160 thru.191 Seventh Subnet 110 00000 thru 11111.192 thru.223 Eighth Subnet 111 00000 thru 11111.224 thru.255

8 CIDR, classless interdomain routing The mask is merely a number, called the prefix – Specify the length in bits of the network portion of the address – EX: 200.10.4.0/22, where /22 indicating the prefix – Ex: 200.50.17.128/26, which can support up to 2 6 -2 = 62 hosts Longest prefix match for routing table search


Download ppt "Net9: IP Address 授課教師:雲林科技大學 張慶龍 老師. IP Address IP denoted - in the form each number represents, in decimal, 1 byte of the 4-byte IP address. Why are."

Similar presentations


Ads by Google