LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2017, 02:26 PM   #1
susernameb
LQ Newbie
 
Registered: Mar 2017
Posts: 1

Rep: Reputation: Disabled
IPIP tunnel low performaces


Hi,

I have a simple IPIP tunnel setup between two systems.
The tunnel is working fine.

However, iperf tests show much lower (1/5 th) throughput over the tunnel.

Throughput without tunnel: 10 Gbps
Throughput with tunnel: 2 Gpbs

MTU on physical interface eth0 is 1500
MTU on tunnel interface crtun is 1400

Any ideas why IPIP tunnel has so much
lower performance??
I have tried different MTU values as well
but no luck.


Commands Used
--------------

Server 1
sudo ip tunnel add crtun mode ipip remote 10.0.0.34
sudo ip addr add 169.254.169.250/31 dev crtun
sudo ip link set dev crtun up

Server 2
sudo ip tunnel add crtun mode ipip remote 10.0.0.35
sudo ip addr add 169.254.169.251/31 dev crtun
sudo ip link set dev crtun up
 
Old 03-12-2017, 12:21 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hi,

Set the tunnel MTU to 1500-(maximum ipip header size)=1484? I'm not positive on the exact size. But it's near 1500. It might be 1492. But just experiment a bit using sensible values for tunnel MTU. The reason it has to be smaller than the MTU of the interface is to make room for the tunnel headers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPIP tunnel fandar Linux - Networking 3 12-20-2013 05:10 AM
IPIP Tunnel ali2011 Programming 0 05-30-2012 12:49 PM
ipip tunnel route linuxbody Linux - Server 1 04-23-2012 03:54 AM
IPIP Tunnel rickthemick Linux - Networking 1 11-26-2004 04:08 AM
Using ioctl() to setup ipip tunnel himalayas Linux - Networking 0 06-19-2003 03:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration