Difference between revisions of "VPP/Using mTCP user mode TCP stack with VPP"
From fd.io
								< VPP
												
				| Line 1: | Line 1: | ||
| − | + | This example shows how to configure and run sample client/server applications using user mode mTCP in 2 linux namespaces (or containers) which communicate through VPP via netmap virtual interfaces.   | |
| − | Test   | + | |
| + | In this setup we use 2 different namespaces called vpp1 and vpp2 and two sample applications epserver and epwget available with mTCP.  | ||
| + | |||
| + | === Setup ===  | ||
| + | |||
| + | <pre>  | ||
| + | |||
| + | </pre>  | ||
| + | |||
| + | === Configure Interfaces ===  | ||
| + | |||
| + | <pre>  | ||
| + | |||
| + | </pre>   | ||
| + | |||
| + | === Modify Config Files ===  | ||
| + | |||
| + | <pre>  | ||
| + | |||
| + | </pre>   | ||
| + | |||
| + | === Test ===  | ||
| + | |||
| + | |||
| + | <pre>  | ||
| + | |||
| + | </pre>   | ||
| + | |||
| + | Using the VPP debug Command-line Interface (CLI) we can verify interface statistics.   | ||
| + | |||
| + | Use the VPP CLI command <code> </code>:   | ||
| + | |||
| + | <pre>  | ||
| + | |||
| + | </pre>  | ||
| + | |||
| + | Use the command <code>show interface</code>:  | ||
| + | |||
| + | <pre>  | ||
| + | |||
| + | |||
| + | </pre>  | ||
| + | |||
| + | Use the command <code> </code>:  | ||
| + | |||
| + | <pre>  | ||
| + | |||
| + | </pre>  | ||
Revision as of 15:39, 7 June 2016
This example shows how to configure and run sample client/server applications using user mode mTCP in 2 linux namespaces (or containers) which communicate through VPP via netmap virtual interfaces.
In this setup we use 2 different namespaces called vpp1 and vpp2 and two sample applications epserver and epwget available with mTCP.
Setup
Configure Interfaces
Modify Config Files
Test
Using the VPP debug Command-line Interface (CLI) we can verify interface statistics.
Use the VPP CLI command  : 
Use the command show interface:
Use the command  :