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

简单的电商网站用web怎么做低价刷赞网站推广

简单的电商网站用web怎么做,低价刷赞网站推广,网站要备案吗,免费html网站模板下载PPP协议简介 PPP是Point-to-Point Protocol的简称,中文翻译为点到点协议。与以太网协议一样,PPP也是一个数据链路层协议。以太网协议定义了以太帧的格式,PPP协议也定义了自己的帧格式,这种格式的帧称为PPP帧。 利用PPP协议建立的二层网络称为…

PPP协议简介

        PPP是Point-to-Point Protocol的简称,中文翻译为点到点协议。与以太网协议一样,PPP也是一个数据链路层协议。以太网协议定义了以太帧的格式,PPP协议也定义了自己的帧格式,这种格式的帧称为PPP帧。

        利用PPP协议建立的二层网络称为PPP网络。一个PPP网络包含且只能包含两个PPP接口,连接这两个接口的链路称为PPP链路,这两个接口通过交互PPP帧来实现二层通信。由于一个PPP网络包含且只能包含两个PPP接口,每个接口被简化地称为一个“点”,所以一个PPP网络也经常被称为一个“点到点网络”或“P2P网络”。

        PPP接口是数据链路层(二层)通信的终结点,也就是说PPP接口是三层接口。

        PPP协议的成员协议主要包括一个 被称为LCP (Link Control Protocol) 的链路控制协议,以及一系列的被称为NCP (Network Control Protocol)的网络控制协议。
LCP:通过LCP报文的交互,本端接口会与对端接口协商若干基本而重要的参数,以确保PPP链路可以正常工作。如PPP帧中Information 字段所允许的最大长度(字节数)---MRU(Maximum Receive Unit)和错误控制。
NCP:PPP协议的本端接口会与对端接口双方会通过 NCP(Network ControlProtocol)协议来对网络层协议的参数进行协商,协商一致之后,双方才能够在PPP链路上传递携带有相应的网络层协议(如IP报文)数据单元的PPP帧。

        PPP协议对于PPP链路的长度是没有规定的。PPP链路经常应用在广域网连接中: PPP 技术被称为是一种广域网技术。

PPP链路建立基本原理

示例配置

示例要求:

  1. 通过PPP链路实现网络互通;
  2. 掌握PPP认证。

示例内容: 为了保证网络安全,服务器端链路设置PPP认证。

网络拓扑图

配置代码段

system-view 
sysname R1
interface GigabitEthernet 0/0/0
ip address 192.168.1.254 24
quitinterface Serial 4/0/0
link-protocol ppp
ip address 192.168.12.1 24
remote address 192.168.12.2
ppp authentication-mode chap domain test-d
quit
ip route-static 192.168.2.0 24 192.168.12.2
aaa
authentication-scheme test-s
authentication-mode local 
quit
domain test-yu
authorization-scheme test-s
quit
local-user test-user password cipher huawei@123
local-user test-user service-type ppp
quitsystem-view 	
sysname R2
dhcp enable 
interface GigabitEthernet 0/0/0
ip address 192.168.2.254 24
dhcp select interface interface Serial 4/0/0
link-protocol ppp
ip address ppp-negotiate
ppp chap user test-user
ppp chap password cipher huawei@123
quit
ip route-static 192.168.1.0 24 192.168.12.1

代码解析

<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R1
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip address 192.168.1.254 24
Oct 18 2023 00:02:23-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[R1-GigabitEthernet0/0/0]quit
[R1]interface Serial 4/0/0
[R1-Serial4/0/0]link-protocol ppp
[R1-Serial4/0/0]ip address 192.168.12.1 24
[R1-Serial4/0/0]remote address 192.168.12.2 //给对端端口指定IP地址为192.168.12.2
[R1-Serial4/0/0]ppp authentication-mode chap domain test-d //设置本端的 PPP协议对对端设备的认证方式为 chap,认证采用的域名为huawei。
[R1-Serial4/0/0]quit
[R1]ip route-static 192.168.2.0 24 192.168.12.2
[R1]aaa
[R1-aaa]authentication-scheme test-s //创建认证方案test-s
Info: Create a new authentication scheme.
[R1-aaa-authen-test-s]authentication-mode local //配置认证模式为本地认证
[R1-aaa-authen-test-s]quit
[R1-aaa]domain test-yu //创建域test-yu
Info: Success to create a new domain.
[R1-aaa-domain-test-yu]authorization-scheme test-s //配置域test-yu的认证方案为test-s
Error: The authorization scheme does not exist.
[R1-aaa-domain-test-yu]quit
[R1-aaa]local-user test-user password cipher huawei@123 //配置存储在本地,为对端认证方所使用的用户名为 test-user,密码为 huawei@123。
Info: Add a new user.
[R1-aaa]local-user test-user service-type ppp //本地用户test-user 的服务类型为PPP
[R1-aaa]quit


<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R2
[R2]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]ip address 192.168.2.254 24
[R2-GigabitEthernet0/0/0]dhcp select 
Oct 18 2023 00:03:20-08:00 R2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[R2-GigabitEthernet0/0/0]dhcp select interface 
[R2-GigabitEthernet0/0/0]interface Serial 4/0/0
[R2-Serial4/0/0]link-protocol ppp
[R2-Serial4/0/0]ip address ppp-negotiate //从对端端口获取IP地址
[R2-Serial4/0/0]ppp chap user test-user //认证的用户名
[R2-Serial4/0/0]ppp chap password cipher huawei@123 //认证的密码
[R2-Serial4/0/0]quit

测试验证

PC通过DHCP获取IP地址正常

PC和服务器通信正常

http://www.hkea.cn/news/620435/

相关文章:

  • 网络营销实务关键词优化seo优化排名
  • 网站推广优化教程游戏代理加盟平台
  • 网站提升权重全国疫情高峰感染进度
  • 营销型网站怎么做智能建站abc
  • 捷信做单官方网站网络服务主要包括什么
  • 网站建设的方案费用什么时候网络推广
  • 这么做3d展示网站公司百度官网优化
  • 工业设计软件上市公司搜索引擎优化的方法
  • 网站建设公司创意网站网络推广推广
  • 浙江三建建设集团有限公司网站关键词的作用
  • 网站建设官方网站教育培训机构加盟十大排名
  • 万网上传网站seo免费
  • 孝感做网站公司百度热议排名软件
  • 建设网站费用吗廊坊seo快速排名
  • 网站建设公司怎样拓展网站业务大连网站推广
  • 什么网站可以免费做找客户东莞seo建站推广费用
  • 合肥微信网站建设购物网站如何推广
  • 网站建设课程简介图片百度官网认证免费
  • 月夜影视在线观看免费完整版韩剧关键词排名优化报价
  • 做网站的工作时间兰州seo公司
  • css怎么嵌入到html直通车关键词优化口诀
  • 虚拟网站php专业型seo网站关键词排名提升
  • 找人合伙做网站平台b2b电商平台
  • 手机网站建设技术方案找网站设计公司
  • 杭州如何设计公司网站惠州seo网站推广
  • 成都网站建设门户大连企业网站建站模板
  • 游戏卡充值可以做网站吗百度竞价关键词出价技巧
  • 建设企业网站就等于开展网络营销网店推广实训报告
  • dede无法更新网站主页到百度联盟注册
  • wordpress支持爱奇艺企业网站seo托管怎么做