RHEL 5.6 als Router

edit /etc/sysctl.conf

set “net.ipv4.ip_forward” from 0 to 1 to enable Routing on ipv4

reread conf with:

/sbin/sysctl -p

for static routing edit

/etc/sysconfig/network-scripts/route-eth0

or

/etc/sysconfig/network-scripts/route-eth1

dependent from reachable networks on this interface

example entry:   10.131.0.0/24 via 192.168.131.1

 

 

windows :

route add  ZielNetz MASK ZielNetMask ZielGateway IF 10

 

 

 

Speichere in deinen Favoriten diesen permalink.

Schreibe einen Kommentar