扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
在本页阅读全文(共2页)
cisco3620配置:
Building configuration...
Current configuration : 1551 bytes
!
version 12.2
no parser cache
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname XX_3620
!
boot system flash c3620-d-mz.122-7c.bin
enable secret 5 $1$kNOY$LMBGz.M1MBGzMBGz
!
ip subnet-zero
ip cef
!
!
ip name-server 211.11.111.3
!
!
!
!
interface FastEthernet0/0
no ip address
speed auto
full-duplex
!
interface FastEthernet0/0.1 //这一段地址可以做WEB等服务用。
encapsulation isl 10
ip address 211.11.112.1 255.255.255.248
no ip redirects
!
interface FastEthernet0/0.15
encapsulation isl 15
ip address 172.16.10.1 255.255.255.240
no ip redirects
ip nat inside
!
interface FastEthernet0/0.16
encapsulation isl 16
ip address 172.16.11.1 255.255.255.240
no ip redirects
ip nat inside //内部接口
!
interface Serial0/0
ip address 211.11.111.118 255.255.255.252
no ip redirects
ip nat outside //NAT外部接口
no cdp enable
!
interface Ethernet1/0
no ip address
no cdp enable
!
ip nat pool netpools 211.11.112.10 211.11.112.14 netmask 255.255.255.248
//这里将二个地址段共用的一个地址池,这是不好的,实再*作中两个内网地址段分别分配了不同的外网址池
ip nat inside source list 1 pool netpools overload
ip classless
ip route 0.0.0.0 0.0.0.0 211.11.111.117
ip http server
ip pim bidir-enable
!
access-list 1 permit 172.16.10.0 0.0.0.15
access-list 1 permit 172.16.11.0 0.0.0.15
access-list 99 permit 211.11.111.0 0.0.0.255
access-list 99 permit 211.11.112.0 0.0.0.255
!
line con 0
line aux 0
line vty 0 4
access-class 99 in
login
!
end
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。