All of lore.kernel.org
 help / color / mirror / Atom feed
* configuring linux machine as a router with two external interfaces
@ 2005-10-07 12:27 sureshmadhu
  2005-10-07 15:26 ` Marek Zachara
  0 siblings, 1 reply; 2+ messages in thread
From: sureshmadhu @ 2005-10-07 12:27 UTC (permalink / raw)
  To: netfilter

hi,
     I couldn't write the script for configuring my linux machine that 
has two external MAC interfaces as a router. The NAT should route the 
packet from internal network to one of the two external mac interfaces 
acoording to load balance in the each interface.
can anybody help me to solve this problem?


with regards..

Suresh Madhu D
Project Trainee
e-consystems
chennai.



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

* Re: configuring linux machine as a router with two external interfaces
  2005-10-07 12:27 configuring linux machine as a router with two external interfaces sureshmadhu
@ 2005-10-07 15:26 ` Marek Zachara
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Zachara @ 2005-10-07 15:26 UTC (permalink / raw)
  To: netfilter

I don't think netfilter is the best tool for the job. 
There is a kernel feature that allows bonding of two interfaces for traffic 
sharing and traffic equalization afair (although i havn't used it 
personally).
You can of course share the traffic with netfilter by marking packets in 
pre-routing and then routing them according to netfilter mark - but you must 
define yourself how to distribute the traffic between interfaces - i don't 
recall any target that could serve as a classic load balancing.

Marek


On Friday 07 of October 2005 14:27, sureshmadhu wrote:
> hi,
>      I couldn't write the script for configuring my linux machine that
> has two external MAC interfaces as a router. The NAT should route the
> packet from internal network to one of the two external mac interfaces
> acoording to load balance in the each interface.
> can anybody help me to solve this problem?
>
>
> with regards..
>
> Suresh Madhu D
> Project Trainee
> e-consystems
> chennai.


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

end of thread, other threads:[~2005-10-07 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-07 12:27 configuring linux machine as a router with two external interfaces sureshmadhu
2005-10-07 15:26 ` Marek Zachara

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.