_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW3300 Series User Manual
Issue: 1.7
Page 164 of 372
20.6
IPv4 routes using package options
root@VA_router:~# uci export network
package network
….
config route
option interface 'lan'
option target '2.2.2.2'
option netmask '255.255.255.255'
option gateway '192.168.100.1'
option metric '1'
option mtu '1500'
20.7
IPv6 routes using UCI
root@VA_router:~# uci show network
network.@route[1]=route
network.@route[1].interface=lan
network.@route[1].target=2001:0DB8:100:F00:BA3::1/64
network.@route[1].gateway=2001:0DB8:99::1
network.@route[1].metric=1
network.@route[1].mtu=1500
20.8
IPv6 routes using packages options
root@VA_router:~# uci export network
package network
….
config route
option interface 'lan'
option target '2001:0DB8:100:F00:BA3::1/64'
option gateway '2001:0DB8:99::1'
option metric ‘1’
option mtu '1500'