W9L2 - ALG and NAT Flashcards

1
Q

RFC 1918 Private Address Space

A

On your own network you could have the same ip address as another person on their home network. However these couldn’t be routed on the internet. There is a translation layer on the access point to convert said address to a routable one when needed.

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

ALG

A

Application Level Gateways

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

How does ALG work?

A

Like a proxy, you create a connection with a server and that server creates a connection with an application on your behalf. It will have a private address you can connection to and a public address that the internet can connect to

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

NAT

A

Network Address Translation

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

How does NAT work?

A

Instead of establishing a connection on your behalf, it rewrites the packets that you send to have a public address. Will rewrite the port numbers if necessary. Will keep a mapping in order to convert back

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

Advantages of NAT

A

Simple to implement
Usable with UDP, TCP, and ICMP packets
Does not require separate implementation for each protocol like ALG

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

Disadvantages of NAT

A

Can’t connect private to private (peer to peer)
Does not allow inbound connections (port forwarding needed)
Single point of failure - if nat gateway breaks then all connections go with it

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

Like a proxy, you create a connection with a server and that server creates a connection with an application on your behalf. It will have a private address you can connection to and a public address that the internet can connect to

A

How does ALG work?

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

On your own network you could have the same ip address as another person on their home network. However these couldn’t be routed on the internet. There is a translation layer on the access point to convert said address to a routable one when needed.

A

RFC 1918 Private Address Space

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