Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.75 KB

File metadata and controls

48 lines (32 loc) · 1.75 KB

Open VnetCard 中文教程

Open VnetCard is virtual network card base on Tun/Tap. It's speed up to 4.2Gbps/sec ~ 1.2Gbps/sec. The VnetCard contains above function for a real network card.

Usage

The Vnetcard running on X86 and FPGA/ARM that base on DMA to transfer data and message. U can obtian execute file from source code as follow:

git clone https://github.com/WorkRoutine/VNet-Card.git
export CROSS_CC=$CRCC
make clean
make

The CRCC points to the path of cross-compiler for FPGA/ARM platform. When compile success, U can obtain two execute file Vnet_Host and Vnet_FPGA, the Vnet_Host running on X86 and Vnet_FPGA running on FPGA/ARM. When it running success, you can use ifconfig to check information for VnetCard, as follow:

And more fun, U can establish a NAT or Gatway to alloc VnetCard access outside network. As follow:

More usemanual of Vnetcard see Usermanual for VnetCard

Test

The VnetCard supports ssh, scp, iperf, or ping to test general network function.

The result for speed as follow:

And more test result see VnetCard Test