All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] multiple inet and local connectivity
@ 2002-08-06 19:21 Stephan Jager
  2002-08-06 20:17 ` Arthur van Leeuwen
  0 siblings, 1 reply; 2+ messages in thread
From: Stephan Jager @ 2002-08-06 19:21 UTC (permalink / raw)
  To: lartc

Hi,

I have 1 local network (eth0) and 2 internet connections.
I used the technique described at 4.2 in the LARTC to make a propper
connection to/from the both internet connections. This works fine.

I also use SNAT to provide an internet connection from my local net
(eth0). I use this iptables line:

iptables -A POSTROUTING -t nat -o eth1 -j SNAT --to-source 123.123.123.123
(123.123.123.123 is the IP address of the eth1 interface).

This workes fine. The problem is that I can't connect from my local
network the the IP address of eth1 and eth2!

For example: 10.0.0.2 -> 123.123.123.123 doesn't work, but
             10.0.0.2 -> 10.0.0.1 does work (eth0 address)

Also 10.0.0.2 -> 234.234.234.234 ain't working (eth2 address)

I can't seem to fix it. I think I need some additional routing rules, but
which ones I can't seem to find out.

Anybody got any tips?

Stephan


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2002-08-06 20:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-06 19:21 [LARTC] multiple inet and local connectivity Stephan Jager
2002-08-06 20:17 ` Arthur van Leeuwen

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.