Re: Recent interface/routing changes breaks on-demand PPP (+sppp)

2001-03-30 Thread Ruslan Ermilov
[Redirected to -net] On Fri, Mar 30, 2001 at 03:39:40PM +0200, Alexander Leidinger wrote: > On 30 Mar, Ruslan Ermilov wrote: > > >> What to do in this situation? I didn't want add the defaultroute > >> everytime (POLA). > >> > > But if we don't do this, we may end up using the wrong source IP >

Re: Recent interface/routing changes breaks on-demand PPP (+sppp)

2001-03-30 Thread Alexander Leidinger
On 30 Mär, Ruslan Ermilov wrote: >> What to do in this situation? I didn't want add the defaultroute >> everytime (POLA). >> > But if we don't do this, we may end up using the wrong source IP > address. Without my fixes, try this: > > 1) ifconfig isp1 X.X.X.1 > 2) route add default -ifa

Re: Recent interface/routing changes breaks on-demand PPP (+sppp)

2001-03-30 Thread Ruslan Ermilov
On Fri, Mar 30, 2001 at 01:36:39PM +0200, Alexander Leidinger wrote: > On 30 Mar, Ruslan Ermilov wrote: > >> - if I put the interface down the first time after a login I have to > >>readd the defaultroute (only once, after additional "ifconfig > >>down/up" I didn't have to readd the defau

Re: Recent interface/routing changes breaks on-demand PPP (+sppp)

2001-03-30 Thread Alexander Leidinger
On 30 Mär, Ruslan Ermilov wrote: >> - if I put the interface down the first time after a login I have to >>readd the defaultroute (only once, after additional "ifconfig >>down/up" I didn't have to readd the defaultroute, it stays) >> > This is only possible if you have a routing daemon r

Re: Recent interface/routing changes breaks on-demand PPP (+sppp)

2001-03-30 Thread Alexander Leidinger
On 19 Mär, Ruslan Ermilov wrote: > 3. The routing code was fixed to delete routes which use non-existent > interface addresses. This code will wipe such a route. > 5. This affects not only ppp(8). Add default route that points to the > LAN; change the IP address on interface; observe