用思科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
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值