All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] routing to 2 different Internet connections
@ 2002-09-09 15:19 Rimas
  2002-09-09 15:31 ` Martin A. Brown
  2002-09-10 10:39 ` Rimas
  0 siblings, 2 replies; 3+ messages in thread
From: Rimas @ 2002-09-09 15:19 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

Hi folks,

I have iptables rules:
iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
iptables -A POSTROUTING -t nat -o eth2 -j MASQUERADE
That will masquerade all packets going out of the two external interfaces.

How to make a routing with iproute2 to direct packets from 
10.105.105.100-105 via eth0 and to direct packets from the rest of and
10.105.105.0/24 via eth2 ?

Thanks in advance

Rimas

[-- Attachment #2: Type: text/html, Size: 1111 bytes --]

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

end of thread, other threads:[~2002-09-10 10:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-09 15:19 [LARTC] routing to 2 different Internet connections Rimas
2002-09-09 15:31 ` Martin A. Brown
2002-09-10 10:39 ` Rimas

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.