Arghhh .... hi there, oh gurus in the net ...
got a problem: I need to connect my machine via SLIP alternating to
two different service providers to get two different flavours of
internet access. So I need to switch between two different SLIP
setups:
Provider 1 (eunet):
ifconfig sl0 193.96.78.4 193.96.76.1
route add default 193.96.76.1
- and -
Provider 2 (xlink):
ifconfig sl0 193.141.69.186 193.141.69.1
route add default 193.141.69.1
As I understand the docs it should be possible to reconfigure the slip
interface using the ifconfig command, but then a restart of the
internet services (/usr/sbin/rcinet restart) is necessary to notify
all daemons of the changes.
But it doesn't work! I can't manage to reconfigure the slip interface
regardless of stopping or restarting the internet services! Even
running "netsetup" doesn't help! I have to reboot the machine to get
the patches to work.
I flushed the static routing table (/sbin/route flush) and made sure
all slattach's are killed, and everything other I could think of. It
seems the setup of the slip interface is "frozen by an ice monster":
tukan#413# ifconfig sl0
sl0: flags=10<POINTOPOINT>
inet 193.96.78.4 --> 193.96.76.1 netmask ffffff00 ipmtu 296
tukan#414# ifconfig sl0 193.141.69.186 193.141.69.1 ; ifconfig sl0
sl0: flags=11<UP,POINTOPOINT>
inet 193.96.78.4 --> 193.96.76.1 netmask ffffff00 ipmtu 296
===========================
this are the previous values, changes didn't work!
Why didn't "ifconfig sl0 193.141.69.186 193.141.69.1" redefine the
addresses of the slip interface sl0???
Some additional info:
DEC 3000 300X AXP running OSF1 2.0
tukan[314]> uname -a
OSF1 tukan.ffb.eunet.de V2.0 240 alpha
I configured my machine as a master bind server with forwards to the
external name servers of the service providers.
Everything works fine in the initial setup with eunet (DNS, mail, ftp,
www, everything works fine with eunet), and if I patch the initial
setup to xlink *and reboot* everything works fine for xlink.
But I can't manage to switch between the two configurations without
rebooting. My first guess was to use sl0 for eunet and sl1 for xlink,
but this seems not to be possible as I have only one serial port and
one modem (well, one fine working modem).
Any clue? Am I too dull to RTFM? I tried and studied for days...
As usual, I will summarize.
TIA,
Winfried
--
Winfried Huber, Softwarehaus Huber & Boehm, voice: +49 8142 13038
Illerweg 6, D-82140 Olching, Germany fax: +49 8142 18612
win_at_tukan.ffb.eunet.de
Received on Mon Dec 18 1995 - 23:11:16 NZDT