Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Two different ISPs depending on the time

0 views
Skip to first unread message

Bernd Messing

unread,
Nov 19, 2000, 3:00:00 AM11/19/00
to
Hi,

I have a Linux-Gateway with SuSE Linux 7.0 Professional connecting to one
ISP by ISDN. I use Dial-On-Demand so that this gateway dials when one of two
Windows-PCs wants something in the internet. I am using masquerading and the
gateway works fine with this one ISP.

But now I want the Linux-PC to connect to one ISP when it's beetween 9 AM
and 6 PM beetween monday and friday and to another ISP during the other time
to save money.
Furthermore I want the Linux-PC to hang up at the time when the cheapest
changes to ensure that always the cheapest ISP is used.

I use the following IP-adresses in my network
192.168.100.101 and 192.168.100.102 are the two Windows-PCs
192.168.100.100 is my Linux-PC.
192.168.90.100 is the IP-adress of the ippp0-device (Fritz-Card-Classic) and
192.168.90.101 is the one of the Point-To-Point-Partner which are replaced
by dynamic IP-adresses when connected.

I think it's also necessary to change the DNS, because I use the DNS of my
ISP.

I don't know if you need more information about my problem...

I'd like best an answer in German, but English is also OK.

Thanks in advance,
Sebastian Messing.

Sebastian Messing

unread,
Nov 19, 2000, 6:14:48 PM11/19/00
to
Sorry, I used the wrong name and E-Mail-Adress, because some options were
wrong setup.
_My name_ is Sebastian Messing mailto:smes...@gmx.de
The other e-mail-adress (the one of Bernd Messing) is not used and nobody
looks for mails there.

Sorry.


Bill Unruh

unread,
Nov 19, 2000, 8:17:24 PM11/19/00
to
In <3a185...@news.arcor-ip.de> "Bernd Messing" <bernd....@arcormail.de> writes:

]Hi,

Write two scripts-- connect1 connect2 each of which will connect you to
the appropriate ISP. Then set up a cron entry (using crontab -e) so that
at 9 AM a link is made from connect to connect1 and at 5PM from connect
to connect2.
Then at9AM and at 5 also bring down the connection.

0 new messages