还有就是我想做个映射,从外网222.173.82.66映射到内网192.168.4.200的计算机上,该怎么做啊 ,帮忙看下我的running-config怎么修改?都了半天没整明白!!
代码入下:
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no network-clock-participate slot 1
no network-clock-participate wic 0
no aaa new-model
ip subnet-zero
ip cef
!
!
!
ip dhcp pool yinhe
network 192.168.4.0 255.255.255.0
default-router 192.168.4.1
dns-server 219.147.1.66
dns-server 219.146.1.66
!
ip name-server 219.147.1.66
ip name-server 219.146.1.66
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
ip address 222.173.82.66 255.255.255.252
ip nat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.4.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
ip default-gateway 222.173.82.65
ip nat pool yinhe 222.173.82.66 222.173.82.66 prefix-length 30
ip nat inside source list 101 pool yinhe overload
ip classless
ip route 0.0.0.0 0.0.0.0 222.173.82.65
ip http server
!
access-list 101 permit ip 192.168.4.0 0.0.0.255 any
!
line con 0
line aux 0
line vty 0 4
password yinhejituan200602
login
!
!
!
end