티스토리 뷰

IT/CCNA: Udemy

Sec16 NAT

Last72 2019. 2. 26. 23:29

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

R1#show ip nat transmission


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

ip nat inside source list 2 pool CCNA


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

ip nat inside source list 2 interface serial 2/0 overload 

show ip nat stat


'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
댓글
Announcement
Recent Posts
Recent Comments
Total
Today
Yesterday
Link
TAG
more
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Search by month