用思科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


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