首 页 | 网络集成 | 软件开发 | 解决方案 | 网络知识 | 技术文档 | 业内新闻 | 网络论坛
路由器产品
交换机产品
防火墙产品
路由器模块
交换机模块
防火墙模块
Flash及内存
网管软件
IOS软件
无线网络产品
其他产品
用户名
密 码



太平伟业:思科Cisco、华为网络产品专业销售商网络知识NAT 技术专题 → 正文
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

相关文章列表
  • cisco 2621xm 做NAT典型配置 [2005-11-8]
  • cisco2621路由器NAT配置实例 [2005-3-29]
  • cisco NAT 的配置例子 [2005-3-29]
  • 路由器NAT功能的配置 [2005-3-29]
  • IPsec与NAT和平共处的解决之道 [2005-3-29]
  • NAT的实现过程 [2005-3-29]
  • 如何正确应用网络地址转换(NAT)技术 [2005-3-29]
  • NAT的原理及其注意事项 [2005-3-29]


  • 首页 | 公司简介 | 客户案例 | 合作伙伴 | 有关认证 | 招贤纳士 | 服务支持 | 友情链接
    地 址:北京海淀区上地信息路甲28号(上地环岛)科实大厦C座13A-3 室
    电 话:010-51659292传 真:010-82888356
    网 址:www.linkware.com.cn 邮 件: 邮 编:100085
    Links:Google Baidu Yahoo