Chapter 7: Network Address Translation Flashcards

Learning the ways of NAT.

1
Q

What does NAT stand for and what is it used for?

A

Network Address Translation - used to translate private addresses to public, to connect to a broadband network.

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

What are public and private addresses?

A
Private IP Addresses
RFC 1918 Address
Routable inside the Enterprise
Not routable in Public Internet
Class A: 10.0.0.0 –10.255.255.255
Class B: 172.16.0.0 –172.31.255.255
Class C: 192.168.0.0.-192.168.255.255

Public IP Addresses
Routable outside the Enterprise
(if Enterprise owns IP Address Space)
Routable inside the Enterprise

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

What are inside local, inside global, outside local, and outside global?

A
• Inside:  Region Inside the Enterprise
(i.e. Inside my control)
• Local:  IP Addresses Inside the   
network
• Outside:Region Outside the Enterprise
(i.e. outside my control)
• Global: IP Addresses Outside the network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Are the outside local and outside global are the same?

A

Depends. Outside Local=Outside Global when the edge enterprise router doesn’t know Outside Global Address, then router observes it as equal to Outside Local.

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

What is PAT and how does it work?

A

• PAT allows a single public IP address to be used by many hosts on the private network using different ports
• PAT preserves original source port number.
if port is in use, PAT will assign the first available port number for the appropriate port group
• When there are no more port numbers available, PAT moves to the next public IP address in the pool if there is one.
• when sending a ping over PAT, other fields in the ping message are used as substitues for the Port Numbers

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

What is the difference between Staic and dynamic NAT?

A

Static NAT:

  • Assigns one public IP address to one private IP address
  • Commonly used for servers that need to be accessed by external devices

Dynamic NAT:

  • Assigns a public IP address from a pool of addresses
  • NAT translation remains in NAT table based on configured timer duration
  • The number of internal devices that can transmit outside the company is limited to the number of public IP addresses in the pool.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the advantages of NAT?

A
  • Every company can use the private IP addresses
  • Adds services like server load balancing
  • Do not have to re-address the network if a new ISP or public IP address is assigned
  • Provides limited network security by hiding private IP addresses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the disadvantages of NAT?

A
  • Performance is degraded -The NAT-enabled border device must track and process each session destined for an external network.
  • End-to-end IP traceability is lost.
  • Tunneling becomes more complicated –requires NAT Traversal
  • Initiating TCP connections can be disrupted.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How is Static NAT configured?

A
  • ip nat inside source statiuc local-ip global-ip
  • int g0/0
  • ip nat inside
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How is Dynamic NAT configured?

A
  • access-list 1 permit 192.168.1.0 0.0.0.255
  • ip nat pool public_access 209.165.200.242 209.165.200.254 netmask 255.255.255.224
  • ip nat inside source list 1 pool public_access
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Port forwarding and what does it do?

A
  • Port forwarding allows an external device to reach a device on a specific port number and the device is located on an internal (private) network.
  • Required for some peer-to-peer file-sharing programs and operations such as web serving and outgoing FTP
  • Solves the problem of NAT only allowing translations for traffic destined for external networks at the request of internal devices.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly