Skip to contentSkip to conversation

How to route internal addresses?

LARTC Serban Murariu 2 participants 3 messages Mar 21, 2004

lore
Share & tools
lore
#0 lore raw

Hey,
i have the following problem/question:
how can i route internal addresses?
my setup is sumthing like
__________ __________
192.168.1.0 | |192.168.2.0

                  | |
            |---------------|
            |               |
            | linux box |
            |---------------|

and the linux box will not route between theese internal addresses (because they're non-routable i guess). I am now using nat but that complicates my config alot. Do you have any ideea on how to fool the linux machine into routing this addresses?
thank you
(if i said anything stupid, sorry :)

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

#1 lore raw

Sorry to bother you, it was because of a typo :)

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

#2 lore raw
In reply to Serban Murariu

Although the original question was retracted, this does bring up an ionteresting point - how to make Linux treat certain IP ranges on certain devices as though it were a hub or switch, rather than a router, and/or route over the remainder.

This is a much more specific and complex problem than merely copying traffic over via a bridge, as it means you can have the following scenario:

Subnets A, B, C come in on card X
Subnets D, E come in on card Y
Subnet F comes in on card Z

A goes to Y as per a hub, but routes to Z
B goes to Y, Z as a switch
The remainder are routed over all

Arguably, hub/switch dynamics is beyond the scope of a routing list, but nobody can argue that this isn't an advanced problem in networking.

Quoted 4 lines · --- Serban Murariu

Hey,
i have the following problem/question:
how can i route internal addresses?
my setup is sumthing like

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/