티스토리 뷰
Public IP address range:
A: 1.0.0.0/8
B: 128.0.0.0/16
C: 192.0.0.0/24
Private IP address range:
A: 10.0.0.0/8
B: 172.16.0.0/12
C: 192.168.0.0/16
Inside local address and outside local address. Local address is private address.
Inside global address and outside global address. Global address is public address.
Static NAT
R1(confin-int)#ip nat inside
R1(confin-int)#ip nat inside
R1(confin-int)#ip nat outside
R1(config)#ip nat inside source static 10.1.1.2 200.1.1.1
R1(config)#ip nat inside source static 10.1.1.22 200.1.1.2
Dynamic NAT - Work similar to DHCP, Automatically assign ip address within pool
ip nat inside
ip nat inside
ip nat ourside
ip nat pool CCNA 200.1.1.1 200.1.1.5 netmask 255.255.255.0
access-list 2 permit host 10.1.1.2
access-list 2 permit host 10.1.1.22
PAT (port address translation)
ip nat inside
ip nat inside
ip nat ourside
access-list 2 permit host 10.1.1.2
access-list 2 permit host 10.1.1.22
'IT > CCNA: Udemy' 카테고리의 다른 글
Sec 22 RSTP (0) | 2019.06.28 |
---|---|
Sec17 IPv6 (0) | 2019.02.27 |
Sec 15 NTP (0) | 2019.02.12 |
Sec 14: ACL (0) | 2019.02.09 |
Subnrting (0) | 2018.07.20 |