NAT Flashcards

(11 cards)

1
Q

What is NAT?

A

NAT stands for Network Address Translation. It’s a method used by routers to translate private IP addresses into a public IP address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a simple analogy for NAT?

A

NAT is like a mailroom clerk who adds a name to each outgoing letter and keeps track of who sent what.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why do we use NAT?

A

We use NAT because we’re running out of public IPv4 addresses, it allows many devices to share one public IP, and it adds a layer of security.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the types of NAT?

A

The types of NAT include Static NAT, Dynamic NAT, and PAT (NAT Overload).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does Static NAT do?

A

Static NAT maps one private IP to one public IP.

Example: 192.168.1.10 → 203.0.113.10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does Dynamic NAT do?

A

Dynamic NAT uses a pool of public IPs to map private IPs temporarily.

Example: 192.168.1.20 → any free IP from a pool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does PAT (NAT Overload) do?

A

PAT maps many private IPs to one public IP using ports.

Example: 192.168.1.5:1234 → 203.0.113.1:56789

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does NAT work with PAT?

A

When you open a website, your router changes the source IP to its public IP and adds a unique port number for routing responses back.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the benefits of NAT?

A

The benefits of NAT include saving IP addresses, adding privacy, and enabling internal-only addressing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the drawbacks of NAT?

A

Drawbacks of NAT include breaking some apps that need end-to-end visibility, making peer-to-peer connections harder, and not working natively with end-to-end encryption or IPv6.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the TL;DR of NAT?

A

NAT is a translator between private and public IPs, allows many devices to share one public IP, and most home networks use PAT.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly