欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

cisco2621路由器NAT配置实例

程序员文章站 2022-04-23 16:20:07
...

Router#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router ! ! username zzf7681 ! ! ! ! ip subnet-zero ! ! !


  Router#sh run
  Building configuration...
  
  Current configuration:
  !
  version 12.0
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname Router
  !
  !
  username zzf7681
  !
  !
  !
  !
  ip subnet-zero
  !
  !
  !
  !
  interface FastEthernet0/0
  ip address 218.28.3.134 255.255.255.252
  no ip directed-broadcast
  ip nat outside
  duplex auto
  speed auto
  !
  interface FastEthernet0/1
  ip address 200.4.3.10 255.255.255.0
  no ip directed-broadcast
  ip nat inside
  duplex auto
  speed auto
  !
  ip nat pool bbb 218.28.3.134 218.28.3.134 netmask 255.2
  ip nat inside source list 1 pool bbb overload
  ip classless
  ip route 0.0.0.0 0.0.0.0 218.28.3.133
  no ip http server
  !
  access-list 1 permit 200.4.3.0 0.0.0.255
  !
  line con 0
  password zzf7681
  transport input none
  line aux 0
  line vty 0 4
  password zzf7681
  login
  !
  end