實驗十七————點對點協議認證
實驗內容
1.利用OSPF動態路由協議完成各個子網網路之間的互聯通訊
2.利用PPP協議的PAP、CHAP認證完成
IP地址要求
- PC0和RouterA之間,使用172.16.1.0/24網路;
- RouterA和RouteB之間,使用192.168.1.0/24網路;
- RouterB和RouteC之間,使用192.168.2.0/24網路;
- PC1和RouterC之間,使用172.16.2.0/24網路;
- RouteB為DCE裝置,時脈頻率設為64000;
PPP設定要求
- RouterA和RouteB之間,使用PAP雙向認證(使用者名稱和密碼自定義)
- RouterB和RouteC之間,使用CHAP雙向認證(密碼自定義)
實驗目的
(1)掌握廣域網協議PPP的工作原理
(2)掌握PPP協議的PAP、CHAP認證工作原理
(3)掌握PPP的基本配置
(4)掌握標準ACL的配置;
(5)理解標準ACL在接入控制中的應用
實驗步驟
網路拓撲結構圖
PC的IP資訊:
PC0的IP地址:172.16.1.1 閘道器地址:172.16.1.254
PC1的IP地址:172.16.2.1 閘道器地址:172.16.2.254
路由器:
路由器的具體配置
RouterA
RouterB:
RouterC
測試
PC0ping其他所有的路由器以及PC1
PC>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::2E0:B0FF:FE9A:7920
IP Address......................: 172.16.1.1
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 172.16.1.254
PC>ping 172.16.1.254
Pinging 172.16.1.254 with 32 bytes of data:
Reply from 172.16.1.254: bytes=32 time=1ms TTL=255
Reply from 172.16.1.254: bytes=32 time=0ms TTL=255
Reply from 172.16.1.254: bytes=32 time=0ms TTL=255
Reply from 172.16.1.254: bytes=32 time=1ms TTL=255
Ping statistics for 172.16.1.254:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
PC>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=0ms TTL=255
Reply from 192.168.1.1: bytes=32 time=0ms TTL=255
Reply from 192.168.1.1: bytes=32 time=5ms TTL=255
Reply from 192.168.1.1: bytes=32 time=0ms TTL=255
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 5ms, Average = 1ms
PC>ping 172.16.1.2
Pinging 172.16.1.2 with 32 bytes of data:
Request timed out.
Request timed out.
Ping statistics for 172.16.1.2:
Packets: Sent = 2, Received = 0, Lost = 2 (100% loss),
Control-C
^C
PC>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=7ms TTL=254
Reply from 192.168.1.2: bytes=32 time=8ms TTL=254
Reply from 192.168.1.2: bytes=32 time=1ms TTL=254
Reply from 192.168.1.2: bytes=32 time=5ms TTL=254
Ping statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 8ms, Average = 5ms
PC>ping 192.168.2.1
Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=6ms TTL=254
Reply from 192.168.2.1: bytes=32 time=5ms TTL=254
Reply from 192.168.2.1: bytes=32 time=1ms TTL=254
Reply from 192.168.2.1: bytes=32 time=6ms TTL=254
Ping statistics for 192.168.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 6ms, Average = 4ms
PC>ping 192.168.2.2
Pinging 192.168.2.2 with 32 bytes of data:
Reply from 192.168.2.2: bytes=32 time=8ms TTL=253
Reply from 192.168.2.2: bytes=32 time=13ms TTL=253
Reply from 192.168.2.2: bytes=32 time=6ms TTL=253
Reply from 192.168.2.2: bytes=32 time=7ms TTL=253
Ping statistics for 192.168.2.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 6ms, Maximum = 13ms, Average = 8ms
PC>ping 172.16.2.254
Pinging 172.16.2.254 with 32 bytes of data:
Reply from 172.16.2.254: bytes=32 time=10ms TTL=253
Reply from 172.16.2.254: bytes=32 time=6ms TTL=253
Reply from 172.16.2.254: bytes=32 time=2ms TTL=253
Reply from 172.16.2.254: bytes=32 time=6ms TTL=253
Ping statistics for 172.16.2.254:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 10ms, Average = 6ms
PC>ping 172.16.2.1
Pinging 172.16.2.1 with 32 bytes of data:
Request timed out.
Reply from 172.16.2.1: bytes=32 time=6ms TTL=125
Reply from 172.16.2.1: bytes=32 time=2ms TTL=125
Reply from 172.16.2.1: bytes=32 time=186ms TTL=125
Ping statistics for 172.16.2.1:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 186ms, Average = 64ms
PC>
結論:實現了各個子網之間的互聯通訊
下面使用PPP協議的PAP、CHAP完成認證
ppp設定要求:
1.RouterA和RouteB之間,使用PAP雙向認證(使用者名稱和密碼自定義)
2.RouterB和RouteC之間,使用CHAP雙向認證(密碼自定義)
RouterA:
RouterB:
RouterC:
測試:
結論:RouterA和RouterB之間完成了PAP認證,RouterB和RouterC之間完成了CHAP認證,實現了各個路由器之間的互通。
實驗到此結束!
相關文章
- KgCaptcha文字點選驗證碼【建議收藏】GCAPT
- kerberos認證協議愛情故事ROS協議
- Token的驗證原理是什麼?網路安全網路協議知識點協議
- 拜占庭協議和測謊問題的量子協議的實驗證明協議
- 微信信用加強認證協議協議
- 理解OIDC協議和認證機制協議
- 認證授權:學習OAuth協議OAuth協議
- TCP協議的特點TCP協議
- HTTP協議的特點HTTP協議
- HTTP協議和HTTPS協議的異同點?HTTP協議
- CB認證重點彙總
- 點選驗證圖片
- 簡單實現UILabel之協議類點選事件UI協議事件
- 基於Oauth2.0實現SSO單點認證OAuth
- 實驗七————EIGRP協議配置協議
- 實驗六——————OSPF協議配置協議
- 以太坊節點發現協議協議
- 趣談 DHCP 協議,有點意思。協議
- HTTP協議知識點總結HTTP協議
- 百分點認知智慧實驗室:智慧校對的技術原理和實踐
- 對CBM的一點認識
- 實驗四————RIP協議的配置協議
- HTTPS協議的優缺點有哪些?HTTP協議
- 大型站點TCP/IP協議優化TCP協議優化
- 【GoLang 那點事】gRPC 認證的多種方式實踐(五)GolangRPC
- 搭建Solana驗證者節點(全節點)的過程
- 常見驗證碼的弱點與驗證碼識別
- Linux之SSH協議知識點總結Linux協議
- HTTP 協議知識點總結(二)HTTPSHTTP協議
- 實驗十二————VLAN路由及STP協議路由協議
- 實驗十五————動態路由協議RIP路由協議
- 實驗五——————RIPv2協議配置協議
- 網路安全網路協議知識點中,http協議是什麼?協議HTTP
- 點選驗證碼不能實現重新整理問題
- 快速認識HTTP協議HTTP協議
- 計劃做點事情-可信認證考試
- 點對點
- 實戰4-x軸y軸,過點觸驗證碼