Jumbo frames with VPN/bonding.

Home Page Forums Network Management VPN Jumbo frames with VPN/bonding.

This topic contains 1 reply, has 0 voices, and was last updated by  houkouonchi 5 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43316

    houkouonchi
    Member

    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


    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

     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?

    #52289

    houkouonchi
    Member

    Actually nevermind this. This was my browser being weird…

    #52290

    icyderguru
    Member

    Could you please tell me how you set the MTU of the BOND?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.