Welcome to Back!
TCP/IP Subnetting
Pop Quiz TCP/IP Cheat Sheet
IP Addresses My localhost -> > www.yahoo.com
IP Addresses IP Address: Network Portion: Node Portion: Every IP Address has a node portion and a network portion
Subnet Mask IP Address: Subnet Mask: Network ID: The subnet mask tells us which part of an IP address is the node portion vs. the network portion An IP address without a subnet mask is meaningless
Binary ANDing AND is a mathematical operator just like + (plus) and – (minus) = 2 1 AND 1 = 1
AND Truth Table A | B | A AND B FALSE|FALSE|FALSE FALSE|TRUE|FALSE TRUE|FALSE|FALSE TRUE|TRUE |TRUE
AND Truth Table A B A AND B
AND Truth Table 0 AND 0 = 0 0 AND 1 = 0 1 AND 0 = 0 1 AND 1 = 1
Man vs Machine Human readable dotted decimal notation –Each number represents an “Octet” or 8 bits What the computer sees:
Subnet Mask and ANDing IP: Subnet: IP: Subnet: AND IP: Subnet:
TCP/IP Cheat Sheet: The Rules The Subnet/network address is always hidden behind the 1s in the mask IP: Subnet:
TCP/IP Cheat Sheet: The Rules The Host/Node address is always hidden behind the 0s in the mask IP: Subnet:
= = TCP/IP Cheat Sheet: The Rules (Except in special cases) The all-1s and all-0s subnet addresses are invalid (but NOT in CIDR) Ex. Network ID Subnet Mask > s hide the host address 1s hide the subnet address Breaks the rule! ( except in CIDR ) These bits belong to the Big IP in the Sky (we can’t change them) These are the bits that we own
TCP/IP Cheat Sheet: The Rules (Except in special cases) The all-1s and all-0s host addresses are invalid (Always) Ex. IP Address: Subnet Mask: OR IP Address: Subnet Mask:
Reason Behind the Rule The all zeros host address is the same as the network ID Ex.IP: Subnet: Network ID: The all ones host address is reserved for the broadcast address
Practice Problems 1 AND 1 1 AND 0 0 AND 1 0 AND AND AND AND
Practice Problems b to Decimal 137d to Binary