cisco2621路由器NAT配置实例
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