10: Configuring an Ethernet interface
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW6600 Series User manual
Issue: 1.7
Page 102 of 519
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option network 'lan newinterface'
root@VA_router:~# uci export dhcp
package dhcp
……
config dhcp
option interface 'newinterface'
option mode ‘ipv4’
option start '100'
option leasetime '12h'
option limit '150'
To change any of the above values use
uci set
command.
10.3.3
Loopback interfaces
Loopback interfaces are defined in exactly the same way as Ethernet interfaces. Read
the section above.
Note: there is no software limitation as to how many loopback interfaces can exist on
the router.
An example showing a partial uci export of a loopback interface configuration is shown
below.
root@VA_router:~# uci export network
…..
config interface 'loopback'
option proto 'static'
option ifname 'lo'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'