Presentation is loading. Please wait.

Presentation is loading. Please wait.

Subnetting Basics benefits Reduced network traffic

Similar presentations


Presentation on theme: "Subnetting Basics benefits Reduced network traffic"— Presentation transcript:

1 Subnetting Basics benefits Reduced network traffic
Optimized network performance Simplified management Facilitated spanning of large geographical distances

2 How to Create Subnets To create subnetworks, you take bits from the host portion of the IP address and reserve them to define the subnet address. This means fewer bits for hosts, so the more subnets, the fewer bits available for defining hosts.

3 Follow these steps Determine the number of required network IDs:
One for each subnet One for each wide area network connection Determine the number of required host IDs per subnet: One for each TCP/IP host One for each router interface Based on the above requirements, create the following: One subnet mask for your entire network A unique subnet ID for each physical segment A range of host IDs for each subnet

4 Subnet Masks For the subnet address scheme to work, every machine on the network must know which part of the host address will be used as the subnet address. This is accomplished by assigning a subnet mask to each machine.

5 Not all networks need subnets, meaning they use the default subnet mask.

6 Classless Inter-Domain Routing (CIDR)

7 Subnetting Class C Addresses

8 The Binary Method: Subnetting a Class C Address
(subnet mask) 192 =

9 use ip subnet-zero 00000000 = 0 (all host bits off)

10

11

12

13

14 The Fast Way: Subnetting a Class C Address
How many subnets does the chosen subnet mask produce? How many valid hosts per subnet are available? What are the valid subnets? What’s the broadcast address of each subnet? What are the valid hosts in each subnet?

15 How many subnets? 2x = number of subnets. x is the number of masked bits, or the 1s For example, in , the number of ones gives us 22 subnets. In this example, there are 4 subnets.

16 How many hosts per subnet?
2y – 2 = number of hosts per subnet. y is the number of unmasked bits, or the 0s. For example, in , the number of zeros gives us 26 – 2 hosts. In this example, there are 62 hosts per subnet. You need to subtract two for the subnet address and the broadcast address, which are not valid hosts.

17 What are the valid subnets?
256 – subnet mask = block size, or increment number. An example would be 256 – 192 = 64. The block size of a 192 mask is always 64. Start counting at zero in blocks of 64 until you reach the subnet mask value and these are your subnets. 0, 64, 128, 192.

18 What’s the broadcast address for each subnet?
Now here’s the really easy part. Since we counted our subnets in the last section as 0, 64, 128, and 192, the broadcast address is always the number right before the next subnet. For example, the 0 subnet has a broadcast address of 63 because the next subnet is 64. The 64 subnet has a broadcast address of 127 because the next subnet is 128, etc. And remember, the broadcast of the last subnet is always 255 for Class C.

19 What are the valid hosts?
Valid hosts are the numbers between the subnets, omitting all the 0s and all 1s. For example, if 64 is the subnet number and 127 is the broadcast address, then 65–126 is the valid host range—it’s always the numbers between the subnet address and the broadcast address.

20 Variable Length Subnet Masks (VLSMs)

21 VLSM Design

22 But the WAN links are point-to-point, and use only two IP addresses
But the WAN links are point-to-point, and use only two IP addresses. So we’re basically wasting 12 valid host addresses per WAN link

23

24 Summarization, also called supernetting, provides route updates in the most efficient way possible by adverting many routes in one advertisement instead of individually. This saves a ton of bandwidth and minimizes router processing. As always, you use blocks of addresses (remember that block sizes are used in all sorts of networks) to configure your summary routes and watch your network’s performance hum.

25 Implementing VLSM Networks

26

27

28

29 Keep in mind that it doesn’t matter where you start your block sizes as long as you always count from zero. For example, if you had a block size of 16, you must start at 0 and count from there—0, 16, 32, 48, etc.

30

31

32 Summarization Summarization, also called route aggregation, allows routing protocols to advertise many networks as one address. The purpose of this is to reduce the size of routing tables on routers to save memory, which also shortens the amount of time for IP to parse the routing table and find the path to a remote network.

33

34 ~ Fix the part Variety part

35 Glcat’s block size ~

36 Networks through Answer #1: If you used a block size of 16, then the network address is with a mask of (240 provides a block of 16). However, this only summarizes from 32 to 47, which means that networks 48 through 50 would be advertised as single networks.This is probably the best answer, but that depends on your network design.

37 Answer #2 If you used a block size of 32, then your summary address would still be , but the mask would be (224 provides a block of 32). The possible problem with this answer is that it will summarize networks 32 to 63 and we only have networks 32 to 50. No worries if you’re planning on adding networks 51 to 63 later into the same network, but you could have serious problems in your internetwork if somehow networks 51 to 63 were to show up and be advertised from somewhere else in your network!This is the reason why answer number one is the safest answer.

38 /20 what’s the range of host addresses?

39 The /20 provides a summary address of 192. 168. 144. 0 and mask of 255
The third octet has a block size of 16, and starting at summary address 144, the next block of 16 is 160, so our network summary range is 144 to 159 in the third octet

40 A router that has this summary address in the routing table will forward any packet with destination IP addresses of through

41 Troubleshooting IP Addressing

42 The four troubleshooting steps Cisco recommends
ping (Check TCP/IP Protocol) ping the IP address of the local host(Check NIC) ping the default gateway(Check local network connect) ping the remote server(Check IP communication between the local host and the remote server)

43 Determining IP Address Problems
A user in the Sales department calls and tells you that she can’t get to ServerA in the Marketing department. You ask her if she can get to ServerB in the Marketing department, but she doesn’t know because she doesn’t have rights to log on to that server. What do you do? Steps 1 through 3 work, but step 4 fails

44

45 IP Address Problem 2

46 /29 the router needs to be assigned the first usable address the server the last valid host ID what are the IP address, mask, and default gateway assigned to the server

47 Server IP address: Server mask: Default gateway: (router’s IP address)

48 Find the valid host

49 Host IP address: –62 (any address in the range except for 33, which isassigned to the router). Mask: Default gateway:

50 Find the valid host #2

51 Host A IP address: –126 Host A mask: Host A default gateway: Host B IP address: –62 Host B mask: Host B default gateway:

52 Find the valid host address #3

53 First, you must know that a /22 CIDR is 255. 255. 252
First, you must know that a /22 CIDR is , which makes a block size of 4 in the third octet. Since 17 is listed, the available range is 16.1 through


Download ppt "Subnetting Basics benefits Reduced network traffic"

Similar presentations


Ads by Google