Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 6 Internet Protocol (IP) Addressing.

Similar presentations


Presentation on theme: "Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 6 Internet Protocol (IP) Addressing."— Presentation transcript:

1 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 6 Internet Protocol (IP) Addressing

2 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 2 Internet Protocol (IP) Addressing Unicast IP addresses Subnetting Public and private addresses Broadcast IP addresses Multicast IP addresses

3 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 3 Types of IP Addresses Unicast Assigned to a single network interface Used in one-to-one communications Broadcast Designed to be processed by every IP node on the same network segment Used in one-to-everyone communications Multicast One or multiple nodes can be listening on the same or different network segments. Used in one-to-many communications

4 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 4 Expressing IP Addresses w.x.y.zw.x.y.z 32 bits

5 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 5 An 8-bit Number 01234567 2020 1 2121 2 2 4 2323 8 2424 16 2525 32 2626 64 2727 128

6 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 6 Unicast IP Addresses Internetwork addresses for IP interfaces that contains a network ID and a host ID Network ID Assigned to a logical or physical network segment All nodes on the same logical network share the same network ID The network ID must be unique to the internetwork. Host ID Identifies a node within a network segment Must be unique to the network segment

7 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 7 Structure of a Unicast IP Address 10101101100110010010110011001101 Network IDHost ID

8 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 8 Internet Address Classes (Historical) Originally assigned to create: A small number of large networks (networks with a large amount of nodes) A moderate number of moderate-sized networks A large number of small networks Address classes no longer used on the Internet

9 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 9 Class A Address 0 Network IDHost ID Address ClassFirst Network IDLast Network IDNumber of Networks Class A1.0.0.0126.0.0.0126

10 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 10 Class B Address 10 Network IDHost ID Address ClassFirst Network IDLast Network IDNumber of Networks Class B128.0.0.0191.255.0.016,384

11 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 11 Class C Address 110 Network IDHost ID Address ClassFirst Network IDLast Network IDNumber of Networks Class C192.0.0.0223.255.255.02,097,152

12 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 12 A Class B Network ID Before Subnetting 131.107.0.0 Internet

13 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 13 A Class B Network ID After Subnetting 131.107.1.0 Internet 131.107.2.0 131.107.3.0

14 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 14 The Subnet Mask 32-bit value “1” indicates that the bit is used for the network ID “0” indicates that the bit is used for the host ID Expressed in either dotted decimal or network prefix notation Subnet Mask Address Class Dotted Decimal Notation Class A Class B Class C 11111111000000000000000000000000 11111111111111110000000000000000 11111111111111111111111100000000 255.0.0.0 255.255.0.0 255.255.255.0

15 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 15 Network Prefix Notation for Subnet Masks Subnet bits must be chosen in a contiguous fashion from the host bits Network prefix notation expresses the total number of network bits /of bits in the network ID Subnet Mask Address Class Network Prefix Length Class A Class B Class C 11111111000000000000000000000000 11111111111111110000000000000000 11111111111111111111111100000000 /8 /16 /24

16 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 16 Custom Subnet Masks Subnetting along octet boundaries Subnetting along non-octet boundaries Subnet Mask Address Class Dotted Decimal Notation Class A Class B 11111111 11111111 0000000000000000 11111111111100000000000000000000 11111111111111111111111100000000 11111111111111111111000000000000 255.255.0.0 or /16 255.240.0.0 or /12 255.255.255.0 or /24 255.255.240.0 or /20

17 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 17 Determining the Network ID To extract the Network ID, the IP Address is ANDed with the Subnet Mask 1 AND 1 = 1 All other combinations = 0 1000001101101011 1010010000011010 11111111111111111111000000000000 1000001101101011 1010000000000000 IP Address Subnet Mask Result 131.107.164.26 AND 255.255.240.0 = 131.107.160.0

18 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 18 How to Subnet 1. Decide how many host bits you need for the proper balance between number of subnets and number of hosts per subnet. The number of subnets needed both now and in the future The maximum number of hosts needed on each subnet 2. Based on the number of host bits chosen, enumerate the subnetted network IDs, including the ranges of usable IP addresses for each subnetted network ID.

19 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 19 Subnetting 1000001101101011 Original Network IDOriginal Host ID 13110700... 2 subnets 32,766 hosts 256 subnets 254 hosts

20 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 20 Variable-Length Subnetting Subnetting is applied recursively to produce subnets of different sizes all derived from the same original network ID Differently sized subnets use different subnet masks, or variable-length subnet masks (VLSM)

21 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 21 VLSM for 131.107.0.0/16 131.107.0.0/16 131.107.0.0/19 131.107.32.0/19 131.107.64.0/19 131.107.96.0/19 131.107.128.0/19 131.107.160.0/19 131.107.192.0/19 131.107.224.0/19 131.107.224.0/24 131.107.225.0/24 131.107.226.0/24 131.107.253.0/24 131.107.254.0/24 131.107.255.0/24...... 131.107.255.4/30 131.107.255.8/30 131.107.255.12/30 131.107.255.244/30 131.107.255.248/30 131.107.255.252/30......

22 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 22 Supernetting and CIDR Elimination of Internet address classes Inefficient allocation Too many routing table entries Address blocks assigned based on total number of needed addresses Address block is a single network ID Address block becomes single route in the routing tables of Internet routers

23 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 23 Public and Private Addresses Public addresses Assigned by IANA or local ISP Globally reachable on the Internet Illegal or overlapping addresses  Public addresses use inside an organization that is not connected to the Internet Private addresses Reserved by IANA No reachable on the Internet 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16

24 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 24 Automatic Private IP Addressing Automatically assigned when: Windows node is configured for automatic configuration Alternate configuration not specified 169.254.0.0/16 Used for single subnet small office/ home office (SOHO) configurations Not connected to the Internet

25 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 25 IP Broadcast Addresses Network broadcast Set all the host bits to 1 for a classful address Subnet broadcast Set all the host bits to 1 for a non-classful address All-subnets-directed broadcast Set all the original classful network ID host bits to 1 for a non-classful network Limited broadcast 255.255.255.255

26 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 26 IP Multicast Addresses Set of hosts listening for the traffic of a specific IP multicast address is called a host group Multicast IP address range is 224.0.0.0 to 239.255.255.255 (224.0.0.0/4) 224.0.0.1  The all-hosts multicast address 224.0.0.2  The all-routers multicast address

27 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 27 IP Multicast to Ethernet Multicast 8 bits16 bits24 bits32 bits 40 bits 48 bits IP Multicast Address Ethernet Multicast Address Low Order 23 Bits 01005E 11100101111000000000100000000

28 Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 28 Review Unicast IP addresses Subnetting Public and private addresses Broadcast IP addresses Multicast IP addresses


Download ppt "Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 6 Internet Protocol (IP) Addressing."

Similar presentations


Ads by Google