11: Configuring an Ethernet interface on a GW1000 router
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 103 of 463
option proto 'static'
option interface 'newinterface'
option ipaddr '10.10.10.1'
option netmask '255.255.255.0'
option gateway '10.10.10.10'
option bcast '10.10.10.255'
option dns '8.8.8.8'
root@VA_router:~# uci export firewall
package firewall
config zone
option name 'lan'
option input 'ACCEPT'
option output '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.
11.4.3
Configuring ATM bridges
The ATM bridges section is not used when configuring an Ethernet interface on a
GW1000 router.
11.5
Interface diagnostics
11.5.1
Interfaces status
To show the current running interfaces, enter:
root@VA_router:~# ifconfig
3g-CDMA Link encap:Point-to-Point Protocol