Ip Flashcards
What is IP fragmentation?
Break a large IP packet into a smaller pieces to fit the MTU of underlying network. If any fragment is lost, then the whole datagram is discarded
IPV4 Addresses
32 bits written in 4 decimal numbers which has a network and host part. Is assigned to interfaces so a host can have multiple interfaces and multiple IPs
Subnetting
Dividing a network into smaller sub networks for better organization and efficiency. A subnet mask helps identify how many bits of the IP address are used in network
Supernetting/CIDR
Combines multiple smaller networks in to a big one using CIDR. CIDR has IP/prefix_length for which are the network bits and rest are the host bits
What is ARP? and why is it important?
ARP maps IP address to MAC hardware address on a local network. It’s important because devices can only send Ethernet frames using MAC addresses and it allows for IP based communication that works for Ethernet and WIFI
What is DHCP? And why is it important?
Automatically assigns IP address and other network information (subnet mask, default gateway, dns) to devices. It’s important because without it, IP would need to be manually configured and it supports dynamic networks with many devices
What is an IP tunnel?
Encapsulating IP packets with other packets for VPNs
How does ARP work?
- Device knows IP but not MAC
- ARP request sent and target replies with ARP reply containing MAC address
How does DHCP work?
- Device sends DHCP discover
- Server replies with DHCP offer
- Device sends a DHCP request
- Server sends DCHP ACK