Date: Fri, 17 Nov 2000 18:17:41 -0800 (PST) From: =?iso-8859-1?q?Greg=20Quinlan?= <gwq_uk@yahoo.com> To: FreeBSD-Questions@FreeBSD.org Subject: Re: PPP dialin problem! (bug) Message-ID: <20001118021741.16086.qmail@web1402.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi everyone,
I e-mailed a short time ago with a ppp routing
problem.
I have found cause/problem (BUG?)!
It is all to do with the incorrect interface been
assigned by the 'add 10.1.5/24 10.1.7.2' within
'ppp.conf'
Instead of assigning the interface for 10.1.7.2 which
is 'tun1' it assigns 'ppp0'.
If I delete the route, then add it manually the
correct interface is assigned.
I have specified in the 'ppplogin' script to use unit
1
=> /usr/sbin/ppp -direct -unit 1 incoming
But this has no effect! I still have to manually make
the route change after each dialin.
So where do I go from here?
Greg
--- Nathan Vidican <webmaster@wmptl.com> wrote: > Greg
Quinlan wrote:
> >
> > Hi everyone!
> >
> > 'I am at a brick-wall'... I have a serious problem
> > with a stable ppp incomming link. I have been
> fighting
> > with for days!!
> >
> > I have an incoming ppp link from a remote site -
> > network 10.1.5.0/24, but if the link drops (modem
> > hangs-up) the route of 10.1.5/24 (remote network)
> to
> > 10.1.7.2 (remote client ip) is not deleted from
> the
> > routing table.
> >
> > When the connection is re-established, the route
> to
> > the remote network 10.1.5.0/24 is not working
> unless
> > the route is deleted then added once more.
> (exactly as
> > it appears)
> >
> > I have tried the 'add!' (in ppp.conf) to remedy
> the
> > problem ... no luck. The extract of the ppp.conf
> > appears below!!
> >
> > Can anyone help please!!!!
> >
> > ps. I also tried things from the online manual,
> ('#'
> > out). I am running 4.1-R -> remote host, 3.5-S the
> > local dialin host.
> >
> > Thanks in advance!!
> >
> > Greg
> >
> > ------8<------ ppp.conf
> >
> > default:
> > set device /dev/cuaa0
> > set log Phase Chat LCP IPCP CCP tun command
> > # Disable PPP Compression
> > # disable pred1
> > # deny pred1
> > # Disable Line Quality Testing
> > # disable lqr
> > # deny lqr
> >
> > incoming:
> > allow users *
> > enable chap
> > disable pap
> > accept dns
> > set dns 10.1.0.254
> > set nbns 10.1.0.254
> > set ifaddr 10.1.7.1 10.1.7.2 255.255.255.0
> > add! 10.1.5.0/24 10.1.7.2
> > enable proxyall
> > set timeout 0
> >
> > ----->8------
> >
> > ------8<----- netstat -rn
> >
> > Internet:
> > Destination Gateway Flags
> Refs
> > Use Netif Expire
> > 10.1/24 link#1 UC
> 0
> > 0 xl0
> > 10.1.0.17 0:d0:b7:83:f7:f2 UHLW
> 0
> > 3519 xl0 1119
> > 10.1.0.18 0:d0:b7:90:8f:2d UHLW
> 0
> > 0 xl0 1005
> > 10.1.0.251 0:60:8:cd:39:89 UHLW
> 2
> > 15362 xl0 1029
> > 10.1.0.254 0:0:4c:d1:8e:54 UHLW
> 0
> > 1885 lo0
> > 10.1.5/24 10.1.7.2 UGSc
> 0
> > 12 tun1
> > 10.1.6/24 10.1.0.251 UGSc
> 0
> > 311 xl0
> > 10.1.7.2 10.1.7.1 UH
> 0
> > 0 tun1
> > 127.0.0.1 127.0.0.1 UH
> 2
> > 333216 lo0
> >
> > ------->8------
> >
__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001118021741.16086.qmail>
