Displaying 2 results from an estimated 2 matches for "dsl_ip".
Did you mean:
del_ip
2006 Mar 27
0
Re: Re: multiple isp. masqueraded machines somtimes work and somet
...a defined time in crontab the following script will run and if
>my fw is unable to ping www.google.com then it will change my gateway
>as well as restart the shorewall...but the point to check is how long
>does it takes to find host unreachable....
>#!/bin/sh
>CABLE_IP=ISP1 gw ip
>DSL_IP=ISP2 gw ip
>
>## function to switch to dsl router
>switch_dsl()
>{
>route del default
>route add default gw $DSL_IP
>}
>
>## function to switch to cable router
>switch_cable()
>{
>route del default
>route add default gw $CABLE_IP
>}
>
>if ping -c1 -q...
2004 Dec 19
0
router problem
...ed your help.I try wondersharper but without results.
With this script i start my box now:(is this correct?)
INET_IFACE=eth0
INET_NET=62.85.71.0/28
INET_GW=62.85.71.1
INET_IP=62.85.71.10
INET_BCAST_ADRESS=62.85.71.15
INET_MASK=255.255.255.240
DSL_IFACE=eth2
DSL_NET=81.198.4.0/28
DSL_GW=81.198.4.1
DSL_IP=81.198.7.159
DSL_BCAST_ADRESS=81.198.7.255
DSL_MASK=255.255.252.0
LAN_IFACE=eth1
LAN_IP=10.10.10.0
LAN_NET=10.10.10.0/24
LAN_MASK=255.255.255.0
LAN_BCAST=10.10.10.255
INET_IP1=62.85.71.2
INET_IP2=62.85.71.3
INET_IP3=62.85.71.4
INET_IP4=62.85.71.5
INET_IP5=62.85.71.6
INET_IP6=62.85.71.7
INET_IP7=62....