用思科2610搭建PSTN拨号网络

单位因为工作原因,需要从其他地点或家里访问单位网络资源,除了***方式外,还设置了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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章