3.9 Additional routes (optional)

IP_ROUTE_N

Number of additional network routes. Additional network routes are mandatory if e.g. other routers in the LAN exist which have to be used to access other networks.

Normally, you do not need to specify any other network routes.

Default setting: IP_ROUTE_N='0'

IP_ROUTE_x

The additional routes IP_ROUTE_1, IP_ROUTE_2, ... are structured as follows:

        network/netmaskbits gateway

In this case, network is the network address, /netmaskbits the net mask using the CIDR notation and gateway the address of the router needed for accessing the other network. Obviously, the gateway and the fli4l router are required to be in the same network! For example, if the network 192.168.7.0 with net mask 55.255.255.0 can be accessed through the gateway 192.168.6.99 you have to add the following entry:

        IP_ROUTE_N='1'
        IP_ROUTE_1='192.168.7.0/24 192.168.6.99'

If you use the fli4l router as a pure Ethernet router and not for routing Internet traffic, you can use some IP_ROUTE_x variable for specifying a default route. In order to achieve this, you have to specify `0.0.0.0/0' for `network/netmaskbits', as can be seen in the following example.

        IP_ROUTE_N='3'
        IP_ROUTE_1='192.168.1.0/24 192.168.6.1'
        IP_ROUTE_2='10.73.0.0/16 192.168.6.1'
        IP_ROUTE_3='0.0.0.0/0 192.168.6.99'

© 2001-2019 The fli4l-Team - 28 April 2019