论文部分内容阅读
通过物理网卡接口进行数据收发,需要接口板卡能完整挂载在操作系统下。该文提出一种基于虚拟以太网设备TAP的数据转发模型,通过在虚拟设备和物理设备之间增加一个转发器,使得接口卡即便不能在操作系统下挂载也能通过转发实现标准的数据收发。在转发过程中用户可以对数据帧进行自定义封装和构造,从而实现了PPP数据帧在以太网设备上的收发,并通过对PPP数据帧头进行细微改造,达到利用wireshark的以太网链路协议解析器实现PPP链路协议解析的目的,并进行了实验验证。“,”In general, network interface cards should be complete mounted in the operating s ystem to realize data transceiver. This paper presents a data forwarding model based on the v irtual Ethernet device TAP. In this model we build a transceiver between the virtual device a nd the physical device so that we can realize standard data transceiver even though interface cards cannot be mounted in the operating system. After some changes of the PPP protocol fo rmat we realize PPP data transceiver on TAP. Then we use wireshark to achieve the purpose of PPP protocol analysis by changing the head of the PPP frame, which has been confirmed in the following experiment.