Schlagwort-Archive: netzwerk

Fli4L – 1 Router verwaltet 2 getrennte Netze

erstmal fli4l updaten

 

 

was soll erreicht werden?

 

zwei netze, voneinander getrennt, beide internet-zugang

192.168.0.0

192.168.2.0

 

 

Problem:

einer Netzwerkkarte in fli4l zwei Netzwerke zuweisen

 

So gehts :

The fli4l router is also able to do IP aliasing, i.e. to assign multiple IP addresses to a single network adapter. Additional IP addresses are simply specified by linking another network to the same device. When mkfli4l checks the configuration you are informed that you define such an alias–you can ignore the warning in this case.

 

Example:

 

        IP_NET_1=’192.168.6.1/24′

        IP_NET_1_DEV=’eth0′

        IP_NET_2=’192.168.7.1/24′

        IP_NET_2_DEV=’eth0:0′

 

        http://www.fli4l.de/fileadmin/doc/english/html/fli4l-3.10.4/node16.html

 

 

http://spline.fli4l.narkive.com/psOlrx2p/ip-aliasing

 

 

Bisherige Vorgehensweise

 

1. Ein zweites Netzwerk erstellt mit IP_NET

IP_NET_2=’192.168.7.1/24′

        IP_NET_2_DEV=’eth0:0′

 

2. Firewall

INPUT_LIST_N=’4′

INPUT_LIST_4= ‚IP_NET2 ACCEPPT‘

 

FORWARD_LIST_N=’3′

FORWARD_LIST_3=’IP_NET2 ACCEPPT‘

 

 

POSTROUTING_LIST_N=’2′

POSTROUTING_LIST_2=’IP_NET_2 MASQUERADE‘

 

FUNKTIONIERT!