Routing Problem

Florian Lohoff flo at rfc822.org
Mon Mar 24 11:47:18 CET 2003


On Sun, Mar 23, 2003 at 08:26:59PM +0100, Stefan Ulrich Hegner wrote:
> Vom Clie komme ich genau bis zur IP 192.168.1.4 - Ich muß doch meiner 
> Linux Box noch sagen, daß Sie alles was über den ppp Link kommt ggf. an 
> die default route (192.168.1.1) weiterreichen muß.

Grundsaetzliches verstaendniss zum Routing. Routing findet _nicht_ statt
auf basis von ursprungsinterface oder ursprungs ip addresse sondern 
_immer_ nach der Ziel IP Addresse.

> Wenn Bridging (damit hatte ich das seinerzeit mit Plip gemacht) ein Hack 
> ist, muß ich meiner Linux Box aber irgendwo sagen, daß sie ggf. Pakete 
> forwaden soll. Das geht doch im Kernel, oder? Oder brauch ich noch was?

Wenn du einer Linux box sagen willst das sie routen soll (Also von einem
auf ein anderes interface) dann nennt sich das "Forwarding" und muss
seperat eingeschaltet werden.

echo 1 >/proc/sys/net/ipv4/ip_forward

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-5201-669912
                        Heisenberg may have been here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20030324/414847b6/attachment.sig>


More information about the Linux mailing list