SUMMARY: ifconfig

From: Dan Robb (dan@trdlnk.com)
Date: Fri Feb 11 2000 - 08:55:29 CST


Many thanks to Mark <bergman@merctech.com> and "F.M. Taylor"
<root@uranium.indstate.edu> for the suggestions.

Both said to configure another route to the secondary router with a higher
metric. Another suggestion was to write a script that monitors the state of the
interface and reconfigures it when the interface goes down.

Thanks again. The original post is below.

------------- Begin Forwarded Message -------------

Hello Gurus,

I have checked man pages, and docs.sun.com to try and figure this out, but have
uncovered nothing useful.

The machine in question is running 5.6. There are no routing protocols in
place; we are using static routes.

I have three remote sites connected to my main site via DSL. I am trying to
implement a backup ISDN solution in the event of DSL failure.

ifconfig -a shows:

le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
        inet xxx.xxx.xxx.xxx netmask ffffff00 broadcast xxx.xxx.xxx.xxx
le0:1: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
        inet xxx.xxx.xxx.xxx netmask fffffff0 broadcast xxx.xxx.xxx.xxx
le0:2: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
        inet xxx.xxx.xxx.xxx netmask fffffff0 broadcast xxx.xxx.xxx.xxx
le0:3: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
        inet xxx.xxx.xxx.xxx netmask fffffff0 broadcast xxx.xxx.xxx.xxx

Is there any way to set it so that if one or more of the logical units are
flagged DOWN, a secondary inet address (the address of the BRI port on the ISDN
router) will be used instead? I did make note of the -ad flag for ifconfig but
it seemed to me that you could only apply one command to any given DOWN
interface and I need to be interface specific since I have different BRI
addresses for the different interfaces.

Any help is greatly appreciated. Thanks for your time. I will summarize.

Dan

---
------
Dan Robb	
Systems Administrator
TradeLink L.L.C.
dan@trdlnk.com

------------- End Forwarded Message -------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:02 CDT