This question really is not FreeBSD specific, but is user ppp specific. I
don't really know where to ask this, but since I know Brian reads this list,
I've got one FreeBSD 2.2.5 machine dialing into another 2.2.5 machine, both
using user ppp. The authentication is done with CHAP. All this works fine.
I'm using the ppp from 12/30/1997 on both the client and server.
The problem is that when the connection is complete, I need the server to
add a route to the network that the client is the gateway for. I don't see
where I would do this. The client machine is dialing into a bank of modems,
so it doesn't get a fixed tty, so I can't tie it to the tty. All that's
really unique is the user name being logged in as, which I use to assign the
IP address in ppp.secret. But where do I add the route? I can't do it in
linkup, because I don't have a unique "my" address. All of the dialins use
the same server address in order to conserve addresses. All that's unique
is the client userid and address.
I also can't do this before the call is made because I don't know what
interface I'll end up using.
Any clues? I've thought about modifying the source to also look up the
client address in the linkup file. Is this such a bad idea?
Thanks in advance.