思科路由器連接ADSL怎么配置PPPoE
思科路由器連接ADSL怎么配置PPPoE
Cisco路由器是全球領(lǐng)先的通訊廠商,他的相關(guān)操作也跟別的路由器不太一樣,那你知道思科路由器連接ADSL怎么配置PPPoE嗎?下面是學(xué)習(xí)啦小編整理的一些關(guān)于思科路由器連接ADSL怎么配置PPPoE的相關(guān)資料,供你參考。
什么是PPPoE?
與傳統(tǒng)的接入方式相比,PPPoE具有較高的性能價(jià)格比,它在包括小區(qū)組網(wǎng)建設(shè)等一系列應(yīng)用中被廣泛采用,目前流行的寬帶接入方式ADSL 就使用了PPPoE協(xié)議。
隨著低成本的寬帶技術(shù)變得日益流行,DSL(Digital Subscriber Line)數(shù)字用戶線技術(shù)更是使得許多計(jì)算機(jī)在互聯(lián)網(wǎng)上能夠酣暢淋漓的沖浪了。但是這也增加了DSL服務(wù)提供商們對(duì)于網(wǎng)絡(luò)安全的擔(dān)心。
通過ADSL方式上網(wǎng)的計(jì)算機(jī)大都是通過以太網(wǎng)卡(Ethernet)與互聯(lián)網(wǎng)相連的。同樣使用的還是普通的TCP/IP方式,并沒有附加新的協(xié)議。另外一方面,調(diào)制解調(diào)器的撥號(hào)上網(wǎng),使用的是PPP協(xié)議,即Point to Point Protocol,點(diǎn)到點(diǎn)協(xié)議,該協(xié)議具有用戶認(rèn)證及通知IP地址的功能。PPP over Ethernet(PPPoE)協(xié)議,是在以太網(wǎng)絡(luò)中轉(zhuǎn)播PPP幀信息的技術(shù),尤其適用于ADSL等方式。
modem接入技術(shù)面臨一些相互矛盾的目標(biāo),既要通過同一個(gè)用戶前置接入設(shè)備連接遠(yuǎn)程的多個(gè)用戶主機(jī),又要提供類似撥號(hào)一樣的接入控制,計(jì)費(fèi)等功能,而且要盡可能地減少用戶的配置操作。PPPoE的目標(biāo)就是解決上述問題,1998年后期問世的以太網(wǎng)上點(diǎn)對(duì)點(diǎn)協(xié)議(PPPoverEthernet)技術(shù)是由Redback網(wǎng)絡(luò)公司、客戶端軟件開發(fā)商RouterWare公司以及Worldcom子公司UUNET Technologies公司在IETFRFC的基礎(chǔ)上聯(lián)合開發(fā)的。通過把最經(jīng)濟(jì)的局域網(wǎng)技術(shù)-以太網(wǎng)和點(diǎn)對(duì)點(diǎn)協(xié)議的可擴(kuò)展性及管理控制功能結(jié)合在一起,網(wǎng)絡(luò)服務(wù)提供商和電信運(yùn)營(yíng)商便可利用可靠和熟悉的技術(shù)來加速部署高速互聯(lián)網(wǎng)業(yè)務(wù)。它使服務(wù)提供商在通過數(shù)字用戶線、電纜調(diào)制解調(diào)器或無線連接等方式,提供支持多用戶的寬帶接入服務(wù)時(shí)更加簡(jiǎn)便易行。同時(shí)該技術(shù)亦簡(jiǎn)化了最終用戶在選擇這些服務(wù)時(shí)的配置操作。
思科路由器連接ADSL配置PPPoE的方法:
hostname bjsite
!
ip subnet-zero
no ip domain-lookup
!
vpdn enable
no vpdn logging
!
vpdn-group 1
request-dialin
protocol pppoe
!
interface Ethernet0/0
ip address 192.168.0.1 255.255.255.0
ip nat inside
no ip mroute-cache
!
!
!
!
interface Ethernet0/1
no ip address
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
ip address negotiated
ip nat outside
ip mtu 1492
encapsulation ppp
no ip mroute-cache
dialer pool 1
dialer-group 1
ppp authentication pap
ppp pap sent-username dg48907653@163.gd password xxxxxxxx
!
ip classless
no ip http server
!
dialer-list 1 protocol ip permit
ip nat inside source list 1 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 dialer1
access-list 1 permit 192.168.0.0 0.0.0.255
!
line con 0
exec-timeout 0 0
transport input none
line vty 0 4
login
!
end
Cisco路由器連接ADSL WIC卡之PPPoE配置:
vpdn-group pppoe
request-dialin
!--- we are the PPPoE client requesting to establish
!--- a session with the aggregation unit (6400 NRP).
protocol pppoe
!
!--- internal Ethernet network.
!
interface FastEthernet0
ip address 10.92.1.182 255.255.255.0
ip nat inside
!--- DSL interface.
!
interface ATM0
no ip address
no atm ilmi-keepalive
bundle-enable
dsl operating-mode auto
hold-queue 224 in
!--- All defaults.
!--- PPPoE runs on top of AAL5SNAP, but the
!--- encap aal5snap command is not used.
!
interface ATM0.1 point-to-point
pvc 1/1
pppoe-client dial-pool-number 1
!--- pvc 1/1 is an example value that must be changed
!--- to match the value used by the ISP.
!
!--- The PPPoE client code ties into a dialer interface upon
!--- which a virtual-access interface is cloned.
!
interface Dialer1
ip address negotiated
ip mtu 1492
!--- Ethernet MTU default = 1500 (1492 + PPPoE headers = 1500)
ip nat outside
encapsulation ppp
dialer pool 1
!--- Ties to atm interface.
ppp authentication chap callin
ppp chap hostname
ppp chap password
!
!--- The ISP will instruct you regarding
!--- the type of authentication to use.
!--- To change from PPP CHAP to PPP PAP,
!--- replace the following three lines:
!--- ppp authentication chap callin
!--- ppp chap hostname
!--- ppp chap password
!--- with the following two lines:
!--- ppp authentication pap callin
!--- ppp pap sent-username password
!--- For NAT we are going to overload on the Dialer1
!--- interface and add a default route out
!--- since dialer ip address can change.
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 dialer1
no ip http server
!
access-list 1 permit 10.92.1.0 0.0.0.255
看過文章“思科路由器連接ADSL怎么配置PPPoE”的人還看了:
1.迅捷路由器之系統(tǒng)日志排除PPPOE撥號(hào)故障
4.如何設(shè)置PPPoE服務(wù)器應(yīng)用