Linux Netfilter discussions
 help / color / mirror / Atom feed
* redundancy with linux and two NIC
@ 2003-06-13 17:16 Ivan Rodriguez
  2003-06-13 19:19 ` Ramin Dousti
  0 siblings, 1 reply; 4+ messages in thread
From: Ivan Rodriguez @ 2003-06-13 17:16 UTC (permalink / raw)
  To: netfilter

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


^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: redundancy with linux and two NIC
@ 2003-06-13 17:44 Daniel Chemko
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Chemko @ 2003-06-13 17:44 UTC (permalink / raw)
  To: Ivan Rodriguez, netfilter


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@yahoo.com.mx] 
Sent: Friday, June 13, 2003 10:17 AM
To: netfilter@lists.netfilter.org
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



^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: redundancy with linux and two NIC
@ 2003-06-15 22:35 George Vieira
  0 siblings, 0 replies; 4+ messages in thread
From: George Vieira @ 2003-06-15 22:35 UTC (permalink / raw)
  To: netfilter

You need to use iproute2 for redundancy routing. iptables isn't really for that kind of job I think..

Here's a link that can help you that I found to be pretty good...

http://www.samag.com/documents/s=1824/sam0201h/0201h.htm


Thanks,
____________________________________________
George Vieira
Systems Manager
georgev@citadelcomputer.com.au

Citadel Computer Systems Pty Ltd
http://www.citadelcomputer.com.au

Phone   : +61 2 9955 2644
HelpDesk: +61 2 9955 2698
 

-----Original Message-----
From: Ivan Rodriguez [mailto:ivanoch79@yahoo.com.mx]
Sent: Saturday, June 14, 2003 3:17 AM
To: netfilter@lists.netfilter.org
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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-15 22:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-13 17:16 redundancy with linux and two NIC Ivan Rodriguez
2003-06-13 19:19 ` Ramin Dousti
  -- strict thread matches above, loose matches on Subject: below --
2003-06-13 17:44 Daniel Chemko
2003-06-15 22:35 George Vieira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox