Introducing the TCP/IP Internet Layer, IPv4 Addressing, and Subnets Flashcards
What is the range of Class A addresses?
First Octet of 1 - 126
/8
What is the range of Class B addresses?
First Octet of 128 - 191
/16
What is the range of Class C addresses?
First Octet of 192 - 223
/24
What is the range of Class D addresses and what are they reserved for?
First Octet of 224 - 239
Multicast
What is the range of Class E addresses and what are they reserved for?
First Octet of 224 - 255
Experimental
What addresses are reserved and allocated of private use? What RFC did this?
RFC 1918 - “Address Allocation for Private Internets”
A - 10.0.0.0 /8
B - 172.16.0.0 /12
C - 192.168.0.0 /16
What address range do Microsoft and Apple operating systems default to if they fail to get a DHCP address, what RFC defined this? What is the feature called?
RFC 3927 - 169.254.0.0 /16
Automatic Private IP Addressing (APIPA)
What is the local loopback address range?
127.0.0.0 /8
Typically used as 127.0.0.1
What two address ranges are assigned for use in documentation and example code, what RFC defined this?
RFC 5737
- 51.100.0/24
- 0.113.0 /24
Theses ranges do not appear on the public internet.
What is the address 0.0.0.0 used for and what RFC defined this?
RFC 5735
0.0.0.0 indicates the host in “this” network and only used as a source address.
A common use is during the DHCP assignment process before the host has a valid IPv4 address.
What is a directed broadcast? What kind of attack did this lead to in the 1990s? What command did Cisco implement by default to help prevent this?
A directed broadcast is the last address in a network. It could be used by an device outside of it’s own network to force traffic to all devices within it’s network.
This was a way users created denial of service (DoS) attacks referred to as Smurf.
Cisco implemented the command: no ip directed-broadcast by default starting with Cisco IOS Release 12.0
What is the local broadcast address and what does it do?
255.255.255.255
It allows devices to send traffic to this address which will then go out to all other devices within it’s own network or subnet.
How do you verify the IPv4 address of a host on Apple Mac?
System Preferences > Network > (click on a connection) > Advanced > TCP/IP tab
or
Go > Utilities > Terminal > ifconfig {interface name}
How do you verify the IPv4 address of a host in Linux?
Go to the command line / terminal > ifconfig
Also, to view info on most commands you type in “man” in front. Such as - man ifconfig
What are the benefits of VLSM?
Efficiently using IP addresses
Support for route summarization (aka route aggregation), meaning smaller routing tables and quicker route calculations.