기본 설정 : Outside/Inside seeting
configure terminal
interface [Outsid Interface]
ip nat outside
exit
interface [Inside Interface]
ip nat inside
end
1. Static NAT Setting
configure terminal
ip nat inside source [Inside IP] [Outside IP]
end
show ip nat translation #설정 확인
2. Dynamic NAT Settiong
configure terminal
interface [해당 int]
#secondnary를 이용하여 원하는 수만큼 하나의 인터페이스에 여러 IP할당
ip address [외부 IP] [SM] secondnary
access-list 1 permit [Inside IP NI] [Wildcard Mask]
ip nat pool [Pool Name] [Start Outside interface ip] [Start Inside interface ip] netmask [SM]
ip nat inside source list 1 pool [Pool Name]
end
3. Part NAT(PAT)
configure terminal
access-list 1 permit [Inside IP NI] [Wildcard Mask]
ip nat pool [Pool Name] [Outside interface ip] net mask [SM]
ip nat inside source list 1 pool [Pool Name] overload
end
'네트워크 및 서버 > 네트워크' 카테고리의 다른 글
VLAN 적용 실습 (0) | 2024.07.29 |
---|---|
VLAN (0) | 2024.07.25 |
NAT(Network Address Translation) (0) | 2024.07.23 |
NAT(Network Address Translation) (0) | 2024.07.23 |
STATIC NAT/PAT RING TOPOLIGY 실습 및 ICMP패킷 IP 분석 (0) | 2024.07.23 |