当前位置: 首页 > news >正文

确实网站的建设目标长沙百度百科

确实网站的建设目标,长沙百度百科,备案的博客网站可以做别的吗,网站访问流量怎么赚钱概述:PPP模式,即公私合作模式(Public-Private Partnership),是一种公共部门与私营部门合作的模式。 一、实验拓扑 实验一:PPP基本功能 实验步骤: (1)配置AR1的接口IP地…

概述:PPP模式,即公私合作模式(Public-Private Partnership),是一种公共部门与私营部门合作的模式

一、实验拓扑

实验一:PPP基本功能

实验步骤:

(1)配置AR1的接口IP地址并配置PPP协议,命令如下:

<Huawei>system-view
[Huawei]undo info-center enable
[Huawei]sysname AR1
[AR1]interface s4/0/0
[AR1-Serial4/0/0]link-protocol ppp     //将链路层协议封装为PPP
[AR1-Serial4/0/0]ip address 10.0.12.1 24
[AR1-Serial4/0/0]quit
(2)配置全局地址池,命令如下:

[AR1]ip pool 1   //创建地址池编号为1
[AR1-ip-pool-1]network 10.0.12.0 mask 24   //设置地址和子网掩码
[AR1-ip-pool-1]gateway-list 10.0.12.1   //网关为10.0.12.1
[AR1-ip-pool-1]quit

(3)配置为客户端指定的地址池,命令如下:
[AR1-Serial4/0/0]remote address pool 1  

(4)在AR2配置接口Serial4/0/0的链路层协议和IP地址的可协商属性,命令如下:

<Huawei>system-view
[Huawei]sysname AR2
[AR2]interface s4/0/0
[AR2-Serial4/0/0]link-protocol ppp
[AR2-Serial4/0/0]ip address ppp-negotiate   //通过PPP协商的方式获取IP地址

(5)查看接口是否获取IP地址,命令如下:

[AR2-Serial4/0/0]display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 4
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 4

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              unassigned           down       down      
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
NULL0                             unassigned           up         up(s)     
Serial4/0/0                       10.0.12.254/32       up         up        
Serial4/0/1                       unassigned           down       down

实验二:PAP认证

实验二拓扑:

实验步骤:

(1)配置AR1的接口IP地址,命令如下:

<Huawei>system-view
[Huawei]undo info-center enable
[Huawei]sysname AR1
[AR1]interface s4/0/0
[AR1-Serial4/0/0]link-protocol ppp
[AR1-Serial4/0/0]ip address 10.0.12.1 24
[AR1-Serial4/0/0]quit
(2)配置认证用户密码,命令如下:

[AR1]aaa
[AR1-aaa]local-user huawei password cipher huawei  //配置认证时使用的用户密码
[AR1-aaa]local-user huawei service-type ppp  //将用户名为huawei的服务类型改为PPP

(3)在接口配置认证模式为PAP认证,命令如下:
[AR1]interface s4/0/0
[AR1-Serial4/0/0]ppp authentication-mode pap

(4)配置AR2的接口IP地址,命令如下:

<Huawei>system-view
[Huawei]undo info-center enable
[Huawei]sysname AR2
[AR2]interface s4/0/0
[AR2-Serial4/0/0]link-protocol ppp
[AR2-Serial4/0/0]ip address 10.0.12.2 24
[AR2-Serial4/0/0]quit
(5)在AR2的接口配置认证用户名及密码,命令如下:

[AR2]interface s4/0/0
[AR2-Serial4/0/0]ppp pap local-user huawei password cipher huawei

(6)在AR2设备上查看接口状态,命令如下:

<AR2>display interface Serial4/0/0
Serial4/0/0 current state : UP
Line protocol current state : DOWN
Description:HUAWEI, AR Series, Serial4/0/0 Interface
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet protocol processing : disabled
Link layer protocol is PPP
LCP stopped
Last physical up time   : 2024-09-18 19:38:19 UTC-08:00
Last physical down time : 2024-09-18 19:38:09 UTC-08:00
Current system time: 2024-09-18 19:41:44-08:00
Physical layer is synchronous, Virtualbaudrate is 64000 bps
Interface is DTE, Cable type is V11, Clock mode is TC
Last 300 seconds input rate 3 bytes/sec 24 bits/sec 0 packets/sec
Last 300 seconds output rate 1 bytes/sec 8 bits/sec 0 packets/sec

Input: 28 packets, 1022 bytes
  Broadcast:              0,  Multicast:              0
  Errors:                 0,  Runts:                  0
  Giants:                 0,  CRC:                    0

  Alignments:             0,  Overruns:               0
  Dribbles:               0,  Aborts:                 0
  No Buffers:             0,  Frame Error:            0

Output: 28 packets, 392 bytes
  Total Error:            0,  Overruns:               0
  Collisions:             0,  Deferred:               0
    Input bandwidth utilization  :    0%
    Output bandwidth utilization :    0%

通过以上输出结果可以发现,LCP和IPCP的状态为opened,并且物理状态和协议状态都为UP。

实验三:CHAP的认证

实验拓扑:

实验步骤:(1)配置AR1的接口IP地址,命令如下:

<Huawei>system-view
[Huawei]undo info-center enable
[Huawei]sysname s4/0/0
[s4/0/0]sysname AR1
[AR1]interface s4/0/0
[AR1-Serial4/0/0]link-protocol ppp
[AR1-Serial4/0/0]ip address 10.0.12.1 24
[AR1-Serial4/0/0]quit
(2)配置AR2的接口IP地址,命令如下:

<Huawei>system-view
[Huawei]undo info-center enable
[Huawei]sysname AR2
[AR2]interface s4/0/0
[AR2-Serial4/0/0]ip address 10.0.12.2 24
[AR2-Serial4/0/0]link-protocol ppp
[AR2-Serial4/0/0]quit
(3)在认证方AR1上配置用户名和密码,用户被认证方用户的登录,命令如下:

[AR1]aaa
[AR1-aaa]local-user huawei password cipher huawei
[AR1-aaa]local-user huawei service-type ppp
[AR1-aaa]quit
(4)在认证方接口配置PPP的认证模式为CHAP认证,命令如下:

[AR1]interface s4/0/0
[AR1-Serial4/0/0]ppp authentication-mode chap
(5)在被认证方接口配置CHAP认证的用户名和密码,命令如下:

[AR2]interface s4/0/0
[AR2-Serial4/0/0]ppp chap user huawei
[AR2-Serial4/0/0]ppp chap password cipher huawei
(6)在AR2设备上查看接口状态,命令如下:

[AR2]display interface s4/0/0
Serial4/0/0 current state : UP
Line protocol current state : UP
Last line protocol up time : 2024-09-21 16:05:09 UTC-08:00
Description:HUAWEI, AR Series, Serial4/0/0 Interface
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 10.0.12.2/24
Link layer protocol is PPP
LCP opened, IPCP opened
Last physical up time   : 2024-09-21 16:05:06 UTC-08:00
Last physical down time : 2024-09-21 16:05:02 UTC-08:00
Current system time: 2024-09-21 16:23:32-08:00
Physical layer is synchronous, Virtualbaudrate is 64000 bps
Interface is DTE, Cable type is V11, Clock mode is TC
Last 300 seconds input rate 6 bytes/sec 48 bits/sec 0 packets/sec
Last 300 seconds output rate 2 bytes/sec 16 bits/sec 0 packets/sec

Input: 224 packets, 7184 bytes
  Broadcast:              0,  Multicast:              0
  Errors:                 0,  Runts:                  0
  Giants:                 0,  CRC:                    0

  Alignments:             0,  Overruns:               0
  Dribbles:               0,  Aborts:                 0
  No Buffers:             0,  Frame Error:            0

Output: 225 packets, 2722 bytes
  Total Error:            0,  Overruns:               0
  Collisions:             0,  Deferred:               0
    Input bandwidth utilization  :    0%
    Output bandwidth utilization :    0%
  ---- More ----

总结:

PPP的配置实验通过模拟实际操作,加深了对PPP协议工作原理、子网划分和静态路由配置的理解,并验证了其在网络通信中的应用效果。以下是具体介绍:

  1. 实验目的
    • 掌握基本配置:使学生掌握PPP帧的结构,理解PPP帧格式中每个字段的含义,并了解PPP协议中数据实际传送状况。
    • 理解工作机制:通过实验,学生能够理解PPP协议在点对点连接中的工作过程,包括链路建立、身份验证和数据传输。
  2. 实验步骤
    • 创建实验拓扑:使用华为eNSP软件或其他模拟器,创建包含两台路由器的网络拓扑,并配置同异步WAN接口卡。
    • 配置路由器接口:为每台路由器的串口配置PPP协议,设置IP地址,并启用PAP或CHAP认证。
    • 验证网络连通性:通过ping命令测试两台路由器之间的网络连通性,确保PPP连接正常工作。
  3. 实验结果
    • 成功建立连接:实验结果表明,通过正确配置PPP协议和认证方式,可以在两台路由器之间成功建立点对点连接。
    • 抓包分析:使用Wireshark等抓包工具,可以观察到PPP连接过程中的数据包交换情况,进一步理解PPP协议的工作机制。
  4. 实验总结
    • 深化理解:通过实验,学生不仅掌握了PPP协议的基本配置方法,还深入了解了其在不同场景下的应用,如同步/异步专线、拨号链路等。
    • 实践能力提升:实验过程中的操作练习,提高了学生的动手能力和解决实际问题的能力,为未来从事网络相关工作打下了坚实基础。

http://www.dinnco.com/news/15674.html

相关文章:

  • c程序设计教学网站怎么做千锋教育地址
  • 万网网站电话360收录批量查询
  • 胶南做网站产品推广运营的公司
  • 陕西网站建设托管合肥做网站哪家好
  • node 做的网站后端网络营销策划推广公司
  • 做算命网站挣钱么网络营销课程实训报告
  • 做ppt哪些网站的图片质量高seo教程搜索引擎优化
  • 做网站行业的动态国际站seo优化是什么意思
  • .net企业网站网络营销专业是干嘛的
  • 新公司董事长致辞做网站免费舆情网站
  • 上海网络建站模板营销策略有哪些有效手段
  • 哪个网站免费做简历要做网络推广
  • 做视频挣钱的网站自己的品牌怎么做加盟推广
  • 诸城网站建设定制长沙seo优化排名推广
  • 可以在几个 网站备案网络营销的流程和方法
  • www开头网站怎么做最新战争新闻事件今天
  • 禄劝彝族苗族网站建设谷歌商店下载
  • 营口网站建设单位十大营销策略
  • 网络优化工程师证书谷歌搜索优化seo
  • 拍卖网站建设方案大泽山seo快速排名
  • 织梦网站地图模板网站外链平台
  • 怎么查到代码是哪个网站做的优化防疫措施
  • 陕西公路工程建设有限公司网站广州高端网站建设公司
  • 怎么做同城网站数据分析工具
  • 西安微信网站开发视频号视频怎么看下载链接
  • 做图片格式跟尺度用哪个网站好谷歌seo外包公司哪家好
  • 上传到网站空间网络营销的基本特征有哪七个
  • 网站建设协议书范本seo在线优化排名
  • 送菜上门网站app如何做网站关键词优化教程
  • 专业做网站电话郑州网络推广哪家口碑好