RE: redundancy with linux and two NIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want that too!

The only immediate way I can imagine that happening is writing a monitoring script that keeps checking the availability of each channel, and then when it fails, call a script to modify your iptables and routing configuration to point to the new configuration. I sorta have this setup, but I haven't implemented the poller, so I need to manually switch over when there is a failure...

If anyone knows a more elegant approach, I am all ears.

-----Original Message-----
From: Ivan Rodriguez [mailto:ivanoch79@xxxxxxxxxxxx] 
Sent: Friday, June 13, 2003 10:17 AM
To: netfilter@xxxxxxxxxxxxxxxxxxx
Subject: redundancy with linux and two NIC

Hi 
i have the next situation

                          ADSL
                   eth1--------->
192.168.64.x --->LinuxBox
                   eth0--------->
                          DS0
 
my Linux box is a GW i need the following:
         

        if etho is down then all traffic is routed
        by eth1 and  if eth1 is down then all 
        traffic is routed by eth0

it is posible ?
please help me and excusme mi english is not god


Destination     Gateway         Genmask         Flags 
 MSS Window  irtt
Iface

148.223.133.227 192.168.65.1    255.255.255.255 UGH   
  40 0          0
eth1

148.223.182.205 0.0.0.0         255.255.255.255 UH    
  40 0          0
ppp0

192.168.65.0    192.168.65.1    255.255.255.0   UG    
  40 0          0
eth1

192.168.65.0    0.0.0.0         255.255.255.0   U     
  40 0          0
eth1

10.0.0.0        0.0.0.0         255.0.0.0       U     
  40 0          0
eth0

127.0.0.0       0.0.0.0         255.0.0.0       U     
  40 0          0
lo

0.0.0.0         148.223.182.205 0.0.0.0         UG    
  40 0          0
ppp0
























_________________________________________________________
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux