[ILUG] ISDN multi-link

Dermot Buckley derbuck at eircom.net
Fri Nov 9 10:25:24 GMT 2001


> Have any of you ISDN4Linux users configured and used multi-link i.e.
> connecting using both channels ? The box in question connects to
> ViaNet, if
> that makes a difference, and has been happily using single
> channel ISDN for
> years (first box to use ISDN 4 Linux in Ireland AFAIK and the same 66 MHz
> Pentium is still doing the job years later)
>
>

Add something like the following to the appropriate script
(/etc/isdn/device.ippp0 for me - probably distro dependent)

	REMOTEMSN = yours_isps_number
	device = ippp0

	addslave() { # slave, number

	  isdnctrl addslave $device $1
	  isdnctrl addphone $1 out $REMOTEMSN
	  isdnctrl eaz $1 $2
	  isdnctrl l2_prot $1 hdlc
	  isdnctrl l3_prot $1 trans
	  isdnctrl encap $1 syncppp
	  isdnctrl huptimeout $1 300
	}

	addslave ippp1 your_second_number_here
	addslave ippp2 your_third_number_here
	addslave ippp3 your_fourth_number_here
		:			:			:

... and so on for each channel


Wherever you start ipppd, you will need to add the following options
	+mp			# enable multi line ppp
	/dev/ippp0 /dev/ippp1 /dev/ippp2 /dev/ippp3	# and so on for each channel


Spark up the connection as usual and this will bring up the first
channel.  You can bring up/down the other channels as follows

isdnctrl dial ippp1
isdnctrl hangup ippp1

or you can run ibod (http://www.datenwelt.net/oss/ibod/) to do it for you.
Note that you will need
the development release if you are using more than 2 channels.

Hope this helps :)





More information about the ILUG mailing list