Network layer Flashcards
What is the networking device operating on network layer?
A router
What is the protocol used on the network layer?
Internet Protocol, IPv4 and IPv6
What is the unit of data in network layer called?
An IP packet
What do routers do?
Interconnect different LAN’s and forward IP packets based on the destination IP address in the IP packets header field.
How long are IPv4 addresses?
32 bits, divided into four groups of 8 bits
How long are IPv6 addresses?
128 bits, divided into 8 groups of 4 hexadecimal numbers
How big is the interface ID (host portion) of IPv6 address?
64 bits
How big is the host portion of an IPv4 address?
It depends on how long the network part is, defined by the subnet mask
How the network portion and the host portion are split from the IP address?
Using a subnet mask and bitwise AND. Subnet mask defines the length of the network portion.
If IPv4 address has /24 in the end, what does it mean?
That the network address is the first 24 bits of the 32-bit address.
How are IP packets prevented from circulating endlessly in networks?
Time To Live field in packet header defines how many hops it can travel before being dropped. In IPv6 TTL is replaced by Hop Limit but it works similarily
What is VLSM Subnetting and what are it’s benefits?
VLSM stands for Variable Length Subnet Mask and it enables to split a network into different sized subnets. You can reduce the number of wasted address spaces by using VLSM
Name 3 different IP networking troubleshooting tools.
ping, traceroute, ipconfig/ifconfig, nslookup, netstat, wireshark, nmap, netcat