I'm having a problem with ipppd.

I'm using it with its demand option, so i have a default route to 0.0.0.0
via ippp0

ipppd seems to automatically add a route to the network number of the ppp
link.

ppp link will come up and down several times, as it should, then sudenly the
route to 0.0.0.0 via ippp0 vanishes, usualy being replaced by a host route
to the other
end of the ppp link.

I have tried the -defaultroute option that has no effect.

typing route add default ippp0 temporarily resolves the problem.

Is there a way of finding the process that manipulated the routing table?



ipppd is version i2.2 pl10

Here are the config files:

#etc/ppp/ioptions
ipcp-accept-local       #%Ok, You win
ipcp-accept-remote      #%Ok, You win again
debug                   #%Whats happening
bsdcomp 10,10           #Allow bsd compresstion
-chap                   #Don't know that chap, we do pap
user ultranvs           #Thats our name for login
predictor1              #Allow predictor compression
deflate 10,10           #Allow deflate compression
#+mp                    #Try Multilink ppp - cost'ya'
-defaultroute           #%Don't let ipppd manipulate routes

#Lines with #% were added to try and resolve problem, they had no effect.

#/etc/ppp/isdn.start.sync
modprobe hisax type=20 protocol=2
modprobe ppp_deflate
modprobe bsd_comp

echo "Configuring ISDN"
DEVICE="ippp0"
NVSMSN=01223423874
#Green ROMP
ISPMSN1=08452120667
#Red ROMP
ISPMSN2=08450798667
NVSIP=158.152.184.248
ISPIP=158.152.1.222

#Other config
isdnctrl verbose 3
isdnctrl system on

#Setup the isdn channel
isdnctrl addif $DEVICE

#Lets do ppp
isdnctrl encap $DEVICE syncppp

#My name is...
isdnctrl eaz $DEVICE $NVSMSN

#syncPPP uses hdlc
isdnctrl l2_prot $DEVICE hdlc

#Try these numbers in order to dial out
#Add to top of list
isdnctrl addphone $DEVICE out $ISPMSN1
#Add to top of list
isdnctrl addphone $DEVICE out $ISPMSN2

#Make isdn do the dialing
isdnctrl dialmode $DEVICE auto

#Make a device
isdnctrl huptimeout $DEVICE 60
#Give it an ip address (ours)
ifconfig $DEVICE $NVSIP
#All unknown dest packets go here
route add default ippp0

#Configure device non arp non broadcast
ifconfig $DEVICE -arp -broadcast
ipppd ippp0


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to