[SUMMARY] Dynamically switching IP address from Ethernet to ATM/ELAN interface

From: Peter Murray <pem_at_po.cwru.edu>
Date: Tue, 14 Apr 1998 15:09:24 -0400

Well, the fix was quite easy. I forgot to remove the IP address from the
ethernet interface before assigning it to the ELAN and bringing up that
interface. Using the command

  ifconfig tu0 delete [my-ip-address]

..before ifconfig'ing the ELAN interface did the trick.

Thanks to Laurent Deniel <deniel_at_worldnet.fr> for that tip. I know this
gets said a lot, but this list is a wonderful asset. Less than an hour
later I got an answer from someone in another part of the work.


Peter

--On Tue, Apr 14, 1998 2:09 PM -0400 "Peter Murray" <pem_at_po.cwru.edu> wrote:


> Last month I posted a question to this group about getting an ATMworks 351
> board usable under Digital UNIX. A few folks suggested upgrading to DUNIX
> 4.0D, which has better ATM support, and that has done the trick. I now
have
> an ethernet (built-in TP) and an ATM (using an ELAN) interface out on the
> net under two different IP addresses. What I'd like to do is make the ATM
> interface the primary one, but fall back to the Ethernet in case of
problems
> with the ATM network (I'd do this in a cron job that would fire off
> periodically and attempt to ping the gateway router). We are a fully
> bridged network, so this is in theory possible.
>
> I've tried using `ifconfig` to down the ethernet interface and the `route`
> command to delete the associated routes. Next, I use `ifconfig` to up the
> ATM interface with the IP address from the ethernet side. When I go to
add
> routes again, though, the `netstat -rn` command show that they are still
> using the "tu0" ethernet interface, not the "elan0" ATM interface. Any
> thoughts on how to get the internal route tables to use the "elan0"
> interface?
>
>
> Thanks in advance...
>
> Peter
> --
> Peter Murray, Library Systems Manager pem_at_po.cwru.edu
> Digital Media Services http://www.cwru.edu/home/pem.html
> Case Western Reserve University, Cleveland, Ohio W:216-368-5888
>



--
Peter Murray, Library Systems Manager                    pem_at_po.cwru.edu
Digital Media Services                 http://www.cwru.edu/home/pem.html
Case Western Reserve University, Cleveland, Ohio          W:216-368-5888
Received on Tue Apr 14 1998 - 21:10:24 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT