Skip to contentSkip to conversation

Core Router with Multiple Uplink Source Routing

DISCUSSION Mark Seamans 2 participants 2 messages Jun 17, 2003

lore
Share & tools
lore
#0 lore raw

I have a linux box with a 4 port t1 card. I have been screwing around with various solutions (ip route, tc, etc...) to direct source traffic via "my" preferred out-going route.
So this is what I got:
To sets of IP's: One from uplink "A", one from uplink "B". Wireless and my core equipment are on "A"
Dialup are on "B"
Now since I am not running BGP yet, I know that I will have to route them the corrisponding uplink provider. But, this will be the fallback if BGP fails and the temporary solution why we get BGP working.
I see various lists and they suggest that iptables is the best way. If someone out there has this running, please email me any script that would be helpful. It seems that I always gets a portion, but not the missing link.

Thanks,

Mark
[email protected]

#1 lore raw

Your problem definition is vague. What do you want? To route the packets out with src of A to provider A and the same thing with B?

If so:

ip ro add from A/whatever via gw-A
ip ro add from B/whatever via gw-B

Ramin

Quoted 19 lines · Mark Seamans

I have a linux box with a 4 port t1 card. I have been screwing around with various solutions (ip route, tc, etc...) to direct source traffic via "my" preferred out-going route.
So this is what I got:
To sets of IP's: One from uplink "A", one from uplink "B". Wireless and my core equipment are on "A"
Dialup are on "B"
Now since I am not running BGP yet, I know that I will have to route them the corrisponding uplink provider. But, this will be the fallback if BGP fails and the temporary solution why we get BGP working.
I see various lists and they suggest that iptables is the best way. If someone out there has this running, please email me any script that would be helpful. It seems that I always gets a portion, but not the missing link.

Thanks,

Mark
[email protected]