当前位置:首页 > 技术与方案 > 网络管理相关

Cisco NAT 配置

(2012-09-06 07:50:59)

Inside network:
  3.3.3.4
  (static to 2.2.2.24 outside)
  3.3.3.5
  (static to 2.2.2.25 outside)
  |
  |
  |
  3.3.3.1 (ethernet 0)
  Router - the_lorax
  2.2.2.1 (serial 0)
  |
  |
  |
  Outside network:
  2.2.2.2
  
  Router Configuration
  version 11.3
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname the_lorax
  !
  enable secret 5 $1$qTEA$EiD5izUJ9cNhgKMjMLAbI/
  enable password ww
  !
  username john password 0 doe
  ! The timeout here is idle-timeout
  username john autocommand access-enable host timeout 2
  ip nat pool net-208 2.2.2.10 2.2.2.20 netmask 255.255.255.0
  ip nat inside source list 1 pool net-208
  ip nat inside source static 3.3.3.5 2.2.2.25
  ip nat inside source static 3.3.3.4 2.2.2.24
  !
  !
  interface Ethernet0
  ip address 3.3.3.1 255.255.255.0
  ip nat inside
  no mop enabled
  !
  interface Ethernet1
  no ip address
  shutdown
  !
  interface Serial0
  ip address 2.2.2.1 255.255.255.0
  ip access-group 102 in
  ip nat outside
  no ip mroute-cache
  no fair-queue
  clockrate 125000
  !
  interface Serial1
  no ip address
  shutdown
 

 

更多
关闭窗口 打印 
网站首页    -    联系我们    -   收藏本站    -    网站地图                                                               客户服务热线:0571-85023000
本网站所有网页信息已申请知识产权和著作权保护,版权归四海光纤公司所有,未经授权禁止任何人复制或镜像,违者必究。
公司主营:杭州光纤光缆视频会议系统,是专业的通信网络工程、视频会议系统建设专家

中华人民共和国备案号:浙ICP备10018243号