//--------------------------------------------------------//
R1#
R1#
!
interface FastEthernet0/0
ip address 192.168.1.254 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.1.1.1 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
ip nat inside source static 192.168.1.10 10.1.1.10
ip nat inside source static 192.168.1.11 10.1.1.11
!
//--------------------------------------------------------//
R2#
R2#
!
interface FastEthernet0/1
ip address 10.1.1.2 255.255.255.0
duplex auto
speed auto
!
//--------------------------------------------------------//
R1#sh ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 10.1.1.10:56254 192.168.1.10:56254 10.1.1.2:56254 10.1.1.2:56254
icmp 10.1.1.10:56766 192.168.1.10:56766 10.1.1.2:56766 10.1.1.2:56766
icmp 10.1.1.10:57022 192.168.1.10:57022 10.1.1.2:57022 10.1.1.2:57022
icmp 10.1.1.10:57278 192.168.1.10:57278 10.1.1.2:57278 10.1.1.2:57278
icmp 10.1.1.10:57534 192.168.1.10:57534 10.1.1.2:57534 10.1.1.2:57534
icmp 10.1.1.10:58558 192.168.1.10:58558 10.1.1.2:58558 10.1.1.2:58558
icmp 10.1.1.10:58814 192.168.1.10:58814 10.1.1.2:58814 10.1.1.2:58814
icmp 10.1.1.10:59070 192.168.1.10:59070 10.1.1.2:59070 10.1.1.2:59070
icmp 10.1.1.10:59326 192.168.1.10:59326 10.1.1.2:59326 10.1.1.2:59326
icmp 10.1.1.10:59582 192.168.1.10:59582 10.1.1.2:59582 10.1.1.2:59582
--- 10.1.1.10 192.168.1.10 --- ---
icmp 10.1.1.11:63422 192.168.1.11:63422 10.1.1.2:63422 10.1.1.2:63422
icmp 10.1.1.11:63934 192.168.1.11:63934 10.1.1.2:63934 10.1.1.2:63934
icmp 10.1.1.11:64190 192.168.1.11:64190 10.1.1.2:64190 10.1.1.2:64190
icmp 10.1.1.11:64446 192.168.1.11:64446 10.1.1.2:64446 10.1.1.2:64446
icmp 10.1.1.11:64702 192.168.1.11:64702 10.1.1.2:64702 10.1.1.2:64702
--- 10.1.1.11 192.168.1.11 --- ---
--- 10.1.1.12 192.168.1.12 --- ---
R1#