110 likes | 130 Vues
Network Layer. IP Address. Given an IP Address and a Network Mask. Determine : 1 st IP Address (Network ID) 1 st Assignable Address Last Assignable Address Last IP Address (Broadcast) Number of Devices 2 (32-n) - 2. Given an IP Address and a Network Mask (/n). Determine :
E N D
Network Layer IP Address
Given an IP Address and a Network Mask Determine : • 1st IP Address (Network ID) • 1st Assignable Address • Last Assignable Address • Last IP Address (Broadcast) • Number of Devices • 2(32-n) - 2
Given an IP Address and a Network Mask (/n) Determine : • 1st IP Address (Network ID) • Find the nth bit in the IP address. All bits to the left stay the same; all bits to the right go to 0. • 1st Assignable Address • Add 1 to the last (4th) decimal of the Network ID. • Last Assignable Address • Subtract 1 from the last (4th) decimal of the Broadcast. • Last IP Address (Broadcast) • Find the nth bit in the IP address. All bits to the left stay the same; all bits to the right go to 1. • Number of Devices • 2(32-n)– 2 = use calculator.
10.252.49.52 / 24 Determine : • 1st IP Address (Network ID) • 1st Assignable Address • Last Assignable Address • Last IP Address (Broadcast) • Number of Devices • 2(32-n) - 2
10.252.49.52 / 24 IP : 0000 1010 . 1111 1100 . 0011 0001 . 0011 0100 Mask : 1111 1111 . 1111 1111 . 1111 1111 . 0000 0000 Determine : • 1st IP Address (Network ID) 0000 1010 . 1111 1100 . 0011 0001 . 0000 0000 • 10.252.49.0 • 1st Assignable Address 0000 1010 . 1111 1100 . 0011 0001 . 0000 0001 • 10.252.49.1 • Last Assignable Address 0000 1010 . 1111 1100 . 0011 0001 . 1111 1110 • 10.252.49.254 • Last IP Address (Broadcast) 0000 1010 . 1111 1100 . 0011 0001 . 1111 1111 • 10.252.49.255 • Number of Devices • 2(32-n)– 2 = 2(32-24)– 2 = 2(8)– 2 = 256 – 2 = 254
10.252.49.52 / 28 Determine : • 1st IP Address (Network ID) • 1st Assignable Address • Last Assignable Address • Last IP Address (Broadcast) • Number of Devices • 2(32-n) - 2
10.252.49.52 / 28 IP : 0000 1010 . 1111 1100 . 0011 0001 . 0011 0100 Mask : 1111 1111 . 1111 1111 . 1111 1111 . 1111 0000 Determine : • 1st IP Address (Network ID) 0000 1010 . 1111 1100 . 0011 0001 . 0011 0000 • 10.252.49.48 • 1st Assignable Address 0000 1010 . 1111 1100 . 0011 0001 . 0011 0001 • 10.252.49.49 • Last Assignable Address 0000 1010 . 1111 1100 . 0011 0001 . 0011 1110 • 10.252.49.62 • Last IP Address (Broadcast) 0000 1010 . 1111 1100 . 0011 0001 . 0011 1111 • 10.252.49.63 • Number of Devices • 2(32-n) – 2 = 2(32-28)– 2 = 2(4)– 2 = 16 – 2 = 14
10.252.49.52 / 20 Determine : • 1st IP Address (Network ID) • 1st Assignable Address • Last Assignable Address • Last IP Address (Broadcast) • Number of Devices • 2(32-n) - 2
10.252.49.52 / 20 IP : 0000 1010 . 1111 1100 . 0011 0001 . 0011 0100 Mask : 1111 1111 . 1111 1111 . 1100 0000 . 0000 0000 Determine : • 1st IP Address (Network ID) 0000 1010 . 1111 1100 . 0011 0000 . 0000 0000 • 10.252.48.0 • 1st Assignable Address 0000 1010 . 1111 1100 . 0011 0000 . 0000 0001 • 10.252.48.1 • Last Assignable Address 0000 1010 . 1111 1100 . 0011 1111 . 1111 1110 • 10.252.63.254 • Last IP Address (Broadcast) 0000 1010 . 1111 1100 . 0011 1111. 1111 1111 • 10.252.63.255 • Number of Devices • 2(32-n) – 2 = 2(32-20)– 2 = 2(12)– 2 = 4096 – 2 = 4094
10.252.49.52 / 12 Determine : • 1st IP Address (Network ID) • 1st Assignable Address • Last Assignable Address • Last IP Address (Broadcast) • Number of Devices • 2(32-n) - 2
10.252.49.52 / 12 IP : 0000 1010 . 1111 1100 . 0011 0001 . 0011 0100 Mask : 1111 1111 . 1111 0000 . 0000 0000 . 0000 0000 Determine : • 1st IP Address (Network ID) 0000 1010 . 1111 0000 . 0000 0000 . 0000 0000 • 10.240.0.0 • 1st Assignable Address 0000 1010 . 1111 0000 . 0000 0000 . 0000 0001 • 10.240.0.1 • Last Assignable Address 0000 1010 . 1111 1111 . 1111 1111 . 1111 1110 • 10.255.255.254 • Last IP Address (Broadcast) 0000 1010 . 1111 1111 . 1111 1111 . 1111 1111 • 10.255.255.255 • Number of Devices • 2(32-n) – 2 = 2(32-12)– 2 = 2(20)– 2 = 1,048,576 – 2 = 1,048,574