Skip to contentSkip to conversation

Problem with routing for multiple uplinks/providers using

LARTC Mrinal Sinha 1 participant 2 messages Jul 28, 2006 – Jul 31, 2006

lore
Share & tools
lore
#0 lore raw

hi all,
we were trying to configure our system with 2 ethernet catds connected to two different providers using iproute2 so that it recieves and transmits data from both of them. We have followed the configuration as given on lartc's howto
But the most wierd part of the story is that after we restart the system (We have put the script in rc.local) the system works fine and we can ping both our cards from anywhere in the world. But after sometime none of the cards can be pinged from outside but the site running on the system is accessible from everywhere. Does anyone has any idea where or wat we are doing wrong, i will really appreciate your help.
Its just so confusing, hopefully its a silly error,
(We are running FC-4 with dual Xeon processors)

thnx in advance,
Mrin

---------------------------------
Here’s a new way to find what you're looking for - Yahoo! Answers

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

serban,
thanks for the reply, i dont think thers any irq takin place still i am a newbie so will wish if u chk the two lines which has anythin to do with the eth*

169:     723767     725131     723893     724004   IO-APIC-level  uhci_hcd:usb2, eth0
185:      57275      56839      56322      56789   IO-APIC-level  uhci_hcd:usb4, eth1

we have made an rc.init file which contains the required command for iproute to be executed and this file gets executed by rc.local. So the rc.init file is,

#!/bin/sh

P1_NET=144.16.129.0/20
P2_NET=202.141.12.177/28
IF1=eth0
IF2=eth1
T1=vsnl
T2=ernet
P1=144.16.141.30
P2=202.141.12.177
IP1=144.16.129.50
IP2=202.141.12.183

ip route add $P1_NET dev $IF1 src $IP1 table $T1

ip route add default via $P1 table $T1

ip route add $P2_NET dev $IF2 src $IP2 table $T2

ip route add default via $P2 table $T2

ip route del default

ip route add default scope global nexthop via 144.16.141.30 dev eth0 weight 1 nexthop via 202.141.12.178 dev eth1 weight 1

ip route add $P1_NET dev $IF1 src $IP1
ip route add $P2_NET dev $IF2 src $IP2
ip rule add from $IP1 table $T1
ip rule add from $IP2 table $T2
touch /var/lock/subsys/local
echo "keycode 14 = BackSpace" | loadkeys

hope this helps in understanding the problem

thanks and Regards,
Mrinal

Serban Murariu <[email protected]> wrote: could you paste your rc.local?

also make sure that your nics are not doing any irq sharing; cat
/proc/interrupts and look for a line that states (for example) 5:
409350163 XT-PIC eth2, eth1

---------------------------------
Here’s a new way to find what you're looking for - Yahoo! Answers

---------------------------------
Here’s a new way to find what you're looking for - Yahoo! Answers

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc