[ILUG] ISDN Routing Problems
Cathal Garvey
me at cgarvey.com
Tue Jan 22 00:36:48 GMT 2002
Hi!
I have just installed (with near success) a Trust PCI ISDN card. However, I
can only get to the stage where I can see my local and remote PPP assigned
IPs (both in the isdn log entries and the ifconfig ippp0 device). I can ping
both IP's but that's it! I cant ping any external IP's. The nearest I can
ping is a hosts either side of the REMOTE_IP I've been assigned.
If anyone has any pointers, I'd really appreciate it (trust me!!). I've
disabled the eth0 device to remove any complexity!
ifconfig :
ippp0 Link encap:Point-to-PointProtocol
inet addr:195.218.108.86 P-t-P:195.218.116.9 Mask 255.255.255.0
UP POINTOTPOINT RUNNNING NOARP MTU:1500 ....... blah blah (with RX and TX
packets going .. no errors or drops)
lo ... the usual stuff
route (after connecting):
Dest GW Msk Flags Met Ref Use Iface
195.218.116.0 * 255.255.255.0 U 0 0 0 ippp0
127.0.0.1 * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0 ippp0
the script I start isdn with:
/usr/sbin/isdnctrl verbose 9
/usr/sbin/isdnctrl system on
/usr/sbin/isdnctrl addif ippp0
/usr/sbin/isdnctrl eaz ippp0 123456 # one of my MSNs (a real one obviously)
/usr/sbin/isdnctrl addphone ippp0 out 1890927171 # utv internet
/usr/sbin/isdnctrl huptimeout ippp0 90
/usr/sbin/isdnctrl l2_prot ippp0 hdlc
/usr/sbin/isdnctrl l3_prot ippp0 trans
/usr/sbin/isdnctrl encap ippp0 syncppp
/usr/sbin/isdnctrl dialmode ippp0 manual
/sbin/ifconfig ippp0 192.168.33.33 pointtopoint 192.168.33.34 # dummy ips
overwritten anyway
/sbin/route add default ippp0 # when all else fails - more important for
auto dial stuff
/usr/sbin/ipppd /dev/ippp0 file /etc/ppp/ioptions
after that I simply 'isdnctrl dial ippp0' or 'isdnctrl hangup ippp0'
/etc/ppp/ioptions:
user myutvlogin
ipcp-accept-local
ipcp-accept-remote
noipdefault
-vj -vjcomp -ac
-pc -bsdcom #was in examples! header compression disabling, etc.
mru 1524 mtu 1500
defaultroute
the isdn log entries show nothing unusual
the logs show MPP negotiation, He: No We: No
CCP enabled! Trying CCP
CCP: got ccp-unit 0 for link0 (Compresion....)
ccp_resetci!
loca IP address 195.218.108.16
remote IP address 195.218.116.9
The FAQ at http://www.wurtel.demon.nl/i4l-howto-uk.html#SYNCPPP mentions to
'echo 1 > /proc/sys/net/ipv4/ip_dynaddr' so I did that (but I notice it
resets to 0, so I tried adding that line to the start of my isdn start
script)
If anyone can shed any light on what I should do next, I'd greatly
appreciate it.. I've learnt lots but not anywhere near enough unfortunately,
any pointers would be a big help.
Incidentally the box is RH7.1 (apologies to those who I offend!), the card
connects fine under windows, and I can get a PPP stream (right term?) in
minicom after connecting manually.
TIA
Cathal.
More information about the ILUG
mailing list