[Techtalk] routing between networks...

Nils Philippsen nils at wombat.dialup.fht-esslingen.de
Wed Aug 28 21:52:55 EST 2002


On Wed, 2002-08-28 at 21:28, Walt wrote:
> I have two internal networks (10.0.0.* & 10.0.1.*)
> connected to the same redhat linux box. I need
> to be able to route network traffic between them.
> 
> Can someone give me some pointers on where
> to start/what to use? Do I need to setup IPTables
> or is there a more seamless way of integrating
> the networks?

Set net.ipv4.ip_forward to 1 in /etc/sysctl.conf and that should be it:

[...]
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
[...]

Afterwards, "sysctl -p". You don't need to mess with static routes as
long as all can be found on the default gateway or attached interfaces.

Nils
-- 
Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg //
+49.7152.209647
   nils at wombat.dialup.fht-esslingen.de / nils at redhat.de / nils at lisas.de
   PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011
       Ever noticed that common sense isn't really all that common?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://linuxchix.org/pipermail/techtalk/attachments/20020828/29ba6418/attachment.pgp


More information about the Techtalk mailing list