SECTION 7 : IP ADDRESSING Flashcards
What is an IP address ?
Assigned numerical lable used to identify internet communicating devices on a computer network. Layer 3.
General difference between L2 and L3
Two devices that are internal to own networks or LAN ==> layer 2
Two different networks or event two different subnets ==> layer 3
How is an IP address decomposed ?
Four octets of 8 binary digits (bits) that cannot exceed 255.
What are the two portions of an IP address ?
The first three octets are the network bits that represent the network.
While the last octet is the host (which could be any other network device).
What are the five classes of IPv4 addresses ?
A –> first octet 1-127 > 1.0.0.0 - 126.255.255.255
B –> first octet 128 - 191> 128.0.0.0 - 191.255.0.0
C –> first octet 192 - 223 > 192.0.0.0 - 223.255.255.0
D ==> multicasting I no default subnet mask > 224.0.0.0 - 239.255.255.255
E ==> no default subnet mask I experimental use only > 240.0.0.0 - 255.255.255.255
What is a classful mask ?
It is the default subnet mask for a given class or IP addresses. Not always the best one for us to use. For example for a Class A the default is 255.0.0.0 but it offers 16.7 million. So it’s not useful to use this subnet mask.
What is classless inter-domain routing ?
Allows for the borrowing some of those host bits and reassigning them to the network portion.
We can cut down the size of networks with less host.
What is subnetting ?
Allows for the use of a classless subnet mask to create smaller networks with fewer hosts in each network. Also known as Classless Interdomain Routing notation (CIDR notation).
What does the default gateway do ?
It gives devices IP addresses and gives information about external IP addresses.
What are private IP addresses ?
Can be used by anyone at anytime but only within their own LAN. Private IP ranges include those that start with either 10, 172 or 192.
RFC 1918 is used to conduct address allocation for private internets.
How does a private IP connect to the internet since it’s not routable.
Thanks to NAT. Allows for routing a private IP through a public IP.
What are the private IP addresses detailed in RFC 1918?
Class A —> 10 as a starting value : 16,7 million
Class B —> 172.16 - 172.31 : 1.05 million
Class C —> 192.168 : 65 536
What is the loop back address ?
Assigned at 127.0.0.1.
Creates a loop back to the host and is often used in troubleshooting and testing network protocols on a system. Anything which starts with 127 is considered a loop back.
What is automatic private IP addresses ? (APIPA)
Used when a device does not have a static IP address or cannot reach a DHCP server. Assigned by OS dynamically.
169.254.0.0 to 169.254.255.255.
It means something is wrong with the DHCP process (Discover, Offer, Requesr, Acnowledge).
What are virtual IP address ?
An IP address that does not correlate to an actual physical network interface. For virtualization, fault tolerance or NAT.
You can configure the NIC to respond to numerous IP addresses. Routers use to provide redundancy in their connectivity options.
What are du interfaces ?
A virtual interface that is created by dividing up one physical interface into multiple logical interfaces.
What are the three types of data flows when it comes to IPv4 data flows ?
Unicast
Multicast
Broadcast
What is unicast ?
Data travels from a single source device to a single destination.
Example: message to a server that send to PC1 or from the server to PC2.