netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Basic Routing
@ 2008-11-02 16:15 Daniel L. Miller
  2008-11-02 17:03 ` Rob Sterenborg
  0 siblings, 1 reply; 45+ messages in thread
From: Daniel L. Miller @ 2008-11-02 16:15 UTC (permalink / raw)
  To: netfilter

To act as a router, where a box has two NIC's, and is connecting a LAN 
with 192.168.0.0/24 to the Internet - is SNAT required?  Or can this be 
accomplished without NAT?

-- 
Daniel

^ permalink raw reply	[flat|nested] 45+ messages in thread
* Basic routing
@ 2014-10-04  1:10 John Smithee
  2014-10-04  1:24 ` John Smithee
  2014-10-04  1:34 ` Neal Murphy
  0 siblings, 2 replies; 45+ messages in thread
From: John Smithee @ 2014-10-04  1:10 UTC (permalink / raw)
  To: netfilter

Hi,

I've 2 NICs on a machine, both attached to seperate networks
(192.168.68.0/24 and 192.168.69.0/24). I'm trying to set up a
basic gateway (or routing?) between the two networks.

The first network has a gateway to other networks behind it,
it can reach all networks well, incl. the first network.

The second network can reach the first, but reaching anything
beyond (ie. the other networks behind the first network) is
somehow not possible.

Only IPv4 is used, and IP forwarding on the machine is enabled (ie. 
net.ipv4.ip_forward=1 in /etc/sysctl.conf).

Is this a classical routing issue or has this to be done via iptables?

I rather would like to keep the original IPs in the packet headers,
ie. not use NAT, and also not use bridging.
How can this be done?


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

end of thread, other threads:[~2014-10-06  9:41 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-02 16:15 Basic Routing Daniel L. Miller
2008-11-02 17:03 ` Rob Sterenborg
2008-11-02 18:43   ` Daniel L. Miller
2008-11-02 19:53     ` Rob Sterenborg
2008-11-03  1:59       ` Daniel L. Miller
2008-11-02 20:04     ` Grant Taylor
2008-11-02 20:51     ` Grant Taylor
2008-11-03  1:52       ` Daniel L. Miller
2008-11-03  2:34         ` Grant Taylor
2008-11-03 19:29           ` Daniel L. Miller
2008-11-03 19:39             ` Daniel L. Miller
2008-11-03 20:26               ` Grant Taylor
2008-11-05  0:00                 ` Daniel L. Miller
2008-11-05  5:21                   ` Rob Sterenborg
2008-11-05 15:56                     ` Grant Taylor
2008-11-05 18:22                       ` Rob Sterenborg
2008-11-05 18:30                         ` Grant Taylor
2008-11-05 19:49                           ` Rob Sterenborg
2008-11-05 15:24                   ` Grant Taylor
2008-11-03 23:40               ` Amos Jeffries
2008-11-04 23:13             ` Grant Taylor
2008-11-04 23:53               ` Daniel L. Miller
2008-11-05 12:24                 ` John Haxby
2008-11-05 17:31                   ` Grant Taylor
2010-09-20 21:40                     ` Daniel L. Miller
2010-09-20 23:41                       ` Jan Engelhardt
2010-09-21  3:34                       ` Grant Taylor
2008-11-05 17:17                 ` Grant Taylor
2008-11-02 19:06   ` Grant Taylor
2008-11-03 10:54     ` Pascal Hambourg
2008-11-03 16:35       ` Grant Taylor
  -- strict thread matches above, loose matches on Subject: below --
2014-10-04  1:10 Basic routing John Smithee
2014-10-04  1:24 ` John Smithee
2014-10-04  8:50   ` George Botye
2014-10-04  1:34 ` Neal Murphy
2014-10-04  2:52   ` John Smithee
2014-10-04  3:05     ` Dennis Jacobfeuerborn
2014-10-04  5:02     ` Neal Murphy
2014-10-04  7:04     ` John Lister
2014-10-04 11:06       ` John Smithee
2014-10-04 13:56         ` Thomas Bätzler
2014-10-04 15:07           ` John Smithee
2014-10-04 17:44             ` John Smithee
2014-10-05 15:41               ` John Lister
2014-10-06  9:41               ` André Paulsberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).