NAT (Network Address Translation) Flashcards
What is NAT?
NAT (Network Address Translation) is a technique used to modify the IP address information in packet headers to map private IP addresses to public IP addresses.
What is the purpose of NAT?
NAT enables multiple devices on a private network to share a single public IP address when communicating over the internet.
What is PAT (Port Address Translation)?
PAT, a type of NAT, maps multiple private IP addresses to a single public IP address using different ports for each connection.
How does NAT improve security?
NAT hides the internal IP addresses of devices behind a single public IP address, making it harder for external users to access the internal network directly.
What is Static NAT?
Static NAT maps a single private IP address to a single public IP address, ensuring that the mapping is consistent.
What is Dynamic NAT?
Dynamic NAT uses a pool of public IP addresses and dynamically assigns a public IP to a private IP when necessary.
How does NAT handle incoming traffic?
NAT rewrites the destination IP address of incoming packets to route them to the correct private IP address inside the network.
What is the difference between Static and Dynamic NAT?
Static NAT uses a fixed mapping of private to public IPs, while Dynamic NAT uses a pool of public IPs and assigns them dynamically.
What is a typical use case for NAT?
NAT is commonly used in home and enterprise networks to allow multiple devices to share a single public IP address when accessing the internet.
What is the NAT table?
The NAT table is a data structure used by NAT devices to keep track of active connections and their corresponding translations.
What happens if a NAT device runs out of available ports in PAT?
If a NAT device runs out of available ports, new connections cannot be established, and the device may need to handle the situation through timeout or error messages.
Can NAT work with IPv6?
NAT is not commonly used with IPv6 because IPv6 provides a larger address space, eliminating the need for address translation.
How does NAT work in a home network?
In a home network, NAT allows multiple devices to share one public IP address, translating private IP addresses to public IP addresses when accessing the internet.
What is the impact of NAT on network performance?
NAT can add processing overhead due to address translation, which may cause slight delays, but the impact is typically minimal.
Does NAT support inbound and outbound connections?
Yes, NAT supports both inbound and outbound connections, translating IP addresses for both incoming and outgoing traffic.