VPN Bonding video

Home Page Forums Network Management VPN VPN Bonding video

This topic contains 2 replies, has 0 voices, and was last updated by  houkouonchi 7 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #42781

    houkouonchi
    Member

    I made a video that described doing VPN bonding. I did not make it specifically for zeroshell but I use zeroshell for my setup and recommended using it.

    I didn’t really prepare or write down steps and kind of created the video on a whim (mostly from people on another forum asking me how I am doing the bonding) so I wasn’t super prepared when making the video.

    http://www.youtube.com/watch?v=XIeXAqdbpzI

    I figured this could be helpful for some people to visually see how to set things up as I know I sometimes got confused from some of the written howto’s that I read when I originally set this up.

    My zeroshell box is running my own custom compiled kernel and pretty highly modified so it unfortunately failed when I tried to create the second BOND interface so I wasn’t able to fully create the second bonded link and had to revert to my pre-setup link near the end.

    Since I wasn’t expecting this in the video I didn’t go into details on why this happened in the vid but its likely due to my custom kernel as I got errors in my dmesg output:


    Nov 26 12:41:19 zeroshell kernel: Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)
    Nov 26 12:41:19 zeroshell kernel: bonding: MII link monitoring set to 100 ms
    Nov 26 12:41:19 zeroshell kernel:
    [ cut here ]
    Nov 26 12:41:19 zeroshell kernel: WARNING: at fs/proc/generic.c:590 proc_register+0x114/0x1a0()
    Nov 26 12:41:19 zeroshell kernel: Hardware name: X7SPA-H
    Nov 26 12:41:19 zeroshell kernel: proc_dir_entry 'net/bonding' already registered
    Nov 26 12:41:19 zeroshell kernel: Modules linked in: BOND01(+) dummy1 cls_fw sch_sfq sch_htb xt_realm BOND00 tun bridge stp llc xt_CONNMARK xt_length xt_mark xt_MARK ipt_MASQUERADE iptable_nat xt_state xt_tcpudp iptable_mangle iptable_filter ip_tables x_tables nf_nat_pptp nf_nat_proto_gre nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_sip nf_conntrack_ftp nf_conntrack_h323 nf_conntrack dummy mos7840 usbserial uhci_hcd ehci_hcd iTCO_wdt iTCO_vendor_support ata_generic e1000e
    Nov 26 12:41:19 zeroshell kernel: Pid: 31452, comm: modprobe Not tainted 2.6.30 #3
    Nov 26 12:41:19 zeroshell kernel: Call Trace:
    Nov 26 12:41:19 zeroshell kernel: [] ? proc_register+0x114/0x1a0
    Nov 26 12:41:19 zeroshell kernel: [
    ] ? proc_register+0x114/0x1a0
    Nov 26 12:41:19 zeroshell kernel: [] warn_slowpath_common+0x7c/0xa0
    Nov 26 12:41:19 zeroshell kernel: [] ? proc_register+0x114/0x1a0
    Nov 26 12:41:19 zeroshell kernel: [] warn_slowpath_fmt+0x26/0x30
    Nov 26 12:41:19 zeroshell kernel: [] proc_register+0x114/0x1a0
    Nov 26 12:41:19 zeroshell kernel: [] proc_mkdir_mode+0x36/0x50
    Nov 26 12:41:19 zeroshell kernel: [] proc_mkdir+0xf/0x20
    Nov 26 12:41:19 zeroshell kernel: [] bonding_init+0x8dd/0x904 [BOND01]
    Nov 26 12:41:19 zeroshell kernel: [] ? bonding_init+0x0/0x904 [BOND01]
    Nov 26 12:41:19 zeroshell kernel: [] do_one_initcall+0x2a/0x160
    Nov 26 12:41:19 zeroshell kernel: [] sys_init_module+0x83/0x1b0
    Nov 26 12:41:19 zeroshell kernel: [] sysenter_do_call+0x12/0x26
    Nov 26 12:41:19 zeroshell kernel: ---[ end trace 2b268910b0cdc6a6 ]---
    Nov 26 12:41:19 zeroshell kernel:
    [ cut here ]
    Nov 26 12:41:19 zeroshell kernel: WARNING: at fs/sysfs/dir.c:487 sysfs_add_one+0x86/0xa0()
    Nov 26 12:41:19 zeroshell kernel: Hardware name: X7SPA-H
    Nov 26 12:41:19 zeroshell kernel: sysfs: cannot create duplicate filename '/class/net/bonding_masters'
    Nov 26 12:41:19 zeroshell kernel: Modules linked in: BOND01(+) dummy1 cls_fw sch_sfq sch_htb xt_realm BOND00 tun bridge stp llc xt_CONNMARK xt_length xt_mark xt_MARK ipt_MASQUERADE iptable_nat xt_state xt_tcpudp iptable_mangle iptable_filter ip_tables x_tables nf_nat_pptp nf_nat_proto_gre nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_sip nf_conntrack_ftp nf_conntrack_h323 nf_conntrack dummy mos7840 usbserial uhci_hcd ehci_hcd iTCO_wdt iTCO_vendor_support ata_generic e1000e
    Nov 26 12:41:19 zeroshell kernel: Pid: 31452, comm: modprobe Tainted: G W 2.6.30 #3
    Nov 26 12:41:19 zeroshell kernel: Call Trace:
    Nov 26 12:41:19 zeroshell kernel: [] ? sysfs_add_one+0x86/0xa0
    Nov 26 12:41:19 zeroshell kernel: [
    ] ? sysfs_add_one+0x86/0xa0
    Nov 26 12:41:19 zeroshell kernel: [] warn_slowpath_common+0x7c/0xa0
    Nov 26 12:41:19 zeroshell kernel: [] ? sysfs_add_one+0x86/0xa0
    Nov 26 12:41:19 zeroshell kernel: [] warn_slowpath_fmt+0x26/0x30
    Nov 26 12:41:19 zeroshell kernel: [] sysfs_add_one+0x86/0xa0
    Nov 26 12:41:19 zeroshell kernel: [] sysfs_add_file_mode+0x4f/0x90
    Nov 26 12:41:19 zeroshell kernel: [] sysfs_add_file+0x13/0x20
    Nov 26 12:41:19 zeroshell kernel: [] sysfs_create_file+0x2c/0x40
    Nov 26 12:41:19 zeroshell kernel: [] class_create_file+0x17/0x20
    Nov 26 12:41:19 zeroshell kernel: [] netdev_class_create_file+0xf/0x20
    Nov 26 12:41:19 zeroshell kernel: [] bond_create_sysfs+0x11/0x60 [BOND01]
    Nov 26 12:41:19 zeroshell kernel: [] bonding_init+0x6b7/0x904 [BOND01]
    Nov 26 12:41:19 zeroshell kernel: [] ? bonding_init+0x0/0x904 [BOND01]
    Nov 26 12:41:19 zeroshell kernel: [] do_one_initcall+0x2a/0x160
    Nov 26 12:41:19 zeroshell kernel: [] sys_init_module+0x83/0x1b0
    Nov 26 12:41:19 zeroshell kernel: [] sysenter_do_call+0x12/0x26
    Nov 26 12:41:19 zeroshell kernel: ---[ end trace 2b268910b0cdc6a7 ]---

    Also not included in this video was some speed tests. In a previous video I posted on youtube I did some speedtest.net testing over the bonded VPN:

    #51435

    zohan
    Member

    Great tutorial houkouonchi! I also heard that this may have issues (as you also point out in your video) that with latency being different on the WAN links causing reordering and reducing performance. Did you ever try to bond a T1 and a 6Mbps DSL line? I wonder if that will work or will the latency difference just kill it?

    I heard good things about the Broadband Bonding routers by a company named Mushroom Networks (funny name 😆 ), which I believe also are based on Linux that accomplishes VPN bonding over varying latency WAN links. Rather than using round robin, it dynamically adjust the scheduling algorithm to get around the latency issues. I am thinking going that route as we don’t get Fios here and T1 and DSLs are our only options.

    #51436

    Anonymous
    Member

    DELETED

    #51437

    Anonymous
    Member

    DELETED

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

You must be logged in to reply to this topic.