Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 20:09:01 +0200
From:      "M Bergman" <m.bergman@digipoint.org>
To:        <freebsd-isdn@FreeBSD.ORG>
Subject:   how to use "multilink" ? (in my tun0/ppp isdn configuration)
Message-ID:  <NGBBJKOHMLCJMGMIODEBEEIPCAAA.m.bergman@digipoint.org>

next in thread | raw e-mail | index | archive | help
hello,

As i couldn't get isdn working with the isdn4bsd manual i've adapted a ppp
modem configuration to use the isdn modem. Only i can visit half the
internet..

i can reach lot's of sites but i can't visit some others...

For Example
www.av.com,www.alltheweb.com work
www.google.com,www.yahoo.com don't...

I called to my isp and they told me to put on multylink (or something
simular if i hadn't Windows). their routers would take care the system would
never really get the second line (i'm only paying for 1 ).

So they where familiar with the error (it occured a lot on winXP they told
me)

Now the problem is i don't know how to put multylink on in my (not default)
configuration..

can any of the proffesionals here tell me what to to to get my internet
fully going ?

Thanks,
Mark
_________________________________________________________
UNDER THIS LINE I CUT'N PASTE ALL RELEVANT CONFIGFILES.
=========================================================
rc.conf isdn.rc ppp.conf ppp.linkup ppp.linkdown

***********************
RC.CONF
**********************
# All about the network
#defaultrouter="192.168.4.1"
#defaultrouter="10.0.0.1"
gateway_enable="YES"
named_enable=yes
hostname="j***e.di***int.org"
network_interfaces="ep0 xl0 tun0 lo0"
ifconfig_xl0="inet 192.168.1.2  netmask 255.255.0.0"
ifconfig_ep0="inet 192.168.1.1  netmask 255.255.0.0"
ifconfig_tun0=""

# Starting services
kern_securelevel_enable="NO"
moused_enable="NO"
moused_type="NO"
nfs_reserved_port_only="YES"
sendmail_enable="YES"
sshd_enable="YES"
enable_quotas="YES"
check_quotas="YES"
ipmon_enable="YES"
ipmon_flags="-Ds"
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipnat_enable="YES"
ipnat_rules="/etc/ipnat.rules"

# Isdn device
isdn_enable="YES"
#isdn_fsdev=/dev/ttyv4
isdn_fsdev="NO"
#isdn_flags="-dn -d0x1f9"
#isdn_trace="YES"
#isdn_traceflags="-f /var/tmp/isdntrace0"


# User ppp configuration.
ppp_enable="YES"
ppp_mode="auto"
#ppp_nat="YES"
ppp_profile="work"

**************
/etc/isdnd/isdn.rc
**************
system
acctall        = off
useacctfile    = off
monitor-allowed = no
ratesfile      = /etc/isdn/isdnd.rates
rtprio          = 25
beepconnect    = on

controller
protocol        = dss1

entry
name                    = userppp0
isdncontroller          = 0
#isdnchannel            = -1
isdnchannel            = -1
usrdevicename          = rbch
usrdeviceunit          = 0
local-phone-dialout    = 3*****1
local-phone-incoming    = 3*****1
remote-phone-dialout   = 067******6    # @work (ISP)
remote-phone-incoming  = *
remdial-handling        = first

b1protocol              = hdlc
dialin-reaction        = ignore
dialout-type            = normal

ratetype                = 0
unitlength              = 999
unitlengthsrc          = conf
idletime-incoming      = 900
idletime-outgoing      = 900

dialretries            = 1
dialrandincr            = on
recoverytime            = 1
usedown                = off
downtries              = 2
downtime                = 30

entry
name                    = userppp1
isdncontroller          = 0
isdnchannel            = -1
usrdevicename          = rbch
usrdeviceunit          = 1
local-phone-dialout    = 3*****1
local-phone-incoming    = 3*****1
remote-phone-dialout   = 067******6    # @work
remote-phone-incoming  = *
remdial-handling        = first

b1protocol              = hdlc
dialin-reaction        = ignore
dialout-type            = normal

ratetype                = 0
unitlength              = 90
unitlengthsrc          = conf
idletime-incoming      = 900
idletime-outgoing      = 900

dialretries            = 99
dialrandincr            = on
recoverytime            = 1
usedown                = off
downtries              = 2
downtime                = 30


***************************
/etc/ppp/ppp.conf
***************************

default:
 #set log Phase LCP IPCP CCP tun tun0 command

hetnet:
 set phone 06*******5
 set authname b*****n@hetnet.nl
 set authkey l-b*********p
 allow user root
 allow user mark
 enable lqr
 set reconnect 99 5
 set redial 99 10
 set lqrperiod 45
 deny pred1 deflate mppe
 set dial
 set login
 #set hangup
 set device /dev/i4brbch0 /dev/i4brbch1
 set speed sync
 set bandwidth 65536
 link * set cd 10
 set ifaddr 1.1.1.1/0 2.2.2.2/0 255.255.255.0 0.0.0.0
 add! default HISADDR
 enable dns
 disable pred1 deflate mppe
 set timeout 180 600

work:
 set phone 067******6
 set authname di***t@work.nl
 set authkey ******
 allow user root
 allow user mark
 enable lqr
 set reconnect 99 5
 set redial 99 10
 set lqrperiod 45
 deny pred1 deflate mppe
 set dial
 set login
 #set hangup
 set device /dev/i4brbch0 /dev/i4brbch1
 set speed sync
 set bandwidth 65536
 link * set cd 10
 set ifaddr 1.1.1.1/0 2.2.2.2/0 255.255.255.0 0.0.0.0
 add! default HISADDR
 enable dns
 disable pred1 deflate mppe
 set timeout 720 780


#filter:
 #allow user root
 #allow user mark
 #allow mode ddial
 #allow mode auto

# Prevent ICMP, DNS (53), and NTP (123) from keeping the
# connection alive:
# set filter alive 0 deny icmp
# set filter alive 1 deny udp src eq 53
# set filter alive 2 deny udp dst eq 53
# set filter alive 3 deny udp src eq 123
# set filter alive 4 deny udp dst eq 123
# set filter alive 5 permit 0 0

# Prevent NTP (123)and ICMP from causing a dialup:
# set filter dial 0 deny udp src eq 123
# set filter dial 1 deny udp dst eq 123
# set filter dial 2 deny icmp
# set filter dial 2 permit 0 0

***************************
/etc/ppp/ppp.linkup
***************************
hetnet:
 delete ALL
 add 0 0 HISADDR
 !bg /sbin/ipnat -CF -f /etc/ipnat.rules
 !bg /bin/echo "linkup: " >> /var/log/internet
 !bg /bin/date >> /var/log/internet
 !bg /bin/echo "" >> /var/log/internet



***************************
/etc/ppp/ppp.linkdown
***************************
hetnet:
 iface clear
 !bg echo "linkdown: " >> /var/log/internet
 !bg date >> /var/log/internet
 !bg echo "" >> /var/log/internet



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NGBBJKOHMLCJMGMIODEBEEIPCAAA.m.bergman>