2013年2月10日日曜日

시스코 두 번 NAT 샘플 구성

이 설정은 두 번 NAT 보여줍니다, 그것은 원본 및 대상 NAT를 의미합니다.

다음과 같은 경우는 클라이언트 (192.168.1.1)가 서버 (192.168.10.12)에 액세스하는 것을 의미합니다.


클라이언트 소스 주소 (192.168.1.1)가 172.16.1.1로 번역되어 있습니다.


서버 destinaion 주소 (192.168.10.12)은 192.168.15.12로 번역되어 있습니다.


-------------------------------------------------------------

!
interface FastEthernet0
ip address 192.168.1.254 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.15.1 255.255.255.0
ip nat outside
ip virtual-reassembly
!
ip route 192.168.10.12 255.255.255.255 192.168.15.12
!
!
no ip http server
no ip http secure-server
ip nat inside source static 192.168.1.1 172.16.1.1
ip nat outside source static 192.168.15.12 192.168.10.12
!
!
!

-------------------------------------------------------------


0 件のコメント:

コメントを投稿