using multiple protocol:address:port at the same time

Guus Sliepen guus at tinc-vpn.org
Mon Jun 25 23:37:57 CEST 2012


On Sat, Jun 23, 2012 at 12:45:27AM +0800, Xuefer wrote:

> do i have to use bonding on both side of vpn node? is there any different
> between bonding and bridging? openwrt support bridging in those scripts but
> may not bonding

Bonding. Bridging and bonding are two very different things. A long
explaination can be found here:

http://en.wikipedia.org/wiki/Link_aggregation

Try to run "modprobe bonding". If that succeeds, and you have a bond0
interface, you can use it to enslave the VPN interfaces. Leave the VPN
interfaces unconfigured, just give bond0 the address you want to use. In the
tinc-up scripts, just put:

#!/bin/sh
echo +$INTERFACE >/sys/class/net/bond0/bonding/slaves
ifconfig $INTERFACE up

You have to use bonding on both nodes for this to work, and you have to use
Mode = switch in tinc.conf.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20120625/25f5756a/attachment.pgp>


More information about the tinc mailing list