1 / 37

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Module 2: Assigning IP Addresses in a Multiple Subnet Network. Overview. Assigning IP Addresses Creating a Subnet Using IP Routing Tables Overcoming Limitations of the IP Addressing Scheme. Lesson: Assigning IP Addresses. The Components of an IP Address

reegan
Download Presentation

Module 2: Assigning IP Addresses in a Multiple Subnet Network

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Module 2: Assigning IP Addresses in a Multiple Subnet Network

  2. Overview • Assigning IP Addresses • Creating a Subnet • Using IP Routing Tables • Overcoming Limitations of the IP Addressing Scheme

  3. Lesson: Assigning IP Addresses • The Components of an IP Address • What Are the Classes of IP Addresses? • How Dotted Decimal Notation Relates to Binary Numbers • How to Convert Dotted Decimal Notation to Binary Format • How Subnet Masks Work • Guidelines for IP Addressing

  4. IP Address192.168.2.180 IP Address192.168.2.181 IP Address192.168.2.182 Multimedia: The Components of an IP Address IP Address192.168.1.181 IP Address192.168.1.180 IP Address192.168.1.182

  5. Network ID Host ID 0 w x y z Network ID Host ID 1 0 w x y z Network ID Host ID 1 1 0 w x y z What Are the Classes of IP Addresses? Class ALarge network Class BMedium network Class CSmall network

  6. Practice: Determining the Class of an IP Address In this practice, you will determine the class of an IP address

  7. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 How Dotted Decimal Notation Relates to Binary Numbers 8 Bit Octet 27 26 25 24 23 22 21 20 128 64 32 16 8 4 2 1 Decimal Value

  8. How to Convert Dotted Decimal Notation to Binary Format Your instructor will demonstrate how to convert an IP address from dotted decimal notation to binary format

  9. Practice: Converting Numbers Between Decimal and Binary In this practice, you will convert dotted decimal notation to binary format and then convert the binary number to dotted decimal notation

  10. Subnet masks distinguish the host ID from the network ID in an IP address by using: • 1 bits to indicate the network ID • 0 bits to indicate the host ID Multimedia: How Subnet Masks Work 192.168.2.181

  11. Practice: Identifying the Components of an IP Address In this practice, you will identify the components of an IP address

  12. Guidelines for IP Addressing When assigning network and host IDs: • Do not use 127 for a network ID • Use public registered addresses only where essential • Use IANA private address range for private addresses • Do not use all binary 1’s for the host ID in a class-based network • Do not use all binary 0’s for the network ID in a class-based network • Do not duplicate Host IDs

  13. Practice: Identifying Invalid IP Addresses In this practice, you will identify which IP addresses are invalid

  14. Lesson: Creating a Subnet • What Is a Subnet? • How Bits Are Used in a Subnet Mask • How to Calculate the Subnet Mask • Defining Subnet IDs

  15. 131.107.3.27 131.107.12.7 131.107.10.12 131.107.12.31 What Is a Subnet? Subnet 2131.107.3.0 Main network 131.107.12.0 Router Router Subnet 1131.107.10.0

  16. How Bits Are Used in a Subnet Mask Class B Address With Subnet 32 2 8 254 254 128 64 16 4 0 Number of Subnets Network ID Subnet ID Host ID 1 0 65,534 32,512 16,256 4,064 8,128 508 2,032 1,016 254 254 Number of Hosts

  17. How to Calculate the Subnet Mask Your instructor will demonstrate how to calculate the subnet mask

  18. 255 255 224 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 10 0 0 0 0 0 0 0 0 0 0 0 0 Defining Subnet IDs 1 1. 00000000 = 0 2. 00100000 = 32 3. 01000000 = 64 4. 01100000 = 96 5. 10000000 = 128 6. 10100000 = 160 7. 11000000 = 192 8. 11100000 = 224 Eight networks are possible 2

  19. Practice: Calculating a Subnet Mask In this practice, you will calculate a subnet mask for a given scenario

  20. Lesson: Using IP Routing Tables • What Is a Router? • Using a Default Gateway • The Role of Routing in the Network Infrastructure • How the Computer Determines Whether an IP Address is a Local or Remote Address • What Is Static and Dynamic Routing? • How the IP Protocol Selects a Route • How IP Uses the Routing Table • Using the Routing Table in Windows Server 2003

  21. Communication path A-C-D A C Routers B D Communication path A-B-D What Is a Router?

  22. Using a Default Gateway When you use a default gateway: • The default gateway: • Routes packets to other networks • Is used when the internal routing table on the host has no information on the destination subnet • DHCP automatically delivers the IP address for the default gateway to the client • To configure the client manually for the default gateway, use the General tab on the Network Connections Properties page

  23. Multimedia: The Role of Routing in the Network Infrastructure Subnet 1 Subnet 2 Router A Router B Subnet 3

  24. 10011111 11100000 00000111 10000001 11111111 11111111 00000000 00000000 IP addressSubnet mask How the Computer Determines Whether an IP Address Is a Local or Remote Address Local and destination hosts’ IP addresses are each ANDed with their subnet masks • 1 AND 1 = 1 • Other combinations = 0 • If ANDed results of source and destination hosts match, the destination is local Result 10011111 11100000 00000000 00000000

  25. Practice: Determining Whether an IP Address is a Local or Remote Address In this practice, you will determine whether a given IP address is a local or remote address

  26. What Is Static and Dynamic Routing? Static routers: • Do not discover the IDs of remote networks • Do not exchange information with other routers • Are not fault tolerant Dynamic routers: • Discover the IDs of remote networks • Exchange information with other routers • Can be fault tolerant

  27. ? ? ? How the IP Protocol Selects a Route Locates host address matching destination address? IP creates packet Searches routing table for destination address Yes No Transmits packet to the designated gateway Locates network addressmatching destination address? Yes Transmits packet to the designated gateway No Locates a defaultgateway address? Yes Transmits packet to the designated gateway No Generates an error message

  28. How IP Uses the Routing Table

  29. Using the Routing Table in Windows Server 2003 • Use the routing table to: • Check the accuracy of routing information • Determine the forwarding IP address • View the routing table by: • Typing route print at the command prompt, or • Using the netstat –r command

  30. Practice: Viewing and Modifying a Routing Table In this practice, you will view and then modify an IP routing table

  31. Lesson: Overcoming Limitations of the IP Addressing Scheme • How IP Addresses Are Wasted • What Are Private and Public IP Addresses? • What Is VLSM? • How to Use VLSM • What Is Supernetting? • Using CIDR to Implement Supernetting

  32. Multimedia: How IP Addresses Are Wasted • Limitations of the IP address scheme can cause IP addresses to be wasted • Three ways to conserve IP addresses • Create private networks • Create supernets • Use variable length subnet masks • IP version 6 will resolve the limitations

  33. Private addresses: • Do not have to be registered • Can be assigned by the network administrator • Are used on computers that are not accessed by the Internet Public addresses: • Are assigned by an ISP • Consist of unique class-based blocks • Are kept to a limited number What Are Private and Public IP Addresses?

  34. What Is VLSM? Using VLSM, you can: • Create different sized subnets to match the number of hosts in each subnet • Significantly reduce the number of unused IP addresses For example: • If you used a fixed length class C subnet mask (255.255.255.0), you would have allocated 1778 addresses but used only 348, thereby wasting 1430. Using VLSM you can reduce the number of unused addresses to 133.

  35. How to Use VLSM Your instructor will demonstrate how to reduce the number of IP addresses by using VLSM

  36. Routing table before supernetting 220.78.168.0 255.255.255.0 220.78.168.1 220.78.169.0 255.255.255.0 220.78.168.1 220.78.170.0 255.255.255.0 220.78.168.1 220.78.171.0 255.255.255.0 220.78.168.1 220.78.172.0 255.255.255.0 220.78.168.1 220.78.173.0 255.255.255.0 220.78.168.1 220.78.174.0 255.255.255.0 220.78.168.1 220.78.175.0 255.255.255.0 220.78.168.1 Router Routing table after supernetting 220.78.168.0 255.255.248.0 220.78.168.1 What Is Supernetting?

  37. Using CIDR to Implement Supernetting Class C Example CIDR Entry

More Related