EasyManua.ls Logo

virtual access GW1000M Series - Ipv4 Routes Using UCI

virtual access GW1000M Series
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
19: Configuring static routes
_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW1000 Series User Manual
Issue: 1.9 Page 141 of 350
Or using package options:
config route
option 'interface' 'lan'
However, you can give a route a name if desired. For example, a route named ‘myroute’
will be network.myroute.
To define a named route using UCI, enter:
network.name_your_route=route
network.name_your_route.interface=lan
To define a named route using package options, enter:
config route 'name_your_route'
option 'interface' 'lan'
19.5 IPv4 routes using UCI
The command line example routes in the subsections below do not have a configured
name.
root@VA_router:~# uci show network
network.@route[0]=route
network.@route[0].interface=lan
network.@route[0].target=3.3.3.10
network.@route[0].netmask=255.255.255.255
network.@route[0].gateway=10.1.1.2
network.@route[0].metric=3
network.@route[0].mtu=1400

Table of Contents

Other manuals for virtual access GW1000M Series