Layer 2 Example - Chelsio Communications DPDK Installation And User Manual

Driver for linux
Table of Contents

Advertisement

Chapter 7. Classification and Filtering
Example:
7.3.

Layer 2 example

Here's an example on how to achieve L2 routing functionality:
102.1.1.1/24
Configure IP addresses on node1 and node2
node1:
[root@host~]# ifconfig eth0 102.1.1.1/24 up
[root@host~]# ifconfig eth0
eth0
Link encap:Ethernet
inet addr:102.1.1.1
inet6 addr: fe80::207:43ff:fe04:7d50/64 Scope:Link
Chelsio DPDK Driver for Linux
T5
port0
eth0
node1
HWaddr 00:07:43:04:7D:50
Bcast:102.1.1.255
port1
102.1.1.2/24
eth0
node2
Mask:255.255.255.0
33

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DPDK and is the answer not in the manual?

Questions and answers

Table of Contents