首 页 | 网络集成 | 软件开发 | 解决方案 | 网络知识 | 技术文档 | 业内新闻 | 网络论坛 | 用户反馈 | 最新报价 

   

  北方天晨科技:首页网络知识NAT技术专题 → 正文

路由器产品
交换机产品
防火墙产品
路由器模块
交换机模块
防火墙模块
网管软件
IOS软件
无线网络产品
综合布线产品
光纤产品
网络机柜
服务器
其他产品

Cisco NAT 配置

来源:http://www.ccw.com.cn 发表时间:2005-3-29

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
  !
  access-list 1 permit 3.3.3.0 0.0.0.255
  access-list 102 permit tcp any host 2.2.2.1 eq telnet log-input
  ! The timeout here is absolute timeout
  access-list 102 dynamic testlist timeout 5 permit ip any host 2.2.2.24 log-input
  !
  !
  line con 0
  line aux 0
  line vty 0 4
  password ww
  login local
  !
  end


上一节:cisco2621路由器NAT配置实例          下一节:cisco NAT 的配置例子

 
首页  |  公司简介  |  公司架构  | 客户案例  |  合作伙伴  |  有关认证  |  招贤纳士  |  服务支持  |  销售网络 | 网站地图
?2003北方天晨 版权所有.ALL RIGHTS RESERVED.
电 话:010-51665999 82666682
传真:010-82666499