Skip to contentSkip to conversation

Basic iproute configuration questions

LARTC Mailing List Account 2 participants 2 messages Feb 8, 2005

lore
Share & tools
lore
#0 lore raw

I've managed to get myself confused with what is probably quite simple so if there's any definitive documentation then please give me pointers. I've read and tried the nano.txt document, that's what I've based my current setup on and it isn't working at the moment.

I have two external links, a DSL link on eth1 and a cable link on eth2. Both acquire their addresses via DHCP. The local network lives on eth0 and has a static IP. The local network uses NAT to the outside world.

I need to be able to load balance between the two external links for general outgoing traffic, force all outbound smtp traffic via eth1 and be able to handle inbound traffic to various servers (IMAP, web, SMTP, etc) on either link. My starting point is an old Pentium-2 box with three network cards, running a fully-patched version of FC2 (kernel 2.6.10-1.12_FC2).

I had an old version that sort of worked on RH7.3 but it didn't do load balancing (in those days the DSL link was an ISDN link so it wasn't important) and handling inbound stuff was a crude hack[*] that I'm sure isn't the best way to do things.

So, what do I need to do? Am I missing a required kernel patch or should the stock kernel be capable of what I want? Argh!

Dave
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

If nano-howto doesn't work, you should consult my different approach:
http://selab.edu.ms/twiki/bin/view/Networking/MultihomedLinuxNetworking
the tutorial comes with a completed daemon so you have a handy solution
http://selab.edu.ms/twiki/bin/view/Networking/RoutesKeeperProject

Quoted 22 lines · Mailing List Account

I've managed to get myself confused with what is probably quite simple so if there's any definitive documentation then please give me pointers. I've read and tried the nano.txt document, that's what I've based my current setup on and it isn't working at the moment.

I have two external links, a DSL link on eth1 and a cable link on eth2. Both acquire their addresses via DHCP. The local network lives on eth0 and has a static IP. The local network uses NAT to the outside world.

I need to be able to load balance between the two external links for general outgoing traffic, force all outbound smtp traffic via eth1 and be able to handle inbound traffic to various servers (IMAP, web, SMTP, etc) on either link. My starting point is an old Pentium-2 box with three network cards, running a fully-patched version of FC2 (kernel 2.6.10-1.12_FC2).

I had an old version that sort of worked on RH7.3 but it didn't do load balancing (in those days the DSL link was an ISDN link so it wasn't important) and handling inbound stuff was a crude hack[*] that I'm sure isn't the best way to do things.

Quoted 8 lines

So, what do I need to do? Am I missing a required kernel patch or should the stock kernel be capable of what I want? Argh!

Dave
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/