Chapter 9a Intro to Routing & Switching
Upon completion of this chapter, you should be able to: Explain why routing is necessary for hosts on different networks to communicate. Describe IP as a communication protocol used to identify a single device on a network. Given a network and a subnet mask, calculate the number of host addresses available. Calculate the necessary subnet mask in order to accommodate the requirements of a network. Describe the benefits of variable length subnet masking (VLSM)
9.1
How many bits in an IPv4 address? 32 How many octets in an IPv4 address? 44 What’s the range of numbers in each octet? What are the bit values? 128, 64, 32, 16, 8, 4, 2, 1 Convert
to decimal to decimal to decimal to decimal
192 to binary 224 to binary 47 to binary 115 to binary
Range: Default Subnet Mask: Which octets are Network & Host? How many hosts available? Give an example IP & SM:
5 to binary 77 to binary 100 to binary 127 to binary What’s in common with all of them?
Range: Default Subnet Mask: Which octets are Network & Host? How many hosts available? Give an example IP & SM:
128 to binary 142 to binary 191 to binary What’s in common here?
Range: Default Subnet Mask: Which octets are Network & Host? How many hosts available, total & useable? Give an example IP & SM:
192 to binary 200 to binary 223 to binary What’s common here?
Class D Multicasting Class E Experimental Use Private Addresses A- B- C-
9.2
How many total bits are on? (1’s) /24 notation How many total bits are on? (1’s) /16 notation How many total bits are on? (1’s) /29 notation
Router ONLY knows which NETWORKS it is connected to!!! Doesn’t care about individual hosts It ANDs the IP & Subnet Mask Result= DESTINATION NETWORK Looks in routing table for destination network & sends it out the outgoing port
9.3
Network Subnetwork Hosts
Borrow bits from host portion to make new networks Ask yourself… How many networks do you need? How many hosts per network are there?
You MUST borrow at least 2 bits or leave at least 2 bits Class C has 1 octet to borrow from Class B has 2 octets to borrow from Class A has 3 octets to borrow from Remember the powers of 2 2 2 = 4 2 3 = 8 2 4 = 16 2 5 = 32 2 6 = 64 Remember 2 you can’t use: Network & Broadcast
( ) ( ) ( ) ( ) ( ) ( ) Total Range #3 Useable Range #2 Network ID /27 Broadcast Address /27
A packet with a destination IP of goes to a router It ANDs to come up with the NETWORK #
/28 What class address? C: Only deal with the last octet! How many bits borrowed? = 16 networks How many bits left over? = 16 hosts per sub-network
Based on the IP address & SM, identify… The network address The broadcast address How many bits were borrowed How many bits were left over Is the address valid
Are the hosts on the same network or separate?
What’s the broadcast address for /24? Default SM, no subnetting Sam’s Beef Hut uses network & to create subnets. How many useable hosts can be created per network? 14
Which class gives you the most hosts/network? AA Which class give you the most networks? CC Public IP addresses must be __________.
CIDR VLSM You can subnet, for each unequal network Your address is /26 Net A needs 37 hosts Net B needs 15 hosts Net C needs 100 hosts
Instead of having multiple subnet entries for each router port, CIDR uses the common bits to make ONE routing table address per port.
Complete the study guide handout Take the quiz on netacad.com Jeopardy review
In this chapter, you learned:
Chapter 9a Intro to Routing & Switching