自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

三個(gè)cisco 1841 pppoe設(shè)置案例

網(wǎng)絡(luò) 網(wǎng)絡(luò)管理
這里我們講解的是cisco 1841 pppoe設(shè)置的三個(gè)案例。通過(guò)對(duì)這三個(gè)cisco 1841 pppoe設(shè)置案例的了解,相信大家對(duì)此也能夠有所了解。

PPPoE的設(shè)置中,我們通常會(huì)結(jié)合一些路由等設(shè)備進(jìn)行調(diào)試。那么這里我們就講解三個(gè)關(guān)于cisco 1841 pppoe的設(shè)置案例,幫助大家進(jìn)行一下分析,希望能夠給大家提供一下有價(jià)值的參考。那么讓我們看看具體的內(nèi)容吧。Cisco1841路由器連接ADSL modem的PPPoE配置。

cisco 1841 pppoe設(shè)置案例一

  1. vpdn enable   
  2. no vpdn logging   
  3. !   
  4. !   
  5. interface Ethernet0/0   
  6. ip address 192.168.0.1 255.255.255.0   
  7. ip nat inside   
  8. no ip mroute-cache   
  9. !   
  10. !   
  11. !   
  12. !   
  13. interface Ethernet0/1   
  14. no ip address   
  15. pppoe enable   
  16. pppoe-client dial-pool-number 1   
  17. !   
  18. interface Dialer1   
  19. ip address negotiated   
  20. ip nat outside   
  21. ip mtu 1492   
  22. encapsulation ppp   
  23. no ip mroute-cache   
  24. dialer pool 1   
  25. dialer-group 1   
  26. ppp authentication pap   
  27. ppp pap sent-username dg48907653@163.gd password xxxxxxxx  
  28. !   
  29. ip classless   
  30. no ip http server   
  31. !   
  32. dialer-list 1 protocol ip permit   
  33. ip nat inside source list 1 interface Dialer1 overload  
  34. ip route 0.0.0.0 0.0.0.0 dialer1   
  35. access-list 1 permit 192.168.0.0 0.0.0.255   
  36. !   
  37. line con 0   
  38. exec-timeout 0 0   
  39. transport input none   
  40. line vty 0 4   
  41. login   
  42. !   
  43. end 

 #p#

cisco 1841 pppoe設(shè)置案例二

經(jīng)典思科1841 ADSL的成功設(shè)置+DHCP

路由器下面的客戶端全是XP。都是設(shè)為自動(dòng)獲取IP 地址。

現(xiàn)像是在客戶端上IPCONFIG   地址是0。0。0。0

沒有獲得指定的IP地址,

系統(tǒng)也沒有獲得169網(wǎng)段的地址。

  1. cisco1841#sh run  
  2. Building configuration...  
  3.  
  4. Current configuration : 2970 bytes  
  5. !  
  6. version 12.4  
  7. service timestamps debug datetime msec  
  8. service timestamps log datetime msec  
  9. no service password-encryption  
  10. service dhcp  
  11. !  
  12. hostname cisco1841  
  13. !  
  14. boot-start-marker  
  15. boot-end-marker  
  16. !  
  17. logging buffered 51200 warnings  
  18. !  
  19. no aaa new-model  
  20. !  
  21. resource policy  
  22. !  
  23. mmi polling-interval 60  
  24. no mmi auto-configure  
  25. no mmi pvc  
  26. mmi snmp-timeout 180  
  27. ip subnet-zero  
  28. ip cef  
  29. !  
  30. !  
  31. ip dhcp database 123  
  32. no ip dhcp use vrf connected  
  33. ip dhcp excluded-address 192.168.1.1  
  34. ip dhcp ping packets 0  
  35. !  
  36. ip dhcp pool 123  
  37.    network 192.168.1.0 255.255.255.0  
  38.    default-router 192.168.1.1   
  39.    dns-server 202.106.0.20 202.106.46.151   
  40. !  
  41. !  
  42. no ip domain lookup  
  43. ip domain name yourdomain.com  
  44. ip dhcp-server 192.168.1.1  
  45. vpdn enable  
  46. vpdn ip udp ignore checksum  
  47. !  
  48. vpdn-group pppoe  
  49. request-dialin  
  50. protocol pppoe  
  51. !  
  52. !  
  53. username cisco privilege 15 secret 5 $1$ZKUk$YoVcdG31aDaIAn/mdK9qL0  
  54. !  
  55. !  
  56. !  
  57. interface FastEthernet0/0  
  58. description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0$  
  59. ip address 192.168.1.1 255.255.255.0  
  60. ip access-group 100 in  
  61. ip nat inside  
  62. duplex auto  
  63. speed auto  
  64. !  
  65. interface FastEthernet0/1  
  66. no ip address  
  67. duplex auto  
  68. speed auto  
  69. pppoe enable  
  70. pppoe-client dial-pool-number 1  
  71. !  
  72. interface Dialer1  
  73. ip address negotiated  
  74. ip access-group 100 in  
  75. ip mtu 1492  
  76. ip nat outside  
  77. encapsulation ppp  
  78. dialer pool 1  
  79. dialer vpdn  
  80. dialer-group 1  
  81. no cdp enable  
  82. ppp pap sent-username 1234567 password 0 1234567   
  83. !  
  84. ip classless  
  85. ip route 0.0.0.0 0.0.0.0 Dialer1  
  86. !  
  87. no ip http server  
  88. ip http authentication local  
  89. ip http timeout-policy idle 5 life 86400 requests 10000  
  90. ip nat inside source list 1 interface Dialer1 overload  
  91. !  
  92. access-list 1 permit any  
  93. access-list 100 deny     
  94. access-list 100 deny     
  95. access-list 100 permit ip any any  
  96. dialer-list 1 protocol ip permit  
  97. !  
  98. control-plane  
  99. !  
  100. banner login ^C  
  101. -----------------------------------------------------------------------  
  102. Cisco Router and Security Device Manager (SDM) is installed on this  
  103.  
  104. device.   
  105. This feature requires the one-time use of the username "cisco"   
  106. with the password "cisco".  
  107.  
  108. Please change these publicly known initial credentials using SDM or the  
  109.  
  110. IOS CLI.   
  111. Here are the Cisco IOS commands.  
  112.  
  113. username <myuser> privilege 15 secret 0 <mypassword> 
  114. no username cisco  
  115.  
  116. Replace <myuser> and <mypassword> with the username and password you  
  117.  
  118. want to use.  
  119.  
  120. For more information about SDM please follow the instructions in the  
  121.  
  122. QUICK START   
  123. GUIDE for your router or go to http://www.cisco.com/go/sdm   
  124. -----------------------------------------------------------------------  
  125. ^C  
  126. !  
  127. line con 0  
  128. timeout login response 200  
  129. login local  
  130. line aux 0  
  131. line vty 0 4  
  132. timeout login response 200  
  133. privilege level 15  
  134. password gbicc_cisco  
  135. login  
  136. transport input telnet  
  137. line vty 5 15  
  138. privilege level 15  
  139. password gbic_cisco  
  140. login  
  141. transport input telnet  
  142. !  
  143. end  
  144.  
  145. cisco1841# 

#p#cisco 1841 pppoe設(shè)置案例三

假設(shè)E0接內(nèi)網(wǎng),E1接ADSL上外網(wǎng)

第一步:配置vpdn

  1. vpdn enable(啟用路由器的虛擬專用撥號(hào)網(wǎng)絡(luò)---vpnd)   
  2. vpdn-group office(建立一個(gè)vpdn組,)   
  3. request-dialin(初始化一個(gè)vpnd tunnel,建立一個(gè)請(qǐng)求撥入的vpdn子組,)   
  4. protocol pppoe(vpdn子組使用pppoe建立會(huì)話隧道)  

第二步: 配置路由器連接adsl modem的接口

  1. interface Ethernet1   
  2. no ip address   
  3. pppoe enable允許以太接口運(yùn)行pppoe   
  4. pppoe-client dial-pool-number 1將以太接口的pppoe撥號(hào)客戶端加入撥號(hào)池1  

第三步:配置邏輯撥號(hào)接口:

  1. interface Dialer1   
  2. ip address negotiated從adsl服務(wù)商動(dòng)態(tài)協(xié)商得到ip地址   
  3. ip nat outside為該接口啟用NAT   
  4. encapsulation ppp為該接口封裝ppp協(xié)議   
  5. dialer pool 1該接口使用1號(hào)撥號(hào)池進(jìn)行撥號(hào)   
  6. dialer-group 1該命令對(duì)于pppoe是意義不大的   
  7. ppp authentication pap callin啟用ppp pap驗(yàn)證   
  8. ppp pap sent-username xxxxxxx password 0 yyyyyyy使用已經(jīng)申請(qǐng)的用戶名和口令  

第四步:配置內(nèi)部網(wǎng)絡(luò)接口

  1. interface Ethernet0(內(nèi)部網(wǎng)絡(luò)接口)   
  2. ip address 10.1.1.1 255.255.255.0   
  3. ip nat inside為該接口啟用NAT  

第五步:配置路由器為內(nèi)部網(wǎng)絡(luò)主機(jī)提供dhcp服務(wù)

  1. ip dhcp excluded-address 10.1.1.1   
  2. ip dhcp pool ABC   
  3. import all(導(dǎo)入dns和wins server)   
  4. network 10.1.1.0 255.255.255.0   
  5. default-router 10.1.1.1  

第六步:配置NAT:

  1. access-list 1 permit 10.1.1.0 0.0.0.255   
  2. ip nat inside source list 1 interface Dialer1 overload  

第七步:配置缺省路由

  1. ip route 0.0.0.0 0.0.0.0 Dialer1 

 

責(zé)任編輯:佟健 來(lái)源: hi.baidu.com
相關(guān)推薦

2010-09-16 13:16:20

CISCO PPPoE

2010-09-29 16:04:54

Cisco IOS D

2012-05-09 09:49:57

移動(dòng)支付

2011-07-10 14:23:58

投影儀用戶體驗(yàn)

2010-08-02 23:40:42

Linux NFS

2010-08-04 14:04:03

solaris nfs

2025-03-31 11:37:48

2011-03-30 13:03:14

數(shù)據(jù)庫(kù)營(yíng)銷

2022-03-07 14:24:05

供應(yīng)鏈分析大數(shù)據(jù)數(shù)據(jù)分析

2020-06-11 09:00:27

SDN網(wǎng)絡(luò)架構(gòu)網(wǎng)絡(luò)

2010-04-22 17:10:47

網(wǎng)絡(luò)負(fù)載均衡

2010-09-16 13:03:02

PPPoE協(xié)議配置

2016-11-28 08:56:15

透析大數(shù)據(jù)核心

2009-10-27 09:59:17

VB.NET動(dòng)態(tài)代碼

2023-04-26 11:14:11

IT領(lǐng)導(dǎo)者遠(yuǎn)程工作

2010-09-07 14:42:28

2009-10-23 16:53:16

VB.NET語(yǔ)法規(guī)則

2010-09-06 16:07:05

ros pppoe設(shè)置

2010-09-06 13:50:01

PPPOEDHCP

2010-09-16 15:11:58

FreeBSD PPP
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)