question regarding isdn with userland PPP

question regarding isdn with userland PPP

Post by Lasse Ulvun » Wed, 06 Mar 2002 06:46:32



Hi

I'm trying to set up a machine as a dialup-fw for my local network. I've
gotten to the point where I can connect using a single isdn-line, that works
without a hitch. When trying to set up multilink it doesn't work any longer.
The output of ifconfig indicates that I am connected however :

(with multilink enabled)
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1524
        inet6 fe80::260:97ff:fea6:955%tun0 prefixlen 64 scopeid 0xb
        inet 130.67.183.225 --> 130.67.175.128 netmask 0xffffffff

I can ping my assigned adress (130.67.183.225), but nothing else out on the
net.

netstat -rn shows :
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            130.67.175.128     UGSc        8       12   tun0
127.0.0.1          127.0.0.1          UH          0        0    lo0
130.67.175.128     130.67.183.225     UH          3        5   tun0
192.168.0          link#1             UC          1        0    xl0

Reverting ppp.conf to use a single line gives this output :

tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet6 fe80::260:97ff:fea6:955%tun0 prefixlen 64 scopeid 0xb
        inet 130.67.119.118 --> 130.67.115.0 netmask 0xffffffff

Destination        Gateway            Flags    Refs      Use  Netif Expire
default            130.67.115.0       UGSc        1        2   tun0
127.0.0.1          127.0.0.1          UH          0        0    lo0
130.67.115.0       130.67.119.118     UH          2        0   tun0
192.168.0          link#1             UC          1        0    xl0

Only, now ping works against other external IP's.

my ppp.conf looks like this, with the  7 last #'s removed for multilink
purposes :

# /etc/ppp/ppp.conf
default:
 set log all
 set device /dev/i4brbch0 /dev/i4brbch1
 set speed sync
 set login
 set dial
 set hangup
 add! default HISADDR

myisp:
 set authname "<username>"
 set authkey "<password>"
 set phone 81007007

# Take a wild guess at an IP number and let the other side decide
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
# set enddisc IP
# set mrru 1500
# set mru 1504
# clone 1,2
# link deflink remove
# link * set mode auto
# set autoload 10 80 30

If someone can help point me in the right direction I'd be thankfull, beeing
somewhat stuck at the moment. The above setup seems to be what every
faq/howto suggests to get multilink up and running.

--
Regards,
Lasse