Aleksander K
2007-01-21 06:13:03 UTC
Hello,
Is it possible to dial a different phone number depending upon
the IP of the packet that caused pppd to try to connect? I can't see
anything indicating so in the documentation, or in days of searching
and posting and hacking.
One way is for the connect script to be called with arguments or env
vars set that indicate the destination IP, but the documentation (man 8
pppd) indicates that this does not happen.
Network: 40+ remote hosts that are dialed on demand from the office
(just the opposite of the usual scenario). It's a data collection and
process control system.
I'm using pppd+wvdial on debian but will do whatever is necessary.
Sincerely,
Aleksander
Is it possible to dial a different phone number depending upon
the IP of the packet that caused pppd to try to connect? I can't see
anything indicating so in the documentation, or in days of searching
and posting and hacking.
One way is for the connect script to be called with arguments or env
vars set that indicate the destination IP, but the documentation (man 8
pppd) indicates that this does not happen.
Network: 40+ remote hosts that are dialed on demand from the office
(just the opposite of the usual scenario). It's a data collection and
process control system.
I'm using pppd+wvdial on debian but will do whatever is necessary.
Sincerely,
Aleksander