NAT Flashcards

1
Q

static NAT

A

(config)# int fa0/1
(config-if)# ip address 10.1.1.1 255.255.255.0
(config-if)# ip nat inside

(config)# int fa0/2
(config-if)# ip address 170.46.2.2 255.255.255.0
(config-if)# ip nat outside

ip nat inside source static 10.1.1.1 170.46.2.2

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

dynamic NAT

A

(config)# int Ethernet0
(config-if)# ip address 10.1.1.10 255.255.255.0
(config-if)# ip nat inside

(config)# int Serial0
(config-if)# ip address 170.168.2.1 255.255.255.0
(config-if)# ip nat outside

ip nat pool TODD 170.168.2.3 170.168.2.254 netmask 255.255.255.0

access-list 1 permit 10.1.1.0 0.0.0.255

ip nat inside source list 1 pool TODD

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

PAT

A

(config)# int Ethernet0
(config-if)# ip address 10.1.1.10 255.255.255.0
(config-if)# ip nat inside

(config)# int Serial0
(config-if)# ip address 170.168.2.1 255.255.255.0
(config-if)# ip nat outside

ip nat pool globalnet 170.168.2.1 170.168.2.21 netmask 255.255.255.0

access-list 1 permit 10.1.1.0 0.0.0.255

ip nat inside source list 1 pool globalnet overload

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

misc

A
# do show ip nat translations
# do show ip nat stats
# clear ip nat trans*

RFC 1918

  1. 0.0.0/8
  2. 16.0.0/11
  3. 168.0.0/16
How well did you know this?
1
Not at all
2
3
4
5
Perfectly