1 / 9

CS 350

CS 350. Chapter -8. Example(1C): . 192.168.10.0 with mask 255.255.255.128/25 How many subnets does the chosen subnet mask produce? Because 128 is 1 bit on ( 1 0000000), 2^1 = 2 How many valid hosts per subnet are available? We have 7 host bits (1 0000000 ), 2^7-2 = 126

neena
Download Presentation

CS 350

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. CS 350 Chapter-8

  2. Example(1C): 192.168.10.0 with mask 255.255.255.128/25 • How many subnets does the chosen subnet mask produce? • Because 128 is 1 bit on (10000000), 2^1 = 2 • How many valid hosts per subnet are available? • We have 7 host bits (10000000), 2^7-2 = 126 • What are the valid subnets? • 256-128 = 128. So they are 0, 128 • What’s the broadcast address of each subnet? • 127, 255 • What are the valid hosts in each subnet? 192.168.10.0: 192.168.10.1~ 192.168.10.126 192.168.10.128: 192.168.10.129~ 192.168.10.254

  3. Example(2C): 192.168.10.0 with mask 255.255.255.192/26 • How many subnets does the chosen subnet mask produce? • Because 192 is 2 bit on (11000000), 2^2 = 4 • How many valid hosts per subnet are available? • We have 6 host bits (11000000), 2^6-2 = 62 • What are the valid subnets? • 256-192 = 64. So they are 0, 64, 128, 192 • What’s the broadcast address of each subnet? • 63, 127, 191, 255 • What are the valid hosts in each subnet? 192.168.10.0: 192.168.10.1~ 192.168.10.62 192.168.10.64: 192.168.10.65~ 192.168.10.126 192.168.10.128: 192.168.10.129~ 192.168.10.190 192.168.10.192: 192.168.10.193~ 192.168.10.254

  4. Example(1B): 172.16.0.0 with mask 255.255.128.0/17 • How many subnets does the chosen subnet mask produce? • Because 128 is 1 bit on (10000000), 2^1 = 2 • How many valid hosts per subnet are available? • We have 15 host bits 2^15-2 = 32,766 • What are the valid subnets? • 256-128 = 128. So they are 0.0, 128.0 • What’s the broadcast address of each subnet? • 127.255 , 255.255 • What are the valid hosts in each subnet? 172.16.0.0: 172.16.0.1~ 172.16.127.254 172.16.128.0 : 172.16.128.1~ 172.16.255.254

  5. Question 192.168.10.0 = Network 4 subnets: 6 hosts, 10 hosts, 12 hosts, and 25 hosts 2 routers: router1 connects subnet1 and 2, router2 connects subnet3 and 4 How to make the mask for each subnet?

  6. Troubleshooting IP Addressing • Check IP stack -- c:\> ping 127.0.0.1 • Check NIC -- c:\> ping 172.16.10.2 • Check local network from NIC to the router -- c:\> ping 172.16.10.1 • Check the IP communication between the local host to the remote server -- c:\> ping 172.16.20.2 Packet InterNet Groper (ping) traceroute –unix or linux tracert --windows arp –a ipconfig /all

  7. NAT Placement and operation of a NAT box.

More Related