[OT?] routing w/o gateway ...

From: Enrico Weigelt (weigelt@nibiru.pauls.erfurt.thur.de)
Date: Thu Apr 20 2000 - 07:21:41 EST


hi there,

i'd like to know if it's possible to tell a linux router
to route packets from one net to another, even when it's
not used as an IP-gateway ? (sounds like firewall)

so it work like this:

host A in net 1 wants to send a packet to host B in net 2.
host A's internal routes point net 1 and net 2 to the same
interface (no gateway for net2).
(virtually the same network, but physically two different nets)
the router then would lie on host B's address from A's view,
take the packets and send them to the other (phys.) net.

sounds like an kind of masquarading.
(would also mean to masq. arp)

this would a) ease network administration (only the admin
has to know the gateways IP-addr) and b) reduce the size
of the routed packets.

bye,
ew.

-----------------------------------------------------------------
Nobody will ever need more than 640 kb RAM.
                            -- Bill Gates, 1983
Windows 98 requires 16 MB RAM.
                            -- Bill Gates, 1999
Nobody will ever need Windows 98.
                            -- logical conclusion.
-----------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:17 EST