www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Jumbo frames with VPN/bonding.

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> VPN
View previous topic :: View next topic  
Author Message
houkouonchi



Joined: 20 Mar 2010
Posts: 47

PostPosted: Thu Mar 22, 2012 3:16 am    Post subject: Jumbo frames with VPN/bonding. Reply with quote

I am having some wierd issues when using jumbo frames on my VPN interfaces for VPN bonding.

I started using jumbo frames due to getting <1 link speed when enabling bonding. Once I enabled jumbo frames (VPN links themselves MTU of 9000 and 9000 on BOND00 on both ends) I am getting good performance:

Client -> server

Code:

admin@zeroshell: 07:33 PM :~# wget -O /dev/null http://172.31.1.1/2gb.bin
--19:33:18--  http://172.31.1.1/2gb.bin
           => `/dev/null'
Connecting to 172.31.1.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,992,294,400 [application/octet-stream]

 9% [====>                                                       ] 179,440,712   36.05M/s   


server -> client
Code:
 wget -O /dev/null http://172.31.1.2/2gb.bin
--19:33:46--  http://172.31.1.2/2gb.bin
           => `/dev/null'
Connecting to 172.31.1.2:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,992,294,400 (1.9G) [application/octet-stream]

 4% [====>                                                                                                                         ] 89,365,332    17.14M/s



I am bonding two 150/75 connections for 300/150 and getting just about what I would expect with overhead.

The problem is I am having some issues I believe with the MTU that is making certain things not work. It reminds me of a problem I had with PPPoE back in the day.

I tried using this ipables rule:

iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1400:10000 -j TCPMSS --clamp-mss-to-pmtu

And it is getting hit but I am still seeing things not being able to connect at times.

admin@zeroshell: 08:12 PM :~# iptables -v -n -L FORWARD
Chain FORWARD (policy ACCEPT 7459 packets, 1744K bytes)
pkts bytes target prot opt in out source destination
435 25604 TCPMSS tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcpflags: 0x06/0x02 tcpmss match 1400:10000 TCPMSS clamp to PMTU
admin@zeroshell: 08:15 PM :~#

Any suggestions of what the problem might be?
Back to top
View user's profile Send private message AIM Address
houkouonchi



Joined: 20 Mar 2010
Posts: 47

PostPosted: Sat Mar 24, 2012 6:48 am    Post subject: Reply with quote

Actually nevermind this. This was my browser being weird...
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> VPN All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group