Ok, here are some results of my tinkering around after receiving all
these suggestions:
1) I put "disable sroutes" in my ppp.conf. Even after this, every time
I do ifconfig tun0, I see all the previous addresses.
2) I put "iface clear" in ppp.linkdown. After doing this, the whole
thing stopped working. The machine would dial real quick and then just
stop. This might have something to do with the paragraph below.
I ought to add that I am running ppp with the following command "ppp
-auto -alias pmdemand". The FreeBSD machine is acting as an Internet
gateway for a bunch of assorted Micro$oft machines. I think using
"iface clear" in ppp.linkdown somehow messed up the aliasing or routing
stuff in the BSD box.
One more thing that I am thinking of trying, perhaps tomorrow if I can
find the time, is not to use -alias on the PPP command line and instead
use NATD for IP masquerading. I am not really too enthusiastic about
doing that since right now everything works, except for the fact of a
growing list of address under tun0. I am not sure how ICQ, FTP, and
various other things used by my users will do with NATD. I guess I will
find out!.
Regards,
Moby.
> I just upgraded to FreeBSD 2.2.8 from 2.2.5. I have the system
> running STABLE as of 02-18-1999. I am running user mode ppp and my
> addresses are dynamically assigned. The ppp.conf I am using is the
> same that I was using with 2.2.5 with no problems. However, with
> 2.2.8 I noticed that upon doing ifconfig tun0, I see a long list of
> addresses. PPP does not seem to be removing the addresses assigned
> when it disconnects! What happens is that the list of address
> displayed by ifconfig for tun0 keeps on growing and growing and
> growing.
> I am not using ppp.linkup or ppp.linkdown. The ppp configuration is
> the same that worked without a flaw under 2.2.5. Does anybody have
> any ideas on what is causing this and how to get rid of the problem?
> Thanks in advance for any help.
> Regards,
> Moby.