6. IPv4 Addressing Flashcards
What are the value range and the block size of IPv4?
- 0 - 255
- 4
- 10.0.255.255
What portion does IPv4 made up of? ( 2 )
- Network Portion
- Host Portion
- It is a 32 bit hierarchial address
How to determine the host portion and the network portion
192.168.10.23
- 192.168.10 is Network Portion
- .23 is Host Portions
What is used to determine the network and host portions?
- Subnet mask
What is the actuall process used to identify the network and host portions called?
- ANDing
What is a prefix length used for?
- It is a less cumbersome method used to identify a subnet mask
How to calculate the prefix length?
- Count the number of 1 in the subnet mask
- 255.0.0.0 ( 11111111.00000000.00000000.00000000 ) which has a prefix of 8
How does the prefix length written in ?
- Slash Notation ( /8 )
List out 3 types of IP addresses within each network
- Network Address ( For whole LAN network )
- Host Address ( For end users )
- Broadcast Address
How many devices does Unicasts sends?
- A packet to one destination IP address
How many devices does Broadcast sends?
- A packet to all other destination IP address
How many devices does Multicast sends?
- A packet to a multicast address group ( Send to PC1 , PC3 and PC5 without sending to PC2 and PC4 )
List out 2 types of IPv4 address
- Private
- Public
What are the characteristics of Private IPv4?
- Private IPv4 addresses are not unique and can be used internally within any network
- Are not globally routable
What is Private IPv4 Addresses used?
- It is a common block of addresses used by most organizations to assign IPv4 addresses to internal hosts
What translates private IPv4 addresses to public IPv4 addresses?
- Network Address Translation ( NAT )
Where is NAT typically enabled?
- On the edge router connecting to the internet
List out 2 special use IPv4 addresses
- Loopback Addresses
- Link-Local Addresses
What is the range for Loopback addresses?
- 127.0.0.0/8 ( 127.0.0.1 to 127.255.255.254 )
- Commonly identified as only 127.0.0.1
What is the range for Link-Local addresses?
- 169.254.0.0 /16 (169.254.0.1 to 169.254.255.254)
What is Loopback addresses used for?
- Used on a host to test if TCP/IP is operational
What is Link-Local Addresses are commonly known as?
- Automatic Private IP Addressing ( APIPA ) addresses or self-assigned addresses
What is Link-Local addresses used for?
- Used by Windows DHCP clients to self-configure when no DHCP servers are available
List out 5 IPv4 addresses class by RFC 790 ( 1981 )
- Class A ( 0.0.0.0/8 to 127.0.0.0/8 )
- Class B ( 128.0.0.0 /16 – 191.255.0.0 /16 )
- Class C ( 192.0.0.0 /24 – 223.255.255.0 /24 )
- Class D ( 224.0.0.0 to 239.0.0.0 )
- Class E (240.0.0.0 – 255.0.0.0)
- Classful addressing wasted many IPv4 addresses