Lecture: Network Address Translation Flashcards

(12 cards)

1
Q

What is NAT?

A

NAT (Network Address Translation) is a process that maps private IP addresses to public IP addresses. This is used to allow devices on a private network to communicate with devices on the internet

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

Why is NAT used?

A

NAT is primarily used to conserve public IPv4 addresses, as they are limited. It also adds a layer of security by hiding the internal IP addresses of a private network

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

What are the three types of NAT?

A

Static NAT
Dynamic NAT
Port Address Translation (PAT) / NAPT

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

Explain Static NAT.

A

Static NAT involves a one-to-one mapping between a private IP address and a public IP address. This mapping is fixed and does not change.

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

Provide an example of a Static NAT configuration.

A

[R1]interface GigabitEthernet0/0/1
[R1-GigabitEthernet0/0/1]ip address 122.1.2.1 24
[R1-GigabitEthernet0/0/1]nat static global 122.1.2.1 inside 192.168.1.1
[R1-GigabitEthernet0/0/1]nat static global 122.1.2.2 inside 192.168.1.2
[R1-GigabitEthernet0/0/1]nat static global 122.1.2.3 inside 192.168.1.3

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

Explain Dynamic NAT

A

Dynamic NAT maps private IP addresses to public IP addresses from a pool of available public IP addresses. The mapping is temporary and assigned when a device initiates communication.

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

How does Dynamic NAT differ from Static NAT in terms of address utilization?

A

Dynamic NAT is more efficient in using public IP addresses. It only assigns a public IP address when needed and returns it to the pool when the communication is finished, unlike Static NAT, which maintains a permanent 1:1 mapping.

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

What are the steps involved in Dynamic NAT?

A

Step 1: Create a pool of public addresses.
Step 2: Create a standard ACL with private addresses.
Step 3: Bind the ACL to the pool.
Step 4: Identify inside and outside interfaces.

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

Explain Port Address Translation (PAT) / NAPT.

A

PAT/NAPT is a type of NAT that translates both IP addresses and port numbers. It allows multiple devices on a private network to share a single public IP address.

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

How does PAT/NAPT improve public address utilization compared to Dynamic NAT?

A

PAT/NAPT provides a many-to-one mapping, allowing multiple private IP addresses to share a single public IP address by using different port numbers. Dynamic NAT only provides a one-to-one mapping

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

What is the configuration command for many-to-single IPv4 PAT?

A

R2(config)# ip nat inside source list 1 interface serial 0/1/1 overload

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

What are the verification commands for NAT?

A

R2# show ip nat translations
R2# show ip nat statistics

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