Network Address Translation (NAT) Flashcards

1
Q

Characteristics of IPv4 Address Space (mcq) REF IMAGE FOR CLASSES

A

Commonly implemented using
private IPv4 addresses, as defined in RFC 1918.

  • Private IPv4 addresses cannot be routed over the internet and are used within an organization or site to allow devices to communicate locally
  • To allow a device with a private IPv4 address to access devices and resources outside of the local network, the private address must first be translated to a public address.
  • NAT provides the translation of private addresses to public addresses.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is NAT used for

A

Conserve public IPv4 addresses

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

Why is NAT useful

A

Allows networks to use private IPv4
addresses internally and translates them to a public address when needed.

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

How does NAT operate

A
  • A NAT router typically operates at the border of a stub network.
  • When a device inside the stub network wants to communicate with a device outside of its network, the packet is forwarded to the border router which performs the NAT
    process, translating the internal private address of the device to a public, outside, routable address.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How NAT Works (btr go watch video)

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

NAT Terminology - Inside

A

(ref img)
- Inside local address
The address of the source as seen from inside the network. This is
typically a private IPv4 address. The inside local address of PC1 is
192.168.10.10.

  • Inside global addresses
    The address of source as seen from the outside network. The inside
    global address of PC1 is 209.165.200.226
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

NAT Terminology - Outside

A

(ref img)
- Outside global address
The address of the destination as seen from the outside network.
The outside global address of the web server is 209.165.201.1

  • Outside local address
    The address of the destination as seen from the inside network. PC1
    sends traffic to the web server at the IPv4 address 209.165.201.1.
    While uncommon, this address could be different than the globally
    routable address of the destination.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Static NAT

A

(ref img)
Static NAT uses a one-to-one mapping of local and global addresses configured by the network administrator that remain constant.

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

Why is Static NAT useful

A

Static NAT is useful for web servers or devices that must have a consistent address that is accessible from the internet, such as a company web server.

It is also useful for devices that must be accessible by authorized personnel when offsite, but not by the general public on the internet.

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

What is Dynamic NAT

A

Dynamic NAT uses a pool of public addresses and assigns them on a first-come, first-served basis.

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

How does Dynamic NAT work

A

(ref img)
When an inside device requests access to an outside network, dynamic NAT assigns an available public IPv4 address from the pool.

The other addresses in the pool are still available for use.

NOTE: Dynamic NAT requires that enough public addresses are available to satisfy the total number of simultaneous user sessions.

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

What is Port Address Translation

A

Port Address Translation (PAT), also known as NAT overload, maps multiple private IPv4 addresses to a single public IPv4 address or a few addresses.

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

How does Port Address Translation work

A

With PAT, when the NAT router receives a packet from the client, it uses the source port number to uniquely identify the specific NAT translation.

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

Why is Port Address Translation useful

A

It ensures that devices use a different TCP port number for each session with a server on the internet.

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

6 Advantages of NAT

A

NAT conserves the legally registered addressing scheme by allowing the privatization of intranets.

NAT conserves addresses through application port-level multiplexing.

NAT increases the flexibility of connections to the public network.

NAT provides consistency for internal network addressing schemes.

NAT allows the existing private IPv4 address scheme to remain while allowing for easy change to a new public addressing scheme.

NAT hides the IPv4 addresses of users and other devices.

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

Disadvantages of NAT

A

NAT increases forwarding delays.

End-to-end addressing is lost.

End-to-end IPv4 traceability is lost.

NAT complicates the use of tunneling protocols, such as IPsec.

Services that require the initiation of TCP connections from the outside network, or stateless protocols, such as those using UDP, can be disrupted.