3 interfaces in one linux box

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

first of all apologize for my bad english.

the facts :
			 +-------+
leased line--------- eth0| Linux |
			 |  box  |-eth1------subnet/switch ---clients, servers
cablenetwork ------- eth2+-------+


The eth0 interface has 5 aliased ip addresses which portforwarded to
servers into subnet.
The eth2 interface has 1 ip address.
The eth1 interface used for subnet.
The linux box masquerades with ipchains (2.2.19 kernel).

My goal:

I would like to route the outgoing packets (www, mail from clients) on my cablenetwork
line, and the incoming packets for servers (dns etc in subnet) should come
on the leased line. On the leased line should work the ip aliasing and the
portforwarding.

Any idea ?
 
 
-- 
Géczi Szabolcs
GPG: http://www.goodwill.hu/~szabszi/szabszi.asc
Fingerprint: B36C 150C C316 5A15 DB5F  183A 303B 5AEB 36C2 3162
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux