注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 利用手机和电池实现反地心..
 帮助

用思科2610搭建PSTN拨号网络


2008-02-22 13:35:47
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://xiaoxia.blog.51cto.com/23357/62770

单位因为工作原因,需要从其他地点或家里访问单位网络资源,除了VPN方式外,还设置了PSTN电话拨号,从XX处翻出2610配上16口MODEM模块。
配置好了,驾猫拨号。听到破猫嘶哑的声音,曾经熟悉的情景又浮现到眼前(当年用56K猫拨163上网)。嘿,可以用访问单位的网络资源了,还能通过它访问公网。
也许这种上网方式越来越少了。资料也不好找了。但是在一定范围上还是有应用的。拉出来给大家看看吧,权当是共同学习,一起进步。

cisco2610# show run
Building configuration...
Current configuration:
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
给路由器命名
hostname cisco2610
!
设备ENABLE密码
enable secret 5 $1$A2ts$wwqcE6IIm/x
!
定义拨号用户和密码
username tzq password 0 51cto
ip subnet-zero
设置DNS
async-bootp dns-server 218.202.152.130 218.202.152.131
!
!
process-max-time 200
!
路由器接网络地址
interface Ethernet0/0
 ip address 211.238.112.25 255.255.255.224
!
interface Serial0/0
 no ip address
 no ip mroute-cache
 shutdown
 no fair-queue
!
interface Serial0/1
 no ip address
 shutdown
!
配置电话拨号
interface Group-Async1
 ip unnumbered Ethernet0/0
 encapsulation ppp
 ip tcp header-compression passive
 async mode dedicated
 peer default ip address pool cisco-group-1
 no cdp enable
 ppp authentication chap
 group-range 33 48
!
定义地址池、网关、路由
ip local pool cisco-group-1 211.238.112.22 211.238.112.23
ip default-gateway 211.238.112.30
ip classless
ip route 0.0.0.0 0.0.0.0 211.238.112.30
!
dialer-list 1 protocol ip permit
!
line con 0
定义拨号连接
line 33 48
 autoselect during-login
 autoselect ppp
 login local
 modem InOut
 modem autoconfigure discovery
 autocommand ppp neg
 transport input all
 stopbits 1
 flowcontrol hardware
line aux 0
设备TELNET帐号
line vty 0 4
 password 51cto
 login
!
no scheduler allocate
end
 

本文出自 “小侠唐在飞” 博客,请务必保留此出处http://xiaoxia.blog.51cto.com/23357/62770





    文章评论
 
2008-02-24 16:54:31
恩 一起学习

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: