Skip to contentSkip to conversation

3 interfaces in one linux box

LARTC Géczi Szabolcs 1 participant 1 message Jul 12, 2002

lore
Share & tools
lore
#0 lore raw

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 ?

Signature · 6 lines
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/