background image

41: Configuring data usage monitor 

_______________________________________________________________________________________________________ 

_______________________________________________________________________________________________________ 

© Virtual Access 2018 

GW1000 Series User Manual 

Issue: 2.3 

 

Page 440 of 463 

41.3.3

 

Procrustes using package options 

root@VA_router:~# uci export procrustes 

package procrustes 

 

config limit 'lan' 

        option enabled '1' 

        option interfaces 'LAN1' 

        option billing_period_start_day '1' 

        option monthly_data_limit '30' 

        option monthly_warning_levels '15 25' 

 

config limit 'wan' 

        option enabled '1' 

        option interfaces 'MOBILE1' 

        option billing_period_start_day '1' 

        option monthly_data_limit '30' 

        option monthly_warning_levels '15 25' 

41.4

 

Data usage status 

Select Status -> Overview. The Status page appears. 
To check current data usage, scroll to Network -> Data Usage (MiB) row. 
Data usage is presented as progress bar. 

 

Figure 208: The data usage status progress bar 

41.5

 

Data usage diagnostics 

41.5.1

 

Syslog events 

The following events can be generated in logs by the data usage feature: 

Severity 

Tag 

Text 

NOTICE 

procrustes 

<if_group_name>: using counter 1404674 saved on 2017-09-30 
16:26:57 

NOTICE 

procrustes 

<if_group_name>: warning level 2097152 is reached 

WARNING  procrustes 

<if_group_name>: hard limit 10485760 is reached 

Содержание GW1000 Series

Страница 1: ...GW1000 Series User Manual GW1000 GW1000M Issue 2 3 Date 20 September 2018 ...

Страница 2: ... lock 19 2 14 Connecting cables 19 2 15 Connecting the antenna 19 2 16 Powering up 19 2 17 Reset button 20 3 GW1000 and GW1000M Series LED behaviour 21 3 1 Main LED behaviour 21 3 2 GW1000 and GW1000M Series Ethernet port LED behaviour 22 4 Installing a router into a vehicle 23 4 1 Installing a router into a vehicle using a non fused power cable 23 4 2 Installing a router into a vehicle using a fu...

Страница 3: ...ns 49 7 8 Exporting a configuration file 50 7 9 Importing a configuration file 51 8 Using the Command Line Interface 55 8 1 Overview of some common commands 55 8 2 Using Unified Configuration Interface UCI 58 8 3 Configuration files 63 8 4 Configuration file syntax 63 9 Upgrading router firmware 65 9 1 Software versions 65 9 2 Upgrading firmware using CLI 71 9 3 Firmware recovery 73 10 System sett...

Страница 4: ...WiFi in client mode using the web interface 127 14 6 Configuring WiFi in client mode using command line 128 15 Configuring a mobile connection 130 15 1 Configuration package used 130 15 2 Configuring a mobile connection using the web interface 130 15 3 Configuring a mobile connection using CLI 137 15 4 Diagnositcs 138 16 Configuring mobile manager 141 16 1 Configuration package used 141 16 2 Confi...

Страница 5: ...g OSPF using the web interface 177 20 4 Configuring OSPF using the command line 180 20 5 OSPF using UCI 181 20 6 OSPF using package options 182 20 7 OSPF diagnostics 183 20 8 Quagga Zebra console 184 21 Configuring VRRP 190 21 1 Overview 190 21 2 Configuration package used 190 21 3 Configuring VRRP using the web interface 190 21 4 Configuring VRRP using command line 194 22 Configuring Routing Info...

Страница 6: ...Configuring DHCP client 274 27 1 Configuration packages used 274 27 2 Configuring DHCP client using the web interface 274 27 3 Configuring DHCP client using command line 280 27 4 DHCP client diagnostics 281 28 Configuring DHCP forwarding 284 28 1 Configuration packages used 284 28 2 Configuring DHCP forwarding using the web interface 284 28 3 Configuring DHCP forwarding using command line 285 28 4...

Страница 7: ...iguring DMVPN using the web interface 352 33 6 DMVPN diagnostics 354 34 Configuring multicasting using PIM and IGMP interfaces 357 34 1 Overview 357 34 2 Configuration package used 357 34 3 Configuring PIM and IGMP using the web interface 357 34 4 Configuring PIM and IGMP using UCI 359 35 QoS VLAN 802 1Q PCP tagging 361 35 1 Configuring VLAN PCP tagging 361 36 QoS type of service 364 36 1 QoS conf...

Страница 8: ...e 401 39 4 Configuring SNMP interface alias with static SNMP index 409 39 5 SNMP diagnostics 411 40 Event system 413 40 1 Configuration package used 413 40 2 Event system overview 413 40 3 Configuring the event system using the web interface 414 40 4 Configuring the event system using command line 426 40 5 Event system diagnostics 434 41 Configuring data usage monitor 437 41 1 Introduction 437 41 ...

Страница 9: ..._________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 9 of 463 43 3 Configuring terminal package using UCI 459 43 4 Configuring terminal using package options 460 43 5 Terminal diagnostics 460 44 Serial interface 461 44 1 Overview 461 44 2 Monitoring serial interfaces using the web interface 461 44 3 Monitoring serial interfaces using command line 462 ...

Страница 10: ...s throughout Feature variations between GW1000 Series and GW1000M Series are described in separate sections 1 1 1 GW1000 Series routers The Virtual Access GW1000 Series router is a compact 3G 4G LTE router with WiFi designed with a lightweight plastic case with optional carrier for use in vehicles and a wide range of site based applications GW1032 Dual Ethernet 3G Dual SIM WiFi GW1042 Dual Etherne...

Страница 11: ...efault value is shown in a grey cell Values for enabling and disabling a feature are varied throughout the web interface for example 1 0 Yes No True False check uncheck a radio button In the table descriptions we use 0 to denote Disable and 1 to denote Enable Some configuration sections can be defined more than once An example of this is the routing table where multiple routes can exist and all ar...

Страница 12: ...og The following levels are available 0 Emergency 1 Alert 2 Critical 3 Error 4 Warning 5 Notice 6 Informational 7 Debug Web Agent Address UCI snmpd agent 0 agentaddress Opt agentaddress Specifies the address es and port s on which the agent should listen udp tcp port address Table 1 Example of an information table 1 2 2 Definitions Throughout the document we use the host name VA_router to cover al...

Страница 13: ...r front Figure 2 GW1000 Series router back GW1032 Dual SIM sockets Dual antenna SMA connectors for 3G main and aux GPS antenna with 3 3V active power feed Two 10 100 Mbps Ethernet ports WiFi internal antennas Concurrent Access Point and Station mode Optional plastic casing and carrie GW1042 Dual SIM sockets Dual antenna SMA connectors for LTE main and aux GPS antenna with 3 3V active power feed Tw...

Страница 14: ...tor Figure 3 GW1000M Series router front Figure 4 GW1000M Series router back GW1032M Dual SIM sockets Dual antenna SMA connectors for 3G main and aux GPS antenna with 3 3V active power feed Two 10 100 Mbps Ethernet ports Dual WiFi internal antennas Dual WiFi SMA female connectors Concurrent Access Point and Station mode Metal casing Carrier bracket GW1042M Dual SIM sockets Dual antenna SMA connect...

Страница 15: ...router front Figure 6 GW1000M Series router back GW1032M Dual antenna SMA connectors for 3G main and aux GPS antenna with 3 3V active power feed Two 10 100 Mbps Ethernet ports Concurrent Access Point and Station mode No WiFi Metal casing Carrier bracket GW1042M Dual SIM sockets Dual antenna SMA connectors for LTE main and aux GPS antenna with 3 3V active power feed Two 10 100 Mbps Ethernet ports C...

Страница 16: ...ted 18 36V DC input Power lead with 3 connectors for 12V permanent 12V switched ignition sense and ground 2 8 Compliance The GW1000 and GW1000M Series router is compliant and tested to the following standards Safety EN60950 1 2006 EMC EN55022 1998 Class B and EN55024 1998 ETSI 301489 17 Environmental ETSI 300 019 1 3 Sinusoidal Vibration and Shock ETSI 300 019 2 3 Random Vibration WiFi 2 4GHz ETSI...

Страница 17: ...B5 B7 B12 B13 B20 B25 B26 B29 B30 B41 40 C to 70 C RFN P Australia New Zealand Latin America Taiwan 850 900 1800 1900 850 900 1900 2100 B1 B2 B3 B4 B5 B7 B8 B28 B40 40 C to 70 C RFP Q Mexico USA Canada 850 1900 B1 B2 B4 B5 B12 B13 40 C to 70 C RFQ R EMEA Korea Thailand Indonesia 900 1800 850 900 2100 B1 B2 B3 B5 B7 B8 B20 B38 B40 B41 40 C to 70 C RFR S Europe 900 1800 850 900 2100 B1 B3 B5 B7 B8 B...

Страница 18: ...ies components To enable and configure connections on your router it must be correctly installed The routers contain an internal web server that you use for configurations Before you can access the internal web server and start the configuration ensure the components are correctly connected and that your PC has the correct networking setup 2 11 1 Standard components 1 x GW1000 Series router with c...

Страница 19: ...t 3 Gently push the SIM card into SIM slot 1 until it clicks in 4 If using SIM 2 then hold the SIM with the cut corner front right 5 Gently push the SIM card into SIM slot 2 until it clicks in 2 13 Connecting the SIM lock Connect the SIM lock using the Allen key provided 2 14 Connecting cables Connect one end of the Ethernet cable into port A and the other end to your PC or switch For information ...

Страница 20: ...ur Press duration PWR CONFIG LED behaviour Router behaviour on depress 0 3 seconds Solid on Normal reset to running config No special LED activity Between 3 and 15 seconds Flashing fast Releasing between 3 15 seconds switches the router back to factory configuration Between 15 and 20 seconds Solid on Releasing between 15 20 seconds performs a normal reset to running config Between 20 seconds and 3...

Страница 21: ...________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 21 of 463 3 GW1000 and GW1000M Series LED behaviour 3 1 Main LED behaviour There are five LEDs on the GW1000 and GW1000M Series router Figure 7 LEDs on the GW1000 Series router Figure 8 LEDs on the GW1000M Series router The possible LED states are Off Flashing slowing 2 flashes per second Flashing quickly 5 flashes per second Do...

Страница 22: ...config2 SIM LEDs Off Not selected or SIM not inserted Flashing SIM selected and data connection is being established Solid on SIM selected and registered on the network Signal LEDs Both LEDs off Not connected or signal strength 113dBm Left LED on Right LED off Connected and signal strength 89dBm Left LED off Right LED on Connected and signal strength between 89dBm and 69dBm Both LEDs on Connected ...

Страница 23: ... a router into a vehicle using a non fused power cable Install the router using the vehicle installation power cable 840 00076 provided Figure 10 840 00096 3 core power cable Link pins 1 and 2 and bring out on a BLACK ground wire Wire pin 3 and bring out on a BLUE wire to a 12V switched vehicle ignition wire Link pins 5 and 6 and bring and bring out on a RED 12v permanent wire Wire pin 4 and bring...

Страница 24: ...s 2018 GW1000 Series User Manual Issue 2 3 Page 24 of 463 1 Connector Molex Microfit 6circuit standard 2 Label 20mm wide 3 Each wire is 1 0mm square with overall PVC sheath 4 Fuse Note Requires 5 amp fuse in series with red and blue wires Table 8 Power cable descriptions Connect the BLACK wire to a ground wire Connect the BLUE wire to a 12V switched vehicle ignition wire Connect the RED wire to a ...

Страница 25: ...u are inserting has the required configuration written on it 2 Ensure the router is powered off 3 Hold the SIM 1 card with the chip side facing down and the cut corner front left 4 Gently push the SIM card into SIM slot 1 until it clicks in 5 Power up the router Depending on the model the power LED and or the configuration LED flash as usual The SIM LED starts flashing This indicates the applicati...

Страница 26: ...thernet using the web interface DHCP is disabled by default so if you do not receive an IP address via DHCP assign a static IP to the PC that will be connected to the router PC IP address 192 168 100 100 Network mask 255 255 255 0 Default gateway 192 168 100 1 Assuming that the PC is connected to Port A on the router in your internet browser type in the default local IP address 192 168 100 1 and p...

Страница 27: ...client and connect to the router s management IP address on port 22 192 168 100 1 24 On the first connection you may be asked to confirm that you trust the host Figure 13 Confirming trust of the routers public key over SSH Figure 14 SSH CLI logon screen In the SSH CLI logon screen enter the default username and password Username root Password admin 6 3 1 SCP Secure Copy Protocol As part of accessi...

Страница 28: ...outer reboot To re enable SSH enter root VA_router etc init d dropbear enable root VA_router reboot Note as SSH is enabled by default initial connection to the router to enable Telnet must be established over SSH 6 5 Configuring the password 6 5 1 Configuration packages used Package Sections system main 6 6 Configuring the password using the web interface To change your password in the top menu cl...

Страница 29: ...x8A U5kLCMpi9dcahRhOl7eZV1 If you are changing the password using UCI enter the new password in plain text using the password option root VA_router uci system main password newpassword root VA_router uci commit The new password will take effect after reboot and will now be displayed in encrypted format via the hashpassword option 6 8 Configuring the password using package options The root password...

Страница 30: ...em config system main option hostname VirtualAccess option timezone UTC config pam_auth option enabled yes option pamservice login option pammodule auth option pamcontrol sufficient option type radius option servers 192 168 0 1 3333 test 20 192 168 2 5 secret 10 config pam_auth option enabled yes option pamservice sshd option pammodule auth option pamcontrol sufficient it checks package management...

Страница 31: ...enticates against remote RADIUS if password authentication fails then it tries local database user defined in package management_users Required If either authentication fails or RADIUS server is not reachable then user is not allowed to access the router success done new_authtok_reqd done authinfo_unavail ignore default die Local database is only checked if RADIUS server is not reachable UCI syste...

Страница 32: ...ption pamservice sshd option pammodule account option pamcontrol sufficient option type tacplus option servers 192 168 0 1 49 secret option args service ppp config pam_auth option enabled yes option pamservice sshd option pammodule session option pamcontrol sufficient option type tacplus option servers 192 168 0 1 49 secret option args service ppp config pam_auth option enabled yes option pamservi...

Страница 33: ...amcontrol sufficient option type tacplus option servers 192 168 0 1 49 secret option args service ppp config pam_auth option enabled yes option pamservice login option pammodule auth option pamcontrol sufficient option type tacplus option servers 192 168 0 1 49 secret config pam_auth option enabled yes option pamservice login option pammodule account option pamcontrol sufficient option type tacplu...

Страница 34: ... management_users Required If either authentication fails or TACACS server is not reachable then user is not allowed to access the router success done new_authtok_reqd done authinfo_unavail ignore default die Local database is only checked if TACACS server is not reachable UCI system pam_auth 0 pammodule auth Opt pammodule Selects which TACACS module this part of configuration relates to auth auth...

Страница 35: ... Page 35 of 463 The router uses a package called Dropbear to configure the SSH server on the box You can configure Dropbear via the web interface or through an SSH connection by editing the file stored on etc config_name dropbear 6 11 1 Configuration packages used Package Sections dropbear dropbear 6 11 2 SSH access using the web interface In the top menu click System Administration The Administra...

Страница 36: ...dropbear dropbear 0 RootPasswordAuth Opt RootPasswordAuth Allows the root user to login with password 0 Disabled 1 Enabled Web Gateway ports UCI dropbear dropbear 0 GatewayPorts Opt GatewayPorts Allows remote hosts to connect to local SSH forwarded ports 0 Disabled 1 Enabled Web Idle Session Timeout UCI dropbear dropbear 0 IdleTimeout Opt IdleTimeout Defines the idle period where remote session wi...

Страница 37: ...mation about the key its owner s ID and the digital signature of an individual that has verified the content of the certificate In asymmetric cryptography public keys are announced to the public and a different private key is kept by the receiver The public key is used to encrypt the message and the private key is used to decrypt it To access certs and private keys in the top menu click System Adm...

Страница 38: ...viour of the server and default values for certificates generated for SSL operation uhttpd supports multiple instances that is multiple listen ports each with its own document root and other features as well as cgi and lua There are two sections defined Main this uHTTPd section contains general server settings Cert this section defines the default values for SSL certificates 6 14 1 Configuration p...

Страница 39: ... 0 0 0 80 Bind at port 80 only on IPv4 interfaces 80 Bind at port 80 only on IPv6 interfaces Range IP address and or port Web Secure Listen Address and Port UCI uhttpd main listen_https Opt list listen_https Specifies the ports and address to listen on for encrypted HTTPS access The format is the same as listen_http 0 0 0 0 443 Bind at port 443 only 443 Range IP address and or port Web Home path U...

Страница 40: ...for CGI or lua requests in seconds Requested executables are terminated if no output was generated 60 Range Web Network timeout UCI uhttpd main network_timeout Opt network_timeout Maximum wait time for network activity Requested executables are terminated and connection is shut down if no network activity occured for the specified number of seconds 30 Range Web N A UCI uhttpd main realm Opt realm ...

Страница 41: ...may exist The init script will launch one webserver instance per section A standard uhttpd configuration is shown below root VA_router uci show uhttpd uhttpd main uhttpd uhttpd main listen_http 0 0 0 0 80 uhttpd main listen_https 0 0 0 0 443 uhttpd main home www uhttpd main rfc1918_filter 1 uhttpd main cert etc uhttpd crt uhttpd main key etc uhttpd key uhttpd main cgi_prefix cgi bin uhttpd main sc...

Страница 42: ...ld UCI Package Option Description Web Days UCI uhttpd px5g days Opt days Validity time of the generated certificates in days 730 Range Web Bits UCI uhttpd px5g bits Opt bits Size of the generated RSA key in bits 1024 Range Web Country UCI uhttpd px5g country Opt country ISO code of the certificate issuer Web State UCI uhttpd px5g state Opt state State of the certificate issuer Web Location UCI uht...

Страница 43: ...ublin option location Dublin option commonname 00E0C8000000 6 15 Basic authentication httpd conf For backward compatibility reasons uhttpd uses the file etc httpd conf to define authentication areas and the associated usernames and passwords This configuration file is not in UCI format Authentication realms are defined in the format prefix username password with one entry and a line break Prefix i...

Страница 44: ...2 168 1 1 443 config uhttpd main list listen_http 192 168 1 1 80 list listen_https 192 168 1 1 443 6 17 Displaying custom information via login screen The login screen by default shows the hostname of the router in addition to the username and password prompt However the router can be configured to show some other basic information if required using a UDS script Note this can only be configured vi...

Страница 45: ...i version serial br local sig luci dispatcher uci cursor_state get mobile 3g_1_1 sig_dbm or 113 sig tonumber sig local hue sig 113 2 local hue math min math max hue 0 120 Signal strength h3 style color hsl hue 90 50 display inline sig h3 dBm 6 17 2 2 Login screen custom information using package options root VA_router uci export luci package luci config core main option login_page_info_template tm...

Страница 46: ...b interface and command line interface CLI When showing examples of the command line interface we use the host name VA_router to indicate the system prompt For example the table below displays what the user should see when entering the command to show the current configuration in use on the router root VA_router va_config sh 7 1 System information General information about software and configurati...

Страница 47: ... 00E0C8121215 VA_MODEL GW0000 VA_ACTIVEIMAGE image2 VA_ACTIVECONFIG config1 VA_IMAGE1VER VIE 16 00 44 VA_IMAGE2VER VIE 16 00 44 7 2 Identify your software version To check which software version your router is running in the top menu browse to Status Overview Figure 23 The status page showing a software version prior to 72 002 Figure 24 The status page showing software version 72 002 In the Firmwa...

Страница 48: ...onfig1 and etc config2 Multiple configuration files exist in each folder Each configuration file contains configuration parameters for different areas of functionality in the system A symbolic link exists at etc config which always points to one of factconf config1 or config2 is the active configuration file Files that appear to be in etc config are actually in etc factconf config1 config2 dependi...

Страница 49: ...e format It is used internally to evaluate configuration files as shell scripts import config Imports configuration files in UCI syntax add config section type Adds an anonymous section of type section type to the given configuration add_list config section option string Adds the given string to an existing list option show config section option Shows the given option section or configuration in c...

Страница 50: ...t VA_router etc config1 cp etc config2 etc config1 7 8 Exporting a configuration file If you have software versions prior to 72 002 to export a configuration file using the web interface go to section 7 8 1 If you have software version 72 002 or above export a configuration file using the web interface go to section 7 8 2 To export a configuration file using UCI for any software version go to sect...

Страница 51: ...perations page In the Flash Operation section click the configuration file in the Contents column to download it 7 8 3 Exporting a configuration file using UCI You can view any configuration file segment using UCI To export the running configuration file enter root VA_router uci export To export the factory configuration file enter root VA_router uci c etc factconf export To export config1 or conf...

Страница 52: ...figuration file using the web interface for software versions pre 72 002 You can import a configuration file to the alternate configuration segment using the web interface This will automatically reboot the router into this configuration file In the top menu select System Backup Flash Firmware The Flash operations page appears Figure 27 The flash operations page Under Backup Restore choose Restore...

Страница 53: ...import a configuration file to the alternate configuration segment using the web interface In the top menu select System Flash Operations The Flash operations page appears Figure 29 The flash operations page In the Operations column click Upload new Select the appropriate file Figure 30 The flash operations succeed upload configuration page If you select Flash image and do not reboot the router wi...

Страница 54: ..._____________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 54 of 463 7 9 3 Importing a configuration file using UCI You can import a configuration file to any file segment using UCI To import to config1 enter root VA_router uci c etc config1 import paste in config file CTRL D Note it is very important that the config file is in the correct format otherwise it will not impor...

Страница 55: ...d enter root VA_router uci set system main password root VA_router uci commit system To reboot the system enter root VA_router reboot The system provides a Unix like command line Common Unix commands are available such as ls cd cat top grep tail head more and less Typical pipe and redirect operators are also available such as The system log can be viewed using any of the following commands root VA...

Страница 56: ...current folder enter root VA_router ls bin etc lib opt sbin usr bkrepos home linuxrc proc sys var dev init mnt root tmp www For more details add the l argument root VA_router ls l drwxrwxr x 2 root root 642 Jul 16 2012 bin drwxr xr x 5 root root 1020 Jul 4 01 27 dev drwxrwxr x 1 root root 0 Jul 3 18 41 etc drwxr xr x 1 root root 0 Jul 9 2012 lib drwxr xr x 2 root root 3 Jul 16 2012 mnt drwxr xr x ...

Страница 57: ...prompt To view scheduled jobs enter root VA_router crontab l 0 slaupload 00FF5FF92752 TFTP 1 172 16 250 100 69 To view currently running processes enter root VA_router ps PID Uid VmSize Stat Command 1 root 356 S init 2 root DW keventd 3 root RWN ksoftirqd_CPU0 4 root SW kswapd 5 root SW bdflush 6 root SW kupdated 8 root SW mtdblockd 89 root 344 S logger s p 6 t 92 root 356 S init 93 root 348 S sys...

Страница 58: ...em UCI consists of a Command Line Utility CLI the files containing the actual configuration data and scripts that take the configuration data and apply it to the proper parts of the system such as the networking interfaces Entering the command uci on its own will display the list of valid arguments for the command and their format root VA_router lib config uci Usage uci options command arguments C...

Страница 59: ...ith a text editor but for scripts GUIs and other programs working directly with UCI files export config Exports the configuration in a UCI syntax and does validation import config Imports configuration files in UCI syntax changes config Lists staged changes to the given configuration file or if none given all configuration files add config section type Adds an anonymous section of type section typ...

Страница 60: ... 2 2 Export a configuration Using the uci export command it is possible to view the entire configuration of the router or a specific package Using this method to view configurations does not show comments that are present in the configuration file root VA_router uci export httpd package httpd config httpd option port 80 option home www 8 2 3 Show a configuration tree The configuration tree format ...

Страница 61: ..._switch 0 eth1 D It is also possible to display a limited subset of a configuration root VA_router uci show network wan network wan interface network wan username foo network wan password bar network wan proto 3g network wan device dev ttyACM0 network wan service umts network wan auto 0 network wan apn hs vodafone ie 8 2 4 Display just the value of an option To display a specific value of an indiv...

Страница 62: ...a_eventd va_eventd main enabled yes va_eventd main event_queue_file tmp event_buffer va_eventd main event_queue_size 128K va_eventd conn_tester 0 conn_tester va_eventd conn_tester 0 name Pinger va_eventd conn_tester 0 enabled yes va_eventd conn_tester 0 type ping va_eventd conn_tester 0 ping_dest_addr 192 168 250 100 va_eventd conn_tester 0 ping_success_duration_sec 5 va_eventd target 0 target va_...

Страница 63: ...nd urls etc config monitor Monitor details Basic etc config dropbear SSH server options etc config dhcp Dnsmasq configuration and DHCP settings etc config firewall NAT packet filter port forwarding etc etc config network Switch interface L2TP and route configuration etc config system Misc system settings including syslog Other etc config snmpd SNMPd settings etc config uhttpd Web server options uH...

Страница 64: ... be combined into a single list of values with the same order as in the configuration file The indentation of the option and list statements is a convention to improve the readability of the configuration file but it is not syntactically required Usually you do not need to enclose identifiers or values in quotes Quotes are only required if the enclosed value contains spaces or tabs Also it is lega...

Страница 65: ...a in persistent storage is validated To avoid any unrecoverable errors during the process you must follow several safety steps described in this chapter On successful completion of the process you can restart the device running the new firmware 9 1 Software versions If you have software versions prior to 72 002 to upgrade firmware using the web interface go to section 9 1 2 If you have software ve...

Страница 66: ...gure 32 The status page showing software version 72 002 In the Firmware Version row the first two digits of the firmware version identify the hardware platform for example LIS 15 while the remaining digits 00 72 002 show the software version 9 1 2 Upgrading router firmware for software versions pre 72 002 Copy the new firmware issued by Virtual Access to a PC connected to the router In the top men...

Страница 67: ... or Browse Note the button will vary depending on the browser you are using Select the appropriate image and then click Flash Image The Flash Firmware Verify page appears Figure 34 The flash firmware verify page Click Proceed The System Flashing page appears Figure 35 The system flashing page When the waiting for router icon disappears the upgrade is complete and the login homepage appears To veri...

Страница 68: ...sh operations page appears Figure 37 The flash operations page Under Flash Operations click Flash Image Only the inactive image is available to flash Select the appropriate image and then wait until image has loaded Note this process may take a while depending on the available connection speed When the image has loaded the Update Firmware page appears Figure 38 The flash firmware verify page Click...

Страница 69: ...l only run the firmware if you click OK to return to the Flash Operations page There you can manually select Made Active after reboot Then click Reboot Now in the Reboot using Active Configuration section 9 1 5 Update flash image and reboot using new image immediately option Figure 40 The firmware update page after update flash image and reboot option selected If you select Update flash image and ...

Страница 70: ... event that the firmware upgrade fails the Failed verification File is most likely corrupt or similar message will appear in the Verify file integrity row No changes will be made to the system and the general message File verification failed appears 9 1 7 Verify the firmware has been upgraded successfully To check the firmware version in the top menu browse to System Flash Operations or after rout...

Страница 71: ...ter enter which curl which atftp The output shows the available application usr bin curl ATFTP Inline command usage atftp g r LIS 15 00 72 002 image l tmp LIS 15 00 72 002 image x x x x where x x x x is the IP address of your PC g is get operation and l r are local and remote file name to store CURL Inline command usage curl tftp x x x x LIS 15 00 72 002 image o tmp LIS 15 00 72 002 image where x ...

Страница 72: ... version xx yy 72 002 and later uses an image check application Note it is the user s responsibility to verify the image before starting to write the image to flash process To use the image check on downloaded image enter image check tmp LIS 15 00 72 002 image In the case of any image corruption an appropriate error message appears Error no SquashFS filesystem after CRC d section data length 3 Err...

Страница 73: ...Verify and compare the checksum with the MD5 sum of the downloaded image If the checksum of the written firmware in altimage matches the one from the downloaded image in tmp the new firmware has been programmed successfully 9 2 5 Setup an alternative image Provided the programming has succeeded you can set it as the next image to use after reboot enter vacmd set next image altimage To reboot using...

Страница 74: ...ility priority and message section Often the message section begins with an optional tag identifying the usermode program name and process ID responsible for the message Messages can be stored locally and also forwarded remotely Separate filter options apply to each case At a broad level you can set the minimum severity level for local and remote targets only messages with a priority more severe t...

Страница 75: ...is section Language and Style Configure the router s web language and style Time synchronization Configure the NTP server in this section 10 3 1 General settings Figure 43 General settings in system properties Web Field UCI Package Option Description Web Local Time Sets the local time and syncs with browser You can manually configure on CLI using date s YYYY MM DD hh mm ss Web hostname UCI system ...

Страница 76: ...of 463 10 3 2 Logging Figure 44 The logging section in system properties Web Field UCI Package Option Description Web Log storage UCI system main log_type Opt log_type Defines the system log storage type Messages stored in RAM can be seen using logread Note system log stored in RAM will be lost on reboot Web value Description UCI RAM Store system log in RAM Lost on reboot Viewed using logread circ...

Страница 77: ...the main log server Range IP or FQDN 0 0 0 0 Web External system backup log server port UCI system main log_port_backup Opt log_port_backup External syslog server port number for use with backup server Range 514 Web Log file location UCI system main log_file Opt log_file Defines the file path for log storage when Log Storage is set to file Note when the file reaches the configured size it is copie...

Страница 78: ...is unusable 1 Web Remote log output level UCI system main remoteloglevel Opt remoteloglevel Sets the maximum log output level severity for system events sent to remote syslog server Web value Description UCI Debug Information useful to developers for debugging the application 8 Info Normal operational messages that require no action 7 Notice Events that are unusual but not error conditions 6 Warni...

Страница 79: ...uage and style section in system properties Web Field UCI Package Option Description Language Sets the language to auto or English Auto English Design Sets the router s style Table 16 Information table for the language and style page 10 3 4 Time synchronization The router time must be synchronized using NTP The router can act as both an NTP client and an NTP server It is enabled as an NTP client b...

Страница 80: ... for an NTP poll Any polls that take longer than this will be not be used for NTP calculation 2 Two seconds Range Web NTP Server Interface UCI system ntp listen Opt listen Defines a list of interfaces that respond to NTP requests Interfaces should be delimited using space Example option listen LAN1 LAN2 Blank Do not respond to NTP requests Range Web NTP Server Stratum UCI system ntp stratum Opt st...

Страница 81: ...r rules see Advanced filter section 10 4 1 System settings using UCI root VA_router uci show system system main system system main hostname VA_router system main timezone UTC system main log_ip 1 1 1 1 system main log_port 514 system main remoteloglevel 8 system main log_file root syslog messages system main log_size 400 system main log_type file system main log_file_count 3 system main conlogleve...

Страница 82: ...comprise of a date source facility hostname severity and message description in the form tag message 10 5 1 1 Source facility list Facitity Description auth Authorisation security authpriv Authorisation private cron Scheduled jobs daemon Background daemons kern Kernel messages local0 hotplug scripts security Same as auth syslog Internal syslog events user General user mode application messages Tab...

Страница 83: ... c root VA_router logread f Shows the log on an ongoing basis while in the background This allows you to run other commands while still tracing the event logs To stop this option type fg to view the current jobs then press ctrl c to kill those jobs 10 5 1 4 System log messages in flash Since logread is limited by memory size and does not survive a reset it is beneficial to write system messages to...

Страница 84: ...router tail f root syslog messages Shows the log on an ongoing basis To stop this option press ctrl c 10 5 2 Kernel messages To view kernel messages enter dmesg root VA_router dmesg 0 000000 Linux version 3 10 12 info virtualaccess com gcc version 4 8 1 20130401 prerelease Linaro GCC 4 8 2013 04 130 PREEMPT 1970 01 01T00 00 00Z 0 000000 SoC xRX330 rev 1 1 0 000000 bootconsole early0 enabled 0 0000...

Страница 85: ...rated If a match is found then the specified action is taken If no match occurs then the default action is taken as defined in the main system logging settings A message may match multiple filters They are processed in the order listed For example you may wish to record authorisation messages in the main system log but also make a copy in a separate authorisation log which can span a much longer p...

Страница 86: ...re are copied to the router runtime file var conf syslog conf which may be reviewed to determine current rules in use 10 6 2 Filter definitions Each filter ruleset is a series of lines Each line can be A filter pattern of the form facility op severity pattern target A blank line or comment line starting with hash If a message does not match any of the filter lines for a destination local or remote...

Страница 87: ...lude the string mobile mobile Match only messages beginning with the string mobile target Defines what to do with the log message when a match occurs It is optional for remote filters It can be the name of a disk file or one of the special target keywords listed below default Do whatever the default action is as if not filter rule matched ignore Never log this message useful for remote filtering c...

Страница 88: ...cal default log config syslog_filter local list text debug mem list text auth authpriv var log auth list text ipsec var log ipsec list text default 10 6 3 3 Example 3 As in Example 2 except do not send any auth or auth priv messages remotely config syslog_filter local list text debug mem list text auth authpriv var log auth list text ipsec var log ipsec list text default config syslog_filter remot...

Страница 89: ..._____________________________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 89 of 463 10 6 4 Filter diagnostics To view configured filters enter cat var conf syslog conf root VA_router cat var conf syslog conf local auth authpriv var log auth ipsec var log ipsec default remote auth authpriv info ignore ...

Страница 90: ... a GW1000 router This section describes how to configure an Ethernet interface on a GW1000 or GW1000M router including configuring the interface as a DHCP server adding the interface to a firewall zone and mapping the physical switch ports 11 1 Configuration packages used Package Sections network interface route alias firewall zone dhcp dhcp 11 2 Configuring an Ethernet interface using the web int...

Страница 91: ...can create new and edit existing interfaces here ATM Bridges ATM bridges expose encapsulated Ethernet in AAL5 connections as virtual Linux network interfaces which can be used in conjunction with DHCP or PPP to dial into the provider network 11 3 Interface overview editing an existing interface To edit an existing interface from the interface tabs at the top of the page select the interface you wi...

Страница 92: ...g Protocol l2tp L2TPv3 L2TPv3 Tunnelling Protocol l2tpv3 PPP Point to Point Protocol ppp PPtP Point to Point Tunnelling Protocol pptp PPPoE PPP over Ethernet pppoe PPPoATM PPP over ATM pppoa LTE UMTS GPRS EV DO CDMA UMTS or GPRS connection using an AT style 3G modem 3g PPP PSTN Modem PPP v90 modem pppmodem Web Create a bridge over multiple interfaces UCI network if name type Opt type If you select...

Страница 93: ...mmon configuration The common configuration section has four sub sections Section Description General Setup Configure the basic interface settings such as protocol IP address gateway netmask custom DNS servers Advanced Settings Bring up on boot Monitor interface state Override MAC address Override MTU and Use gateway metric Physical Settings Bridge interfaces VLAN PCP to SKB priority mapping Firew...

Страница 94: ...PRS EV DO CDMA UMTS or GPRS connection using an AT style 3G modem 3g PPP PSTN Modem PPP v90 modem pppmodem Web IPv4 address UCI network if name ipaddr Opt ipaddr The IPv4 address of the interface This is optional if an IPv6 address is provided Web IPv4 netmask UCI network if name netmask Opt netmask Subnet mask to be applied to the IP address of this interface Web IPv4 gateway UCI network if name ...

Страница 95: ...ored Enabled if status of interface is presented on Monitoring platform 0 Disabled 1 Enabled Web Override MAC address UCI network if name macaddr Opt macaddr Override the MAC address assigned to this interface Must be in the form hh hh hh hh hh hh where h is a hexadecimal number Web Override MTU UCI network if name mtu Opt mtu Defines the value to override the default MTU on this interface 1500 15...

Страница 96: ...ultiple interfaces Web Enable STP UCI network if name stp Opt stp Enable Spanning Tree Protocol This option is only available when the Bridge Interfaces option is selected 0 Disabled 1 Enabled Web VLAN PCP to skb priority mapping UCI network if name vlan_qos_map_ingress Opt list vlan_qos_map_ingress VLAN priority code point to socket buffer mapping Multiple priority mappings are entered with a spa...

Страница 97: ...or fill out the create field to define a new zone and attach the interface to it Figure 53 GRE firewall settings 11 3 3 Interface overview IP aliases IP aliasing is associating more than one IP address to a network interface You can assign multiple aliases 11 3 3 1 IP alias packages used Package Sections Network alias 11 3 3 2 Configuring IP alias using the web To use IP Aliases enter a name for t...

Страница 98: ... Field UCI Package Option Description Web IPv4 Address UCI network alias name ipaddr Opt ipaddr Defines the IP address for the IP alias Web IPv4 Netmask UCI network alias name netmask Opt netmask Defines the netmask for the IP alias Web IPv4 Gateway UCI network alias name gateway Opt gateway Defines the gateway for the IP alias Table 26 Information table for IP Alias general setup page 11 3 3 4 IP...

Страница 99: ...e DHCP Server section is divided into two sub sections General Setup and Advanced Settings 11 3 4 2 DHCP server general setup Figure 58 The DHCP server general setup section Web Field UCI Package Option Description Web Ignore interface UCI dhcp dhcp x ignore Opt ignore Defines whether the DHCP pool should be enabled for this interface If not specified for the DHCP pool then default is disabled i e...

Страница 100: ... limit Defines the size of the address pool Example for network address 192 168 100 10 24 start 100 limit 150 DHCP allocation pool will be 100 to 249 150 Range 0 255 Web leasetime UCI dhcp dhcp x leasetime Opt leasetime Defines the lease time of addresses handed out to clients for example 12h or 30m 12h 12 hours Range Web n a UCI dhcp dhcp x interface Opt interface Defines the interface that is se...

Страница 101: ...options defined Syntax Option_number option_value Web n a UCI dhcp dhcp x networkid Opt networked Assigns a network id to all clients that obtain an IP address from this pool Use network from interface subnet Range Table 29 Information table for DHCP advanced settings page For more advanced configuration on the DHCP server read DHCP server and DNS configuration section 11 4 Configuring an Ethernet...

Страница 102: ... firewall zone 0 output ACCEPT firewall zone 0 forward ACCEPT firewall zone 0 network lan newinterface root VA_router uci show dhcp dhcp dhcp 0 dhcp dhcp dhcp 0 interface newinterfacedhcp dhcp 0 mode ipv4 dhcp dhcp 0 start 100 dhcp dhcp 0 leasetime 12h dhcp dhcp 0 limit 150 To change any of the above values use uci set command 11 4 2 Interface common configuration using package options root VA_rou...

Страница 103: ... 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 ...

Страница 104: ...NING MULTICAST MTU 1500 Metric 1 RX packets 6645 errors 0 dropped 0 overruns 0 frame 0 TX packets 523 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 569453 556 1 KiB TX bytes 77306 75 4 KiB lo Link encap Local Loopback inet addr 127 0 0 1 Mask 255 0 0 0 inet6 addr 1 128 Scope Host UP LOOPBACK RUNNING MTU 16436 Metric 1 RX packets 385585 errors 0 dropped 0 overruns 0 ...

Страница 105: ...ch duplex and speed To show the Ethernet switch duplex and speed for a port use the ethtool command with the required Ethernet port as a parameter To view eth0 enter root VA_router ethtool eth0 Settings for eth0 Supported ports TP MII Supported link modes 10baseT Half 10baseT Full 100baseT Half 100baseT Full 1000baseT Full Supported pause frame use No Supports auto negotiation Yes Advertised link ...

Страница 106: ..._____________________________________________________________________ _______________________________________________________________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 106 of 463 drv probe link timer ifdown ifup rx_err tx_err ...

Страница 107: ...ies User Manual Issue 2 3 Page 107 of 463 12 Configuring VLAN 12 1 Maximum number of VLANs supported Virtual Access routers support up to 4095 VLANs 12 2 Configuration package used Package Sections Network 12 3 Configuring VLAN using the web interface 12 3 1 Create a VLAN interface To configure VLAN using the web interface in the top menu select Network Interfaces Click Add new interface The Creat...

Страница 108: ...s and netmask DHCP Client Address and netmask are assigned by DHCP Unmanaged Unspecified IPv6 in IPv4 RFC4213 Used with tunnel brokers IPv6 over IPv4 Stateless IPv6 over IPv4 transport GRE Generic Routing Encapsulation protocol IOT L2TP Layer 2 Tunnelling Protocol PPP Point to Point Protocol PPPoE PPP over Ethernet PPPoATM PPP over ATM LTE UMTS GPRS EV DO CDMA UMTS or GPRS connection using an AT s...

Страница 109: ... configuration with fixed address and netmask DHCP Client Address and netmask are assigned by DHCP Unmanaged Unspecified IPv6 in IPv4 RFC4213 Used with tunnel brokers IPv6 over IPv4 Stateless IPv6 over IPv4 transport GRE Generic Routing Encapsulation protocol IOT L2TP Layer 2 Tunnelling Protocol PPP Point to Point Protocol PPPoE PPP over Ethernet PPPoATM PPP over ATM LTE UMTS GPRS EV DO CDMA UMTS ...

Страница 110: ...st of DNS server IP addresses optional Table 31 Information table for VLAN general settings 12 3 3 Firewall settings VLAN Use this section to select the firewall zone you want to assign to the VLAN interface Select unspecified to remove the interface from the associated zone or fill out the create field to define a new zone and attach the interface to it Figure 62 Firewall settings page When you h...

Страница 111: ...n configure VLANs through CLI The VLAN configuration file is stored on etc config network uci export network package network config interface vlan100 option proto static option ifname eth0 100 option monitored 0 option ipaddr 192 168 100 1 option netmask 255 255 255 0 option gateway 192 168 100 10 option broadcast 192 168 100 255 option dns 8 8 8 8 Modify these settings by running uci set paramete...

Страница 112: ...s ignition has been enabled This allows the router to remain powered on after the vehicle has stopped The time delay between ignition off and power down is configurable Routers for ignition sense applications are supplied with a power lead with 3 connectors for 12V permanent 12V switched ignition sense and ground 13 1 Configuration packages used Package Sections vapowermond main 13 2 Configuring v...

Страница 113: ... 0 infinite Web field Enable Scripts UCI vapowermond main voltage_sense_scripts_enable Opt voltage_sense_scripts_enable Execute scripts upon detection of power loss restoration 0 Disabled Range 0 1 Web field Voltage On Script UCI vapowermond main voltage_on_script Opt voltage_on_script Script to execute on detection of power on usr bin powermon_voltage_on sh Web field Voltage Off Script UCI vapowe...

Страница 114: ...er monitor advanced settings 13 3 Configuring vapowermond using the command line 13 3 1 UCI root VA_router uci show vapowermond vapowermond main vapowermond vapowermond main enabled 1 vapowermond main timeout 30 vapowermond main voltage_sense_scripts_enable 0 vapowermond main voltage_on_script usr bin powermon_voltage_on sh vapowermond main voltage_off_script usr bin powermon_voltage_off sh vapowe...

Страница 115: ..._____________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 115 of 463 13 4 Ignition sense diagnositcs 13 4 1 Monitoring Vapowermond status using the command line interface To view status information about the current ignition sense state enter root VA_router cat sys class gpio gpio29 value 1 1 for ignition on 0 for ignition off ...

Страница 116: ...g a WiFi interface using the web interface To create a new WiFi interface via the web interface in the top menu click Network Wifi The Wireless overview page appears Figure 66 The wireless overview page Click Add to create a new WiFi interface The Wireless Network configuration page appears The Wireless Network configuration page consists of two sections Section Description Device Configuration Co...

Страница 117: ...ced Settings HT mode country code distance optimization fragmentation threshold and RTS CTS threshold 14 2 1 1 Device configuration general setup Figure 67 The device configuration general setup section Web Field UCI Package Option Description Web Wireless network UCI wireless radio0 disabled Opt disanabled Enable or disables a wireless 1 Disables Wifi interface 0 Enables Wifi interface Web Channe...

Страница 118: ...use 802 11g n Select the wireless protocol to use 802 11a n Select the wireless protocol to use Web HT mode UCI wireless radio0 htmode Opt country HT mode options 20MHz Specifies the channel width in 802 11 40MHz 2nd channel below Specifies the channel width in 802 11 40MHz 2nd channel above Specifies the channel width in 802 11 Web Country Code UCI wireless radio0 country Opt country Sets the cou...

Страница 119: ...guration The interface configuration section is used to configure the network and security settings It has three sub sections Section Description General Setup Identification network and mode settings Wireless Security Encryption cipher and key security settings MAC Filter MAC address filter settings 14 2 2 1 Interface configuration general setup Use this section to configure the interface name mo...

Страница 120: ...wds Client WDS sta wds Web Mode UCI wireless wifi iface 0 bssid Opt bssid Defines the BSSID value Only displayed if using client ad hoc or client wds modes Web Network UCI wireless wifi iface 0 network Opt network The network the wireless interface is attached to If using an existing interface select the appropriate network Select unspecified to not attach to any network or fill out the create fie...

Страница 121: ...Opt key1 Specifies the first wireless key authentication phrase Web Key 2 UCI wireless wifi iface 0 key2 Opt key2 Specifies the second wireless key authentication phrase Web Key 3 UCI wireless wifi iface 0 key3 Opt key3 Specifies the third wireless key authentication phrase Web Key 4 UCI wireless wifi iface 0 key4 Opt key4 Specifies the fourth wireless key authentication phrase Web Radius Authenti...

Страница 122: ...isted in the text field allow Allow all except listed Allows everything but the MAC address listed in the text field deny Web MAC List UCI wireless wifi iface 0 maclist Opt list maclist Defines the MAC addresses to use Multiple MAC address should be separated by a space if using UCI MAC must be in the format hh hh hh hh hh hh Table 38 Information table for interface configuration MAC filter sectio...

Страница 123: ...ppears In the Interface Overview page click Edit on the Ethernet interface that will be bridged into the router s WiFi AP The Common Configuration page appears It has four sections This configuration only uses the Physical Settings section Figure 72 The physical settings section in the common configuration page Web Field UCI Package Option Description Web Bridge Interfaces UCI network lan type Opt...

Страница 124: ...n a new Ethernet interface using package options root VA_router uci export network package network config interface newwifilan option proto static option ipaddr 192 168 111 1 option netmask 255 255 255 0 root VA_router uci export wireless package wireless config wifi device radio0 option type mac80211 option channel 11 option phy phy0 option hwmode 11ng option htmode HT20 list ht_capab SHORT GI 40...

Страница 125: ...1 wireless radio0 channel 11 wireless radio0 phy phy0 wireless radio0 hwmode 11ng wireless radio0 htmode HT20 wireless radio0 ht_capab SHORT GI 40 TX STBC RX STBC1 DSSS_CCK 40 wireless radio0 txpower 17 wireless radio0 country US wireless wifi iface 0 wifi iface wireless wifi iface 0 device radio0 wireless wifi iface 0 mode ap wireless wifi iface 0 disabled 1 wireless wifi iface 0 ssid Test_AP wir...

Страница 126: ...ab TX STBC list ht_capab RX STBC1 list ht_capab DSSS_CCK 40 option txpower 17 option country US config wifi iface option device radio0 option mode ap option disabled 1 option ssid Test_AP option network lan option encryption psk option key secretkey 14 4 4 AP mode on an existing Ethernet interface using UCI root VA_router uci show network network lan interface network lan ifname eth0 network lan p...

Страница 127: ...sid Test_AP wireless wifi iface 0 network lan wireless wifi iface 0 encryption psk wireless wifi iface 0 key secretkey 14 5 Creating a WiFi in client mode using the web interface A WiFi network in Client mode receives a wireless network from another WiFi AP Configure the Wifi network in Client mode as described in the above section Configuring a WiFi interface selecting a new interface for the Wir...

Страница 128: ...E Generic Routing Encapsulation protocol IOT L2TP Layer 2 Tunnelling Protocol PPP Point to Point Protocol PPPoE PPP over Ethernet PPPoATM PPP over ATM LTE UMTS GPRS EV DO CDMA UMTS or GPRS connection using an AT style 3G modem Table 40 Information table for interfaces WClient page When you have clicked Save and Apply the router will restart the network package It may take up to one minute for conn...

Страница 129: ...tion psk2 option key testtest 14 6 2 Client modem using UCI root VA_router uci show network network new interface network WCLIENT proto dhcp 14 6 2 1 uci show wireless root VA_router uci show wireless wireless radio0 wifi device wireless radio0 type mac80211 wireless radio0 channel 11 wireless radio0 phy phy0 wireless radio0 hwmode 11ng wireless radio0 htmode HT20 wireless radio0 ht_capab SHORT GI...

Страница 130: ...onnection using the web interface Note if you are creating multiple mobile interfaces simply repeat the steps in this chapter for each interface Multiple interfaces are required for dual SIM or multiple radio module scenarios Configuring static routes and or Multi WAN can be used to manage these interfaces In the top menu select Network Interfaces The Interfaces Overview page appears 15 2 1 Create...

Страница 131: ...ayer 2 Tunnelling Protocol PPP PPPoE PPPoATM LTE UMTS GPRS EV DO CDMA UMTS or GPRS connection using an AT style 3G modem Web Create a bridge over multiple interfaces UCI network 3G type Opt type Enables bridge between two interfaces Not relevant when configuring a mobile interface 0 Disabled 1 Enabled Web Cover the following interface UCI network 3G ifname Opt ifname Select interfaces for bridge c...

Страница 132: ...network 3G proto Opt proto Protocol type Select LTE UMTS GPRS EV DO Web Description UCI Static Static configuration with fixed address and netmask static DHCP Client Address and netmask are assigned by DHCP dhcp Unmanaged Unspecified none IPv6 in IPv4 RFC4213 Used with tunnel brokers IPv6 over IPv4 Stateless IPv6 over IPv4 transport GRE Generic Routing Encapsulation protocol gre IOT IOT iot L2TP L...

Страница 133: ...opformat Defines the operator format We recommended you use PLMN code The operator is case sensitive so if using long or short character format it must match the operator exactly To see the current operator using SSH enter the command cat var state mobile or using the web mobile stats page at Status Mobile Stats 0 Long character format 1 Short character format 2 PLMN code Web SIM UCI network 3G si...

Страница 134: ...omatically on boot up or reconnect automatically when disconnected Web Monitor interface state UCI network 3G monitored Opt monitored Enabled if status of interface is presented on monitoring platform 0 Do not monitor interface 1 Monitor interface Web Authentication Type UCI network 3G auth Opt auth Enabled if status of interface is presented on monitoring platform Web Description UCI CHAP CHAP au...

Страница 135: ... RA then start DHCP ra_then_dhcp Web Use DNS servers advertised by peer UCI network 3G peerdns Opt peerdns If unchecked the advertised DNS server addresses are ignored 0 Use static DNS 1 Use advertised DNS Web Use custom DNS servers UCI network 3G dns Opt dns Specifies DNS server Only available if Use DNS servers advertised by peer is unselected When multiple DNS servers are required separate usin...

Страница 136: ...en the parent interface starts Separate multiple interfaces by a space when using UCI Example option dependants PPPADSL MOBILE This replaces the following previous options in child interfaces gre option local_interface lt2p option src_ipaddr iot option wan1 wan2 6in4 option ipaddr 6to4 option ipaddr Web SNMP Alias ifindex UCI network x snmp_alias_ifindex Opt snmp_alias_ifindex Defines a static SNM...

Страница 137: ...work 3G interface network 3G proto 3g network 3G monitored 0 network 3G sim any network 3G auto 1 network 3G defaultroute 1 network 3G metric 1 network 3G service_order auto lte umts gprs network 3G apn test apn network 3G username username network 3G password password network 3G ipv4mode dhcp network 3G ipv6mode none network 3G keepalive 5 1 network 3G operator_reselect 0 network 3G auth 2 15 3 2...

Страница 138: ...keepalive 15 10 option operator_reselect 0 option auth 2 15 4 Diagnositcs Note the information presented on screen and data output using UCI depends on the actual mobile hardware being used Therefore the interfaces or output you see may differ from the samples shown here 15 4 1 Mobile status via the web To view mobile connectivity information in the top menu select Status Mobile Information The Mo...

Страница 139: ...____________________________________________ _______________________________________________________________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 139 of 463 Figure 79 The advanced information page Figure 80 The cell information page ...

Страница 140: ...status root VA_router mobile_status Mobile Interface WAN Status idle SIM In yes SIM Slot 1 Operator vodafone IE Technology UMTS CS Network Status Home network PS Network Status Home network Signal dBm 107 IMEI 358743040012737 IMSI 272017113618040 For more advanced information enter mobile_status a root VA_router mobile_status a Mobile Interface WAN Status idle CS Network Status Home network PS Net...

Страница 141: ...e Sections mobile main callers roaming_template 16 2 Configuring mobile manager using the web interface Select Services Mobile Manager The Mobile Manager page appears There are four sections in the mobile manager page Section Description Basic Enable SMS configure SIM pin code and select roaming SIM Advanced Configure advanced options such as collect ICCIDs and temperature polling interval CDMA CD...

Страница 142: ... specify the pin code for SIM 2 Blank Range Depends on the SIM provider Web LTE bands for SIM1 UCI mobile main sim1_lte_bands Opt sim1_lte_bands Depending on the SIM card specify the LTE bands for SIM 1 Comma delimiter Example option sim1_lte_bands 3 20 Limits LTE bands to 3 and 20 Note currently only supported by Hucom Wetelcom SIMCom7100 Cellient MPL200 and Asiatel Blank Range LTE bands range fr...

Страница 143: ...emp_poll_interval_sec Defines the time in seconds to poll the mobile module for temperature Set to 0 to disable 61 61 seconds Range Web Automatic Firmware Selection UCI mobile main enable_firmware_autoselect Opt enable_firmware_autoselect Enables the selection of an operator specific firmware in the radio module The selection is based on the ICCID of the used SIM At module initialisation the IMSI ...

Страница 144: ...n hdr_userid Opt hdr_userid AN PPP user ID Supported on Cellient CDMA modem only Blank Range Depends on the CDMA provider Web HDR Auth User Password UCI mobile main hdr_password Opt hdr_password AN PPP password Supported on Cellient CDMA modem only Blank Range Depends on the CDMA provider Web Ordered Registration triggers module reboot UCI mobile main mobile main cdma_ordered_registration_reboot_ ...

Страница 145: ...med into module as part of IMSI Range 0 7 Web Preferred Serving System UCI mobile main cdma_preferred_serving_system Opt cdma_preferred_serving_system The CDMA Preferred Serving System A B 5 Web Digital Analog Mode Preference UCI cdma_digital_analog_mode_preference Opt cdma_digital_analog_mode_preference Digital Analog Mode Preference 4 Web Primary Channel A UCI mobile main cdma_primary_channel_a ...

Страница 146: ...acters Global value is accepted International value is accepted Web Enable UCI mobile caller 0 enabled Opt enabled Enables or disables incoming caller ID 0 Disabled 1 Enabled Web Respond UCI mobile caller 0 respond Opt respond If checked the router will return an SMS Select Respond if you want the router to reply 0 Disabled 1 Enabled Table 47 Information table for mobile manager callers settings 1...

Страница 147: ...g_sim none uci set mobile main sms 1 uci set mobile main hdr_password 5678 uci set mobile main hdr_userid 1234 uci set mobile main init_get_iccids 1 uci set mobile caller 0 caller uci set mobile caller 0 name user1 uci set mobile caller 0 number 3538712345678 uci set mobile caller 0 enabled 1 uci set mobile caller 0 respond 1 uci set mobile caller 1 caller uci set mobile caller 1 name user2 uci se...

Страница 148: ... caller option name vasupport option number 353871234567 option enabled 1 option respond 1 config caller option name vasupport1 option number 353872345678 option enabled 1 option respond 1 16 4 Monitoring SMS You can monitor inbound SMS messages using the router s web browser or via an SSH session To monitor SMS using the web browser login and select Status system log Scroll to the bottom of the l...

Страница 149: ...x sendsms 353879876543 hello root VirtualAccess Aug 10 16 29 1 user notice VirtualAccess mobile 1737 Queue sms to 353879876543 hello 16 6 Sending SMS to the router The router can accept UCI show and set commands via SMS if the caller is enabled Note commands are case sensitive An example would be to SMS the SIM card number by typing the following command on the phone and checking the SMS received ...

Страница 150: ...he web interface To create GRE interfaces through the web interface in the top menu select Network Interfaces There are three sections in the Interfaces page Section Description Interface Overview Shows existing interfaces and their status You can create new and edit existing interfaces here Port Map In this section you can map device ports to Ethernet interfaces Ports are marked with capital lett...

Страница 151: ...DHCP Client Address and netmask are assigned by DHCP Unmanaged Unspecified IPv6 in IPv4 RFC4213 Used with tunnel brokers IPv6 over IPv4 Stateless IPv6 over IPv4 transport GRE Generic Routing Encapsulation protocol IOT L2TP Layer 2 Tunnelling Protocol PPP Point to Point protocol PPPoE PPP over Ethernet PPPoATM PPP over ATM LTE UMTS GPRS EV DO CDMA UMTS or GPRS connection using an AT style 3G modem ...

Страница 152: ...figuration general setup Figure 87 The GRE common configuration page Web Field UCI Package Option Description Web Protocol of the new interface UCI network if name proto Opt proto Shows the protocol the interface will operate on GRE should be currently selected Web Tunnel IP Address UCI network if name ipaddr Opt ipaddr Configures local IP address of the GRE interface Web Mask Length UCI network i...

Страница 153: ...g to be linked with the GRE tunnel interface optional Web Remote IP address UCI network if name remote_ip Opt remote_ip For point to point tunnels specifies Remote IP address Web TTL UCI network if name ttl Opt ttl Sets Time To Live value on the interface 128 Range Web Tunnel key UCI network if name key Opt key Sets GRE tunnel ID key optional Usually an integer Web MTU UCI network if name mtu Opt ...

Страница 154: ... interface is down and will start or restart when parent interface starts Separate multiple interfaces by a space when using UCI Example option dependants PPPADSL MOBILE This replaces the following previous options in child interfaces gre option local_interface lt2p option src_ipaddr iot option wan1 wan2 6in4 option ipaddr 6to4 option ipaddr Web SNMP Alias ifindex UCI network x snmp_alias_ifindex ...

Страница 155: ...etwork Static Routes For more information read the chapter Configuring Static Routes 17 3 GRE configuration using command line The configuration file is stored on etc config network For the examples below tunnel1 is used as the interface logical name 17 4 GRE configuration using UCI root VA_router uci show network network tunnel1 interface network tunnel1 proto gre network tunnel1 monitored 0 netw...

Страница 156: ...0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 10889090 10 3 MiB TX bytes 68820 67 2 KiB eth4 Link encap Ethernet HWaddr 00 1E 10 1F 00 00 inet addr 10 68 66 54 Bcast 10 68 66 55 Mask 255 255 255 252 inet6 addr fe80 21e 10ff fe1f 0 64 Scope Link UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 81 errors 0 dropped 0 overruns 0 frame 0 TX packets 127 errors 0 dropped 0 overr...

Страница 157: ...ncap UNSPEC HWaddr 0A 44 42 36 00 00 7F E2 00 00 00 00 00 00 00 00 inet addr 13 13 13 2 Mask 255 255 255 248 inet6 addr fe80 5efe a44 4236 64 Scope Link UP RUNNING MULTICAST MTU 1472 Metric 1 RX packets 7 errors 0 dropped 0 overruns 0 frame 0 TX packets 7 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 0 RX bytes 912 912 0 B TX bytes 8GRE route status To show the current GRE route ...

Страница 158: ...cols are not used or they are not configured for such subnets They can be created based on outgoing interface or next hop IP address 18 1 Configuration package used Package Sections network route 18 2 Configuring static routes using the web interface In the top menu select Network Static Routes The Routes page appears Figure 90 The routes page In the IPv4 Routes section click Add Web Field UCI Pac...

Страница 159: ...Package Option Description Web Interface UCI network route 1 interface Opt interface Specifies the logical interface name of the parent or master interface this route belongs to It must refer to one of the defined interface sections Web target UCI network route 1 target Opt target Specifies the route network IP address or subnet in CIDR notation Eample 2001 0DB8 100 F00 BA3 1 64 Web Gateway UCI ne...

Страница 160: ...r 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 18 5 IPv4 routes using UCI The command line example routes in the subsections below do not have a configured name root VA_router uci s...

Страница 161: ... 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 18 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 18 8 IPv6 rout...

Страница 162: ...________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 162 of 463 18 9 Static routes diagnostics 18 9 1 Route status To show the current routing status enter root VA_router route n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192 168 100 0 255 255 255 0 U 0 0 0 eth0 Note a route will only be displayed in the routing table when the in...

Страница 163: ... between gateway hosts each with its own router in a network of autonomous systems BGP is often the protocol used between gateway hosts on the internet The routing table contains a list of known routers the addresses they can reach and a cost metric associated with the path to each router so that the best available route is chosen 19 1 Configuration package used Package Sections bgpd routing peer ...

Страница 164: ...ed 0 Disabled Web Router ID UCI bgpd bgpd router_id Opt router_id Sets a Unique Router ID in 4 byte format 0 0 0 0 Web Scan Time UCI bgpd bgpd scan_time Opt scan_time Defines the interval in seconds between RIB scans 60 60 seconds Range Web Autonomous System Number UCI bgpd bgpd asn Opt asn Defines the ASN for the local router Type in the ASN Blank Range 1 4294967295 Web Log keepalives UCI bgpd bg...

Страница 165: ...onfigure a BGP route map Route maps provide a means to both filter and or apply actions to a route This allows a policy to be applied to routes Route maps are an ordered list of route map entries each with a set of criteria that must be matched before specific attributes of the route are modified Scroll down to the BGP Route Map section Type in a name for the BGP route map name and then click Add ...

Страница 166: ...discriminator BGP metric AS Path to Prepend Setting option to prepend AS to AS path BGP Community Setting option for BGP community IPv6 Next Hop Global Setting option for IPv6 Next Hop Global IPv6 Next Hop Local Setting option for IPv6 Next Hop Local Web Value UCI bgpd ROUTEMAP set Opt set Defines the set value when a match occurs Value format depends on the set option you have selected Table 54 I...

Страница 167: ...P message is received 0 Range Web Keepalive Interval UCI bgpd peer 0 keepalive_sec Opt keepalive_sec Defines the interval in seconds for between two successive BGP keep alive messages 0 Range Web Connect Timer UCI bgpd peer 0 connect_sec Opt connect_sec Defines how long to wait after interface is up before retrying the connection on it 0 Range Table 55 Information table for BGP neighbours 19 3 Con...

Страница 168: ...UTEMAP match 192 168 101 1 32 bgpd ROUTEMAP set_type ip next hop bgpd ROUTEMAP set 192 168 101 2 32 To change any of the above values use UCI set command 19 3 2 Configuring BGP using packages options root VA_router uci export bgpd package bgpd config routing bgpd option enabled yes option router_id 3 3 3 3 option asn 1 list network 11 11 11 0 29 list network 192 168 103 1 32 config peer option rou...

Страница 169: ...____________________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 169 of 463 option match_type ip address option match 192 168 101 1 32 option set_type ip next hop option set 192 168 101 2 32 19 4 View routes statistics To view routes statistics in the top menu click Status Routes The routing table appears Figure 95 The routing table ...

Страница 170: ...________________________________________________________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 170 of 463 To view routes via the command line enter root support route n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10 1 0 0 0 0 0 0 255 255 0 0 U 0 0 0 br lan2 ...

Страница 171: ...r relationships with adjacent routers in the same area Instead of advertising the distance to connected networks OSPF advertises the status of directly connected links using Link State Advertisements LSAs OSPF sends updates LSAs when there is a change to one of its links and will only send the change in the update LSAs are additionally refreshed every 30 minutes OSPF traffic is multicast either to...

Страница 172: ... see a number of subnets reachable via area 0 20 1 2 OSPF neighbours OSPF forms neighbour relationships called adjacencies with other routers in the same Area by exchanging Hello packets to multicast address 224 0 0 5 Only after an adjacency is formed can routers share routing information Each OSPF router is identified by a unique router ID The router ID can be determined in one of three ways The ...

Страница 173: ...f the remote interface of each neighbour 20 1 3 OSPF designated routers In multi access networks such as Ethernet there is the possibility of many neighbour relationships on the same physical segment This leads to a considerable amount of unnecessary Link State Advertisement LSA traffic If a link of a router were to fail it would flood this information to all neighbours Each neighbour in turn woul...

Страница 174: ... each other Full Indicates that the routers are fully synchronised The topology table of all routers in the area should now be identical Depending on the role of the neighbour the state may appear as Full DR Indicating that the neighbour is a Designated Router DR Full BDR Indicating that the neighbour is a Backup Designated Router BDR Full DROther Indicating that the neighbour is neither the DR no...

Страница 175: ...em that separates an autonomous system into individual areas OSPF traffic can either be intra area within one area inter area between separate areas or external from another AS OSPF routers build a topology database of all links within their area and all routers within an area will have an identical topology database Routing updates between these routers will only contain information about links l...

Страница 176: ...ecting to a separate Autonomous System such as the internet By redistributing another routing protocol into the OSPF process ASBRs provide access to external networks OSPF defines two types of external routes as shown in the table below Type 2 E2 Includes only the external cost to the destination network External cost is the metric being advertised from outside the OSPF domain This is the default ...

Страница 177: ... the ospfd routing section The web automatically names the routing section ospfd Figure 98 The OSPF global settings configuration page Web Field UCI Package Option Description Web OSPF Enabled UCI ospfd ospfd enabled Opt enabled Enables OSPF advertisements on router 0 Disabled 1 Enabled Web Router ID UCI ospfd ospfd router_id Opt router_id This sets the Router ID of the OSPF process The Router ID ...

Страница 178: ...ip_addr Opt ip_addr Specify the IP address for OSPF enabled interface Format A B C D Web Mask Length UCI ospfd network 0 mask_length Opt mask_length Specify the mask length for OSPF enabled interface The mask length should be entered in CIDR notation Web Area UCI ospfd network 0 area Opt area Specify the area number for OSPF enabled interface Web Stub Area UCI ospfd network 0 stub_area Opt stub_ar...

Страница 179: ...pfd interface 0 ospf_interface Opt ospf_interface Defines the interface name Web Network Type UCI ospfd interface 0 network_type Opt network_type Defines network type for specified interface Default Autodetect it will be broadcast If broadcast is not supported on that interface then use point to point broadcast non broadcast point to point point to multipoint Web Passive UCI ospfd interface 0 pass...

Страница 180: ...a either an insecure plain text password included with the packet or via a more secure MD5 based HMAC keyed Hashing for Message AuthentiCation Enabling authentication prevents routes being updated by unauthenticated remote routers but still can allow routes that is the entire OSPF routing table to be queried remotely potentially by anyone on the internet via OSPFv1 no Default value No authenticati...

Страница 181: ...k 0 network ospfd network 0 ip_addr 12 1 1 1 Or using package options config network option ip_addr 12 1 1 1 20 5 OSPF using UCI root VA_router uci show ospfd ospfd ospfd routing ospfd ospfd enabled yes ospfd ospfd default_info_originate yes ospfd ospfd router_id 1 2 3 4 ospfd network 0 network ospfd network 0 ip_addr 12 1 1 1 ospfd network 0 mask_length 24 ospfd network 0 area 0 ospfd network 0 s...

Страница 182: ... md5 ospfd interface 1 key_id 1 ospfd interface 1 md5_auth_key test 20 6 OSPF using package options root VA_router uci export ospfd package ospfd config routing ospfd option enabled yes option default_info_originate yes option router_id 1 2 3 4 config network option ip_addr 12 1 1 1 option mask_length 24 option area 0 option stub_area yes config interface option ospf_interface lan8 option hello_in...

Страница 183: ... 255 255 0 0 U 0 0 0 eth1 10 206 4 64 0 0 0 0 255 255 255 252 U 0 0 0 usb0 11 11 11 0 0 0 0 0 255 255 255 248 U 0 0 0 gre GRE 89 101 154 151 10 206 4 65 255 255 255 255 UGH 0 0 0 usb0 192 168 100 0 0 0 0 0 255 255 255 0 U 0 0 0 eth0 192 168 101 1 11 11 11 1 255 255 255 255 UGH 11 0 0 gre GRE 192 168 104 1 11 11 11 4 255 255 255 255 UGH 20 0 0 gre GRE Note a route will only be displayed in the rout...

Страница 184: ...e routing protocol suite embedded in the router firmware Quagga is split into different daemons for implementation of each routing protocol Zebra is a core daemon for Quagga providing the communication layer to the underlying Linux kernel and routing updates to the client daemons Quagga has a console interface to Zebra for advanced debugging of the routing protocols To access enter root VA_router ...

Страница 185: ... is directly connected lo C 192 168 100 0 24 is directly connected eth0 O 192 168 101 1 32 110 11 via 11 11 11 1 gre GRE 02 35 28 O 192 168 104 1 32 110 20 via 11 11 11 4 gre GRE 02 30 45 O 192 168 105 1 32 110 10 is directly connected lo 02 47 52 C 192 168 105 1 32 is directly connected lo 20 8 1 OSPF debug console When option tty_enabled see Global settings section above is enabled in the OSPF c...

Страница 186: ...irectly attached to lo OSPF router routing table OSPF external routing table To see OSPF neighbours from OSPF debug console enter sh ip ospf neighbour root VA_router sh ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL 1 1 1 1 255 Full DR 33 961s 11 11 11 1 gre GRE 11 11 11 5 0 0 0 To see OSPF interface details from OSPF debug console enter sh ip ospf interface r...

Страница 187: ...AST MULTICAST OSPF not enabled on this interface eth7 is down ifindex 16 MTU 1500 bytes BW 0 Kbit BROADCAST MULTICAST OSPF not enabled on this interface gre GRE is up ifindex 19 MTU 1472 bytes BW 0 Kbit UP RUNNING MULTICAST Internet Address 11 11 11 5 29 Area 0 0 0 0 MTU mismatch detection enabled Router ID 192 168 105 1 Network Type BROADCAST Cost 10 Transmit Delay is 1 sec State Backup Priority ...

Страница 188: ...outer on this network Multicast group memberships None Timer intervals configured Hello 10s Dead 40s Wait 40s Retransmit 5 Hello due in inactive Neighbor Count is 0 Adjacent neighbor count is 0 sit0 is down ifindex 7 MTU 1480 bytes BW 0 Kbit NOARP OSPF not enabled on this interface teql0 is down ifindex 4 MTU 1500 bytes BW 0 Kbit NOARP OSPF not enabled on this interface tunl0 is down ifindex 5 MTU...

Страница 189: ..._________ _______________________________________________________________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 189 of 463 192 168 105 1 192 168 105 1 879 0x8000000b 0x4919 2 Net Link States Area 0 0 0 0 Link ID ADV Router Age Seq CkSum 11 11 11 1 1 1 1 1 595 0x80000004 0x5712 ...

Страница 190: ...the virtual router IP address es on the LAN to be used as the default first hop router by end hosts The advantage gained from using VRRP is a higher availability default path without requiring configuration of dynamic routing or router discovery protocols on every end host Two or more routers forming the redundancy cluster are configured with the same Router ID and Virtual IP address A VRRP router...

Страница 191: ...3 21 3 1 Global settings The Global Settings section configures vrrp package main section To access configuration settings click ADD Figure 101 The VRRP global settings configuration page Web Field UCI Package Option Description Web VRRP Enabled UCI vrrp main enabled Opt Enabled Globally enables VRRP on the router 0 Disabled 1 Enabled 21 3 2 VRRP group configuration settings The VRRP Group Configu...

Страница 192: ...2 3 Page 192 of 463 Figure 102 The VRRP group configuration page Web Field UCI Package Option Description Web Group Enabled UCI vrrp vrrp_group X enabled Opt Enabled Enables a VRRP group on the router 0 Disabled 1 Enabled Web Interface UCI vrrp vrrp_group X interface Opt interface Sets the local LAN interface name in which the VRRP cluster is to operate For example lan The interface name is taken ...

Страница 193: ...0 track_ipsec Tunnel2 or using a list of options via package options list track_ipsec Tunnel1 list track_ipsec Tunnel2 Blank No IPSec connection to track Range Web Track IPsec Fail Time UCI vrrp vrrp_group X track_ipsec_fail_sec Opt track_ipsec_fail_sec Defines duration in seconds to determine IPsec tunnel failure 300 300 seconds Range Web IPSec connection UCI vrrp vrrp_group X ipsec_connection Op...

Страница 194: ...ould monitor If a monitored IPSec connection goes down on the Master VRRP router it goes into Fault state and the Backup VRRP router becomes the Master Multiple IPsec connections are entered using uci set and uci add_list commands Example uci set vrrp vrrp_group 0 track_ipsec Tunnel1 uci add_list vrrp vrrp_group 0 track_ipsec Tunnel2 or using a list of options via package options list track_ipsec ...

Страница 195: ...ot VA_router uci show vrrp vrrp main vrrp vrrp main enabled yes vrrp g1 vrrp_group vrrp g1 enabled yes vrrp g1 interface lan vrrp g1 track_iface WAN MOBILE vrrp g1 init_state BACKUP vrrp g1 router_id 1 vrrp g1 priority 100 vrrp g1 advert_int_sec 120 vrrp g1 password secret vrrp g1 virtual_ipaddr 10 1 10 150 16 vrrp g1 garp_delay_sec 5 vrrp g1 ipsec_connection Test vrrp g1 track_ipsec conn1 conn2 2...

Страница 196: ...______________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 196 of 463 option init_state BACKUP option router_id 1 option priority 100 option advert_int_sec 120 option password secret option virtual_ipaddr 10 1 10 150 16 option garp_delay_sec 5 option ipsec_connection Test list track_ipsec conn1 list track_ipsec conn2 ...

Страница 197: ...ost networking environments RIP is not the preferred choice for routing as its time to converge and scalability are poor compared to EIGRP or OSPF 22 1 1 RIP characteristics RIP is a standardised distance vector protocol designed for use on smaller networks RIP was one of the first true distance vector routing protocols and is supported on a wide variety of systems RIP adheres to the following dis...

Страница 198: ... networks must be contiguous and subnets of a major network must be configured with identical subnet masks Otherwise route table inconsistencies or worse will occur RIPv1 sends updates as broadcasts to address 255 255 255 255 RIPv2 RFC 2453 is classless and therefore does include the subnet mask with its routing table updates RIPv2 fully supports VLSMs allowing discontinuous networks and varying s...

Страница 199: ...re four sections in the RIP page Section Description Global Settings Enables RIP and configures the RIP routing section containing global configuration parameters The web automatically names the routing section ripd Interfaces Configuration Configures the interface sections Defines interface configuration for RIP and interface specific parameters Offset Configuration Configures the offset sections...

Страница 200: ... establish a direct link between routers The neighbour command allows the network administrator to specify a router as a RIP neighbour Multiple RIP neighbours are entered using uci set and uci add_list commands Example uci set ripd ripd neighbor 1 1 1 1 uci add_list ripd ripd neighbor 2 2 2 2 or using a list of options via package options list neighbor 1 1 1 1 list neighbor 2 2 2 2 Web Update Time...

Страница 201: ...ripd ripd vty_enabled Opt vty_enabled Enable vty for RIPd telnet to localhost 2602 Table 63 Information table for RIP global settings 22 3 2 Offset configuration This section is used for RIP metric manipulation RIP metric is a value for distance in the network Usually ripd package increments the metric when the network information is received Redistributed routes metric is set to 1 Figure 104 The ...

Страница 202: ... UCI ripd interface 0 auth_mode Opt auth_mode RIPv2 only allows packets to be authenticated via either an insecure plain text password included with the packet or via a more secure MD5 based HMAC keyed Hashing for Message AuthentiCation Enabling authentication prevents routes being updated by unauthenticated remote routers but still can allow routes that is the entire RIP routing table to be queri...

Страница 203: ...MD5 chain Table 66 Information table for MD5 authentication key chains commands 22 4 Configuring RIP using command line RIP is configured under the ripd package etc config ripd There are four config sections ripd interface key_chain and offset You can configure multiple interface key_chain and offset sections By default all RIP interface instances are named interface it is identified by interface ...

Страница 204: ... UCI ripd offset 0 offset ripd offset 0 metric 1 Or using package options config offset option metric 1 22 4 1 RIP using UCI root VA_router uci show ripd ripd ripd routing ripd ripd version 2 ripd ripd enabled yes ripd ripd network lan2 gre1 ripd ripd neighbor 10 1 1 100 10 1 2 100 ripd ripd tb_update_sec 30 ripd ripd tb_timeout_sec 180 ripd ripd tb_garbage_sec 120 ripd ripd default_info_originate...

Страница 205: ...rse 0 ripd interface 2 passive 0 ripd interface 2 auth_mode md5 ripd interface 2 key_chain Keychain1 ripd key_chain 0 key_chain ripd key_chain 0 key_chain_name Keychain1 ripd key_chain 0 key_id 1 ripd key_chain 0 auth_key 123 ripd offset 0 offset ripd offset 0 metric 1 ripd offset 0 match_network 10 1 1 1 24 22 4 2 RIP using package options root VA_router uci export ripd package ripd config routin...

Страница 206: ... auth_mode no option split_horizon 1 option poison_reverse 0 option passive 0 config interface option rip_interface lan2 option split_horizon 1 option poison_reverse 0 option passive 0 option auth_mode text option auth_key textsecret config interface option rip_interface lan3 option split_horizon 1 option poison_reverse 0 option passive 0 option auth_mode md5 option key_chain keychain1 config key_...

Страница 207: ... 255 255 248 U 0 0 0 gre GRE 89 101 154 151 10 205 154 65 255 255 255 255 UGH 0 0 0 usb0 192 168 100 0 0 0 0 0 255 255 255 0 U 0 0 0 eth0 192 168 104 1 11 11 11 4 255 255 255 255 UGH 3 0 0 gre GRE 192 168 154 154 11 11 11 1 255 255 255 255 UGH 2 0 0 gre GRE Note a route will only be displayed in the routing table when the interface is up 22 5 2 Tracing RIP packets RIP uses UDP port 520 To trace RI...

Страница 208: ... Zebra for advanced debugging of the routing protocols To access enter telnet localhost zebra password zebra root VA_router telnet localhost zebra Entering character mode Escape character is Hello this is Quagga version 0 99 21 Copyright 1996 2005 Kunihiro Ishiguro et al User Access Verification Password To see RIP routing information from Zebra console enter sh ip route root VA_router sh ip route...

Страница 209: ...tion RIP debug console can be accessed for advanced RIP debugging To access RIP debug console enter telnet localhost ripd password zebra root VA_router telnet localhost ripd Entering character mode Escape character is Hello this is Quagga version 0 99 21 Copyright 1996 2005 Kunihiro Ishiguro et al User Access Verification Password To see RIP status from RIP debug console enter sh ip rip root VA_ro...

Страница 210: ... ip rip status Routing Protocol is rip Sending updates every 30 seconds with 50 next due in 17 seconds Timeout after 180 seconds garbage collect after 120 seconds Outgoing update filter list for all interface is not set Incoming update filter list for all interface is not set Default redistribution metric is 1 Redistributing Default version control send version 2 receive version 2 Interface Send R...

Страница 211: ...ace state pings to an ICMP target signal level checks using signal threshold RSCP threshold and ECIO threshold option values A fail for any of the above health checks results in a fail After a configurable number of health check failures Multi WAN will move to the next highest priority interface Multi WAN will optionally stop the failed interface and start the new interface if required In some cir...

Страница 212: ...ending on timer set by ifup_retry_sec 0 Disabled 1 Enabled Web Alternate Mode UCI multiwan config alt_mode Opt alt_mode Enables or disables alternate mode for Multi WAN If enabled the router will use an alternate interface after reboot 0 Disabled 1 Enabled Table 67 Information table for multi WAN page When you have enabled Multi WAN you can add the interfaces that will be managed by Multi WAN for ...

Страница 213: ...___________________________ _______________________________________________________________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 213 of 463 Figure 108 Example interface showing failover traffic destination as the added multi WAN interface ...

Страница 214: ...cted then multiwan does not send a ping health check to the icmp_host otherwise a ping is sent as normal to the icmp_host By default the conntrack_hosts is checked if the health interval is greater than 5 minutes This time threshold currently cannot be manipulated Conntrack is generally used to limit the traffic sent on a GSM network Default Conntrack checks for traffic from icmp_host IP when heal...

Страница 215: ...he value stored for sig_dbm in mobile diagnostics 115 Disabled Range 46 to 115 dBm Web RSCP Threshold dBm UCI multiwan wan rscp_threshold Opt rscp_threshold Specifies the minimum RSCP signal strength in dBm before considering if the interface fails signal health check Uses the value stored for rscp_dbm in mobile diagnostics 115 Disabled Range 46 to 115 dBm Web ECIO Threshold dB UCI multiwan wan ec...

Страница 216: ...lth_fail_retries 3 option health_recovery_retries 5 option priority 2 option manage_state yes option exclusive_group 0 option ifup_retry_sec 40 option icmp_hosts disable option icmp_interval 1 option timeout 3 option icmp_count 1 option conntrack_hosts disable option signal_threshold 111 option rscp_threshold 90 option ecio_threshold 15 option ifup_timeout_sec 120 root VA_router uci show multiwan ...

Страница 217: ...an wan signal_threshold 111 multiwan wan rscp_threshold 90 multiwan wan ecio_threshold 15 23 4 Multi WAN diagnostics The multi WAN package is linked to the network interfaces within etc config network Note multi WAN will not work if the WAN connections are on the same subnet and share the same default gateway To view the multi WAN package enter root VA_router uci export multiwan package multiwan c...

Страница 218: ...r troubleshooting root VA_router etc init d multiwan Syntax etc init d multiwan command Available commands start Start the service stop Stop the service restart Restart the service reload Reload configuration files or restart if that fails enable Enable service autostart disable Disable service autostart When troubleshooting make sure that the routing table is correct using route n Ensure all para...

Страница 219: ...ultiwan package is used to run failover between interfaces Typically these auto generated interfaces are sorted by signal strength Details for these interfaces are provided in the mobile package When you have created the interfaces Multi WAN manages the operation of primary predefined and failover auto created interfaces Multi WAN periodically does a health check on the active interface A health c...

Страница 220: ...e time set by multiwan option ifup_timeout continue to step 2 Otherwise go to step 4 2 A health check is periodically done on the PMP interface as determined by the multiwan option health_interval If the health check fails for the number of retries multiwan option health_fail_retries disconnect the PMP interface 3 Connect the first auto generated interface 4 If the interface connects within the ti...

Страница 221: ...ure 110 The create interface page Web Field UCI Package Option Description Web Name of the new interface UCI network 3g_s sim number _ short operator name Opt 3g_s sim number _ short operator name Type the name of the new interface Type the interface name in following format 3g_s sim number _ short operator name Where sim number is number of roaming SIM 1 or 2 and short operator name is first four...

Страница 222: ...anaged Unspecified IPv6 in IPv4 RFC4213 IPv4 tunnels that carry IPv6 IPv6 over IPv4 IPv6 over IPv4 tunnel GRE Generic Routing Encapsulation IOT L2TP Layer 2 Tunnelling Protocol PPP Point to Point Protocol PPPoE Point to Point Protocol over Ethernet PPPoATM Point to Point Protocol over ATM LTE UMTS GPRS EV DO CDMA UMTS or GPRS connection using an AT style 3G modem Web Create a bridge over multiple ...

Страница 223: ...tocol over ATM LTE UMTS GPRS EV DO CDMA UMTS or GPRS connection using an AT style 3G modem Web Service Type UCI network x service Opt service Service type that will be used to connect to the network gprs_only Allows GSM module to only connect to GPRS network lte_only Allows GSM module to only connect to LTE network cdma Allows GSM module to only connect to CDMA network auto GSM module will automat...

Страница 224: ..._______________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 224 of 463 24 2 1 4 Set multi WAN options for primary predefined interface On the web interface go to Network Multi Wan The Multi WAN page appears Figure 112 The multi WAN page In the WAN Interfaces section type in the name of the Multi WAN interface Click Add The Multi WAN page appears Figure 113 The mult...

Страница 225: ...target IP address for ICMP packets Disable Disables the option DNS servers DNS IP addresses will be used WAN Gateway Gateway IP address will be used custom Ability to provide IP address Web Health Monitor Conntrack Test Host s UCI multiwan wan conntrack_hosts Opt conntrack_hosts Conntrack is the feature used to track if there is any traffic to and from an IP destination within the health interval ...

Страница 226: ... Interface State Up Down UCI multiwan x manage_state Opt manage_state Defines whether multi WAN will start and stop the interface Select Enabled 0 Disabled 1 Enabled Web Minimum ifup Interval UCI multiwan x ifup_retry_sec Opt ifup_retry_sec Specifies the interval in seconds before retrying the primary interface when pre empt mode is enabled Web Interface Start Timeout UCI multiwan x ifup_timeout O...

Страница 227: ...h fail occurs when either rscp_dbm falls below 105dBm or ecio_db falls below 15dB Tech values are 0 GSM 1 GSM Compact 2 UTRAN 3 GSM w EGPRS 4 UTRAN w HSPDA 5 UTRAN w HSUPA 6 UTRAN w HSUPA and HSDPA 7 E UTRAN Table 71 Information table for Multi WAN page Click Save 24 2 2 Set options for automatically created interfaces failover From the top menu on the web interface page select Services Mobile Man...

Страница 228: ...b PIN code for SIM2 UCI mobile main sim2pin Opt sim2pin Depending on the SIM card specify the pin code for SIM 2 Blank Range Depends on the SIM provider Web LTE bands for SIM1 UCI mobile main sim1_lte_bands Opt sim1_lte_bands Depending on the SIM card specify the LTE bands for SIM 1 Comma delimiter Example option sim1_lte_bands 3 20 Limits LTE bands to 3 and 20 Note currently only supported by Huc...

Страница 229: ...I mobile main temp_poll_interval_sec Opt temp_poll_interval_sec Defines the time in seconds to poll the mobile module for temperature Set to 0 to disable 61 61 seconds Range Web Automatic Firmware Selection UCI mobile main enable_firmware_autoselect Opt enable_firmware_autoselect Defines whether to use time obtained from the mobile carrier to update the system clock when NTP is enabled 0 Disabled ...

Страница 230: ...t imsi Allows the IMSI International Mobile Subscriber Identity to be changed Default Programmed in module Digits Up to 15 digits Web HDR Auth User ID UCI mobile main hdr_userid Opt hdr_userid AN PPP user ID Supported on Cellient CDMA modem only Blank Range Depends on the CDMA provider Web HDR Auth User Password UCI mobile main hdr_password Opt hdr_password AN PPP password Supported on Cellient CD...

Страница 231: ..._SID registration flag 0 Disabled 1 Enabled Web MOB_TERM_FOR_NID registration flag UCI mobile main cdma_mob_term_for_nid_registration_flag Opt cdma_mob_term_for_nid_registration_flag The MOB_TERM_FOR_NID registration flag 0 Disabled 1 Enabled Web Access Overload Control UCI mobile main cdma_access_overload_control Opt cdma_access_overload_control Allows the access overload class to be changed Defa...

Страница 232: ...e form SID1 NID1 SID2 NID2 Format SID1 0 65535 NID 0 65535 Default 0 65535 Table 74 Information table for mobile manager CDMA settings 24 2 6 Mobile manager callers Figure 117 The mobile manager CDMA page Web Field UCI Package Option Description Web Name UCI mobile caller 0 name Opt name Name assigned to the caller Blank Range No limit Web Number UCI mobile caller 0 number Opt number Number of the...

Страница 233: ...b Interface Signal Sort UCI mobile roaming_template 0 sort_sig_st rength Opt sort_sig_strength Sorts interfaces by signal strength priority so those that have a better signal strength will be tried first 0 Disabled 1 Enabled Web Roaming SIM UCI mobile main roaming_sim Opt roaming_sim Sets in which slot to insert roaming SIM card 1 SIM slot 1 2 SIM slot 2 Web Firewall Zone UCI mobile roaming_templa...

Страница 234: ...f no valid_service order is defined then the configured Service Type is used Example mobile roaming_template 0 service_order gprs umts lte auto Blank Automatically detect best service Range gprs umts lte auto Web Health Monitor Interval UCI mobile roaming_template 0 health_int erval Opt health_interval Sets the period in seconds to check the health status of the interface The Health Monitor interv...

Страница 235: ...P Timeout UCI mobile roaming_template 0 timeout Opt timeout Specifies the time in seconds that Health Monitor ICMP will timeout at Sets ping timeout in seconds Choose the time in seconds that the health monitor ICMP will timeout at 3 Wait 3 seconds for ping reply Range Web Health Monitor ICMP Interval UCI mobile roaming_template 0 interval Opt icmp_interval Defines the interval in seconds between ...

Страница 236: ...119 The reboot page Check the Reboot now check box and then click Reboot 24 2 8 Scenario 2 PMP roaming pre empt disabled As in the previous section multi WAN connects the PMP interface and uses auto created interfaces for failover However in this scenario the auto created interface will not be disconnected as soon as the ifup_retry_sec expires for the PMP interface The primary interface will be re...

Страница 237: ...pt not selected Click Save Apply In the top menu select System Reboot The System Reboot page appears Figure 121 The system reboot page Check the Reboot now check box and then click Reboot 24 2 9 Scenario 3 No PMP roaming In this scenario there is no PMP interface that can be used for a connection The router scans the available mobile networks at boot and sorts the networks according to signal stre...

Страница 238: ...appears There are three sections Basic settings Configure SMS select roaming SIM and collect ICCCIDs Callers Configure callers that can use SMS Roaming Interface Template Configure common values for interface created by Automatic Operator Selection 24 2 10 1 Basic settings Web Field UCI Package Option Description Web SMS Enable UCI mobile main sms Opt sms Enables SMS no Disabled yes Enabled Web Co...

Страница 239: ...Name assigned to the caller Blank Range Web Number UCI mobile caller 0 number Opt number Number of the caller allowed to SMS the router Add in specific caller numbers or use the wildcard symbol Blank Range Web Enable UCI mobile caller 0 enabled Opt enabled Enables or disables incoming caller ID no Disabled yes Enabled Web Respond UCI mobile caller 0 respond Opt respond If checked the router will r...

Страница 240: ...me Opt username Username used to connect to APN Web PAP CHAP password UCI mobile roaming_template 0 password Opt password Password used to connect to APN Web Service Order UCI mobile roaming_template 0 service_or der Opt service_order Defines a space separated list of services in preferred order Valid options are gprs umts lte auto If no valid_service order is defined then the configured Service T...

Страница 241: ...ll timeout at 3 Wait 3 seconds for ping reply Range Web Health Monitor ICMP Interval UCI mobile roaming_template 0 interval Opt icmp_interval Defines the interval in seconds between multiple pings sent at each health check 1 Range Web Attempts Before WAN Failover UCI mobile roaming_template 1 health_fail _retries Opt health_fail_retries Defines the number of health check failures before interface ...

Страница 242: ...0 Disabled 1 Enabled Web Preempt UCI multiwan config preempt Opt pre empt Enables or disables pre emption for multiwan If enabled the router will keep trying to connect to a higher priority interface depending on timer set by ifup_retry_sec Leave this option unselected 0 Disabled 1 Enabled Web Alternate Mode UCI multiwan config alt Opt alt Enables or disables alternate mode for multiwan If enabled...

Страница 243: ... config interface 3g_s1_voda option auto 0 option proto 3g option service_order auto lte umts gprs option apn testIE option username test option password test option sim 1 option operator vodafone IE To view uci commands enter root VA_router uci show network network loopback interface network loopback ifname lo network loopback proto static network loopback ipaddr 127 0 0 1 network loopback netmas...

Страница 244: ...nfigurations are stored in the mobile package etc config mobile To view the mobile configuration file enter root VA_router uci export mobile config mobile main option sms yes option roaming_sim 1 option init_get_iccids no config caller option name Test option number option enabled yes option respond yes config roaming_template option roaming_sim 1 option firewall_zone wan option apn test IE option...

Страница 245: ... roaming_template 0 firewall_zone wan mobile roaming_template 0 apn test IE mobile roaming_template 0 username test mobile roaming_template 0 password test mobile roaming_template 0 service umts mobile roaming_template 0 health_interval 4 mobile roaming_template 0 icmp_hosts disable mobile roaming_template 0 timeout disable mobile roaming_template 0 health_fail_retries 3 mobile roaming_template 0 ...

Страница 246: ...1 To view the uci command of package multiwan enter root VA_router uci show multiwan multiwan config multiwan multiwan config enabled 1 multiwan config preempt 1 multiwan main_voda interface multiwan main_voda health_fail_retries 3 multiwan main_voda health_interval 3 multiwan 3g_s1_voda timeout 1 multiwan 3g_s1_voda icmp_hosts disable multiwan 3g_s1 main _voda priority 10 multiwan 3g_s1_voda excl...

Страница 247: ...bile package enter root VA_router uci export mobile package mobile config mobile main option sms yes option roaming_sim 1 option debug 1 config caller option name Eval option number option enabled yes option respond yes config roaming_template option roaming_sim 1 option firewall_zone wan option apn test IE option username test option password test option service umts option health_fail_retries 2 ...

Страница 248: ...mobile roaming_template 0 firewall_zone wan mobile roaming_template 0 apn stream co uk mobile roaming_template 0 username default mobile roaming_template 0 password void mobile roaming_template 0 service umts mobile roaming_template 0 health_fail_retries 2 mobile roaming_template 0 signal_threshold 100 mobile roaming_template 0 priority 5 mobile roaming_template 0 ifup_timeout_sec 180 mobile roami...

Страница 249: ...ig preempt no multiwan config alt_mode no 24 5 Automatic operator selection diagnostics via the web interface 24 5 1 Checking the status of the Multi WAN package When interfaces are auto created they are presented in the network and in the Multi WAN package To check interfaces created in the Multi WAN package from the top menu select Network Multi WAN To check interfaces that have been created in ...

Страница 250: ...h the time of scan and number of services found To check roaming interfaces discovered enter root VA_router cat var const_state roaming roaming main2_voda_lte service roaming main2_voda_lte name vodafone IE roaming main2_voda_lte shortname voda IE roaming main2_voda_lte opnum 27201 roaming main2_voda_lte interface main2_voda roaming main2_voda_lte servicetype 7 roaming main2_voda_lte sim 2 roaming...

Страница 251: ...RL roaming main2_o2IR_umts shortname o2 IRL roaming main2_o2IR_umts opnum 27202 roaming main2_o2IR_umts interface main2_o2IR roaming main2_o2IR_umts servicetype 2 roaming main2_o2IR_umts sim 2 roaming main2_o2IR_umts tested 1 roaming main2_o2IR_umts signalstrength 85 roaming main2_o2IR_gprs service roaming main2_o2IR_gprs name o2 IRL roaming main2_o2IR_gprs shortname o2 IRL roaming main2_o2IR_gprs...

Страница 252: ...2_3IRL icmp_hosts disable multiwan main2_3IRL health_interval 4 multiwan main2_3IRL priority 5 multiwan main2_3IRL ifup_retry_sec 120 multiwan main2_3IRL health_fail_retries 3 multiwan main2_o2IR interface multiwan main2_o2IR timeout disable multiwan main2_o2IR health_recovery_retries 5 multiwan main2_o2IR exclusive_group 3g multiwan main2_o2IR manage_state yes multiwan main2_o2IR signal_threshold...

Страница 253: ...in2_3IRL proto 3g network main2_o2IR interface network main2_o2IR snmp_alias_ifindex 3 network main2_o2IR sim 2 network main2_o2IR defaultroute yes network main2_o2IR username campen1 network main2_o2IR apn vpn amylan co uk network main2_o2IR opformat 2 network main2_o2IR phy 1 1 network main2_o2IR roaming_sim 2 network main2_o2IR operator 27202 network main2_o2IR password campen1 network main2_o2...

Страница 254: ... 05 02 38 2018 mobile 3g_1_1 imsi 204043726930595 mobile 3g_1_1 imsi2 204043726930595 mobile 3g_1_1 lte_band 3 mobile 3g_1_1 last_error no network service mobile 3g_1_1 mcc 272 mobile 3g_1_1 last_error_time 2018 02 22 10 41 27 mobile 3g_1_1 lac 11 mobile 3g_1_1 cell 46542698 mobile 3g_1_1 mnc 05 mobile 3g_1_1 operator_code 27205 mobile 3g_1_1 operator_name 3 IRL DATA ONLY mobile 3g_1_1 rscp_dbm 86...

Страница 255: ...If no data is received over the monitored interface during the configured duration then the recovery action is performed If more than one interface is specified under a single Connection Watch the recovery action will be performed only if no data is received on both of the interfaces for the defined period Currently three configurable periods and associated recovery actions can be defined 25 1 Con...

Страница 256: ... 0 test_ifaces Opt test_ifaces Defines the interface name s to monitor Multiple interfaces are delimited by space separator Example option test_ifaces WANADSL WANMOBILE If multiple interfaces are defined the failure action will only be triggered if no traffic is received on all interfaces for the defined period Web Failure Time for Action 1 UCI cwatch watch 0 failure_time_1 Opt failure_time_1 Defi...

Страница 257: ...duration to monitor an interface for receive traffic Duration can be specified in seconds minutes hours days 24h Range s m h d Web Failure Action 3 UCI cwatch watch 0 failure_action_3 Opt failure_action_3 Defines the failure action associated with failure_time_3 Example to reset usb option failure_action_3 reboot blank Range Table 81 Information table for cwatch section 25 3 Configuring cwatch usi...

Страница 258: ...ction_2 etc init d usb_startup restart cwatch WATCH_MOBILE failure_time_3 24h cwatch WATCH_MOBILE failure_action_3 reboot 25 3 2 cwatch using package options root VA_router uci export cwatch package cwatch config watch WATCH_MOBILE option enabled 1 option test_ifaces wan option failure_time_1 1h option failure_action_1 ifup wan option failure_time_2 10h option failure_action_2 etc init d usb_start...

Страница 259: ...interfaces and different subnets You can manually configure lease time as well as setting static IP to host mappings Domain Name Server DNS is responsible for resolution of IP addresses to domain names on the internet Dnsmasq is the application which controls DHCP and DNS services Dnsmasq has two sections one to specify general DHCP and DNS settings and one or more DHCP pools to define DHCP operat...

Страница 260: ..._____________________________________________________________________ _______________________________________________________________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 260 of 463 Figure 128 The DHCP and DNS page ...

Страница 261: ...ocal Opt local Specifies the local domain Names matching this domain are never forwarded and are resolved from DHCP or host files only lan Range Web Local Domain UCI dhcp dnsmasq 0 domain Opt domain Specifies local domain suffix appended to DHCP names and hosts file entries lan Range Web Log Queries UCI dhcp dnsmasq 0 logqueries Opt logqueries Writes received DNS requests to syslog 0 Disabled 1 En...

Страница 262: ...where given DHCP leases will be stored The DHCP lease file allows leases to be picked up again if dnsmasq is restarted tmp dhcp leas es Store DHCP leases in this file Range Web Ignore resolve file UCI dhcp dnsmasq 0 noresolv Opt noresolv Defines whether to use the local DNS file for resolving DNS 0 Use local DNS file 1 Ignore local DNS file Web Resolve file UCI dhcp dnsmasq 0 resolvfile Opt resolv...

Страница 263: ...ettings Figure 130 The TFTP settings section Web Field UCI Package Option Description Web Enable TFTP server UCI dhcp dnsmasq 0 enable_tftp Opt enable_tftp Enables the TFTP server 0 Disabled 1 Enabled Web TFTP server Root UCI dhcp dnsmasq 0 tftp_root Opt tftp_root Defines root directory for file served by TFTP Web Network boot image UCI dhcp dnsmasq 0 dhcp_boot Opt dhcp_boot Defines the filename o...

Страница 264: ...s Figure 131 The advanced settings page Web Field UCI Package Option Description Web Filter private UCI dhcp dnsmasq 0 Opt boguspriv Enables disallow option for forwarding reverse lookups for local networks This rejects reverse lookups to private IP ranges where no corresponding entry exists in etc hosts 1 Enabled 0 Disabled Web Filter useless UCI dhcp dnsmasq 0 filterwin2k Opt filterwin2k Enables...

Страница 265: ...rder of the resolve file 1 Enabled 0 Disabled Web Bogus NX Domain override UCI dhcp dnsmasq 0 bogusnxdomain Opt list bogusnxdomain A list of hosts that supply bogus NX domain results When using UCI multiple servers enter the server names with a space between them Empty list Range Web DNS server port UCI dhcp dnsmasq 0 port Opt port Listening port for inbound DNS queries 53 Set to 0 to disable DNS ...

Страница 266: ...lays the remaining lease time Table 86 Information table for active leases section 26 2 6 Static leases Use static leases to assign fixed IP addresses and symbolic hostnames to DHCP clients Static leases are also required for non dynamic interface configurations where only hosts with a corresponding lease are served Click Add to add a new lease entry Figure 133 The static leases section Web Field ...

Страница 267: ...lect Edit Scroll to DNCP Server section Note this section is only available for interfaces with a static IP address To assign a DHCP Server to the interface click Setup DHCP Server Figure 134 The DHCP Server settings section The DHCP Server configuration options will appear The DHCP Server is divided into two sub sections General Setup and Advanced Settings 26 2 7 1 DHCP server general setup Figur...

Страница 268: ...reater than 24 it may be greater than 255 to span subnets Alternatively specify in IP address notation using the wildcard 0 where the octet is required to inherit bits from the interface IP addess Example to define a DHCP scope starting from 10 1 20 0 on an interface with 10 1 0 0 16 address set start to 0 0 20 1 100 Range Web Limit UCI dhcp dhcp x limit Opt limit Defines the size of the address p...

Страница 269: ...470 or list dhcp_option mtu 1470 you can assign a specific MTU per DHCP pool Your client must accept the MTU option for this to work Options that contain multiple values should be separated by a comma Example list dhcp_option 6 192 168 2 1 192 168 2 2 No options defined Syntax Option_number option_value Web n a UCI dhcp dhcp x networkid Opt networkid Assigns a network id to all clients that obtain...

Страница 270: ...onf auto dhcp dnsmasq 0 nohosts 0 dhcp dnsmasq 0 addnhosts hostfile1 hostfile2 dhcp dnsmasq 0 interface lan dhcp dnsmasq 0 server 1 1 1 1 2 2 2 2 dhcp dnsmasq 0 rebind domain tes domain dhcp dnsmasq 0 enable_tftp 0 dhcp dnsmasq 0 tftp_root tmp tftp dhcp dnsmasq 0 dhcp_boot boot image dhcp dnsmasq 0 nonegcache 0 dhcp dnsmasq 0 strictorder 0 dhcp dnsmasq 0 bogusnxdomain 1 1 1 1 2 2 2 2 dhcp dnsmasq ...

Страница 271: ...ist bogusnxdomain 2 2 2 2 option port 53 option dhcpleasemax 150 option ednspacket_max 1280 option dnsforwardmax 150 Options local and domain enable dnsmasq to serve entries in etc hosts as well as the DHCP client s names as if they were entered into the LAN DNS domain For options domainneeded boguspriv localise_queries and expandhosts make sure that requests for these local host names and the rev...

Страница 272: ...ess 192 168 1 2 and the name mypc for a machine with the Ethernet hardware address 00 11 22 33 44 55 26 3 2 1 Static leases using UCI root VA_router uci show dhcp mypc dhcp mypc host dhcp mypc ip 192 168 1 2 dhcp mypc mac 00 11 22 33 44 55 dhcp mypc name mypc 26 3 2 2 Static leases using package options root VA_router uci export dhcp package dhcp config host mypc option ip 192 168 1 2 option mac 0...

Страница 273: ...kage options config dhcp option interface LAN However to better identify it is recommended to give the dhcp pool instance a name For example to create a dhcp pool instance named LAN To define a named dhcp pool instance using UCI enter dhcp LAN dhcp dhcp LAN interface LAN To define a named dhcp pool instance using package options enter config dhcp LAN option interface LAN 26 3 3 1 Configuring DHCP ...

Страница 274: ...ion will only detail the configuration for DHCP client For information on how to configure other interface options such as firewall zone mapping of switch ports etc refer to standard interface configuration document 27 1 Configuration packages used Package Sections network interface 27 2 Configuring DHCP client using the web interface DHCP client is configured under the interface configuration by ...

Страница 275: ...rnet interfaces Ports are marked with capital letters starting with A Type in space separated port character in the port map fields ATM Bridges ATM bridges expose encapsulated Ethernet in AAL5 connections as virtual Linux network interfaces which can be used in conjunction with DHCP or PPP to dial into the provider network 27 2 1 Editing an existing interface for DHCP client To edit an existing in...

Страница 276: ...ing Encapsulation protocol IOT L2TP Layer 2 Tunnelling Protocol PPP Point to Point Protocol PPPoE PPP over Ethernet PPPoATM PPP over ATM LTE UMTS GPRS EV DO CDMA UMTS or GPRS connection using an AT style 3G modem Web Create a bridge over multiple interfaces UCI network if name type Opt type If you select this option then the new logical interface created will act as a bridging interface between th...

Страница 277: ...Section Description General Setup Configure the basic interface settings such as protocol IP address gateway netmask custom DNS servers Advanced Settings Bring up on boot Monitor interface state Override MAC address Override MTU and Use gateway metric Physical Settings Bridge interfaces VLAN PCP to SKB priority mapping Firewall settings Assign a firewall zone to the interface Only General setup an...

Страница 278: ...over IPv4 transport GRE Generic Routing Encapsulation protocol IOT L2TP Layer 2 Tunnelling Protocol PPP Point to Point protocol PPPoE PPP over Ethernet PPPoATM PPP over ATM LTE UMTS GPRS EV DO CDMA UMTS or GPRS connection using an AT style 3G modem Web Hostname to send when requesting DHCP UCI network if name hostname Opt hostname Defines the hostname to include in DHCP requests Web Accept router ...

Страница 279: ... interface state UCI network if name monitored Opt monitored Enabled if status of interface is presented on Monitoring platform 0 Disabled 1 Enabled Web Use broadcast flag UCI network if name broadcast Opt broadcast Enables the broadcast flag in DHCP requests required for certain ISPs 0 Disabled 1 Enabled Web Use default gateway UCI network if name gateway Opt gateway Defines whether to suppress t...

Страница 280: ...dr Override the MAC address assigned to this interface Must be in the form hh hh hh hh hh hh where h is a hexadecimal number Web Override MTU UCI network if name mtu Opt mtu Defines the value to override the default MTU on this interface 1500 1500 bytes Web Dependant Interfaces UCI network if_name dependants Opt dependants Lists interfaces that are dependent on this parent interface Dependant inte...

Страница 281: ...k config interface DHCPCLIENTLAN option proto dhcp option ifname eth3 option monitored 0 option broadcast 0 option accept_ra 1 option send_rs 0 option metric 1 27 4 DHCP client diagnostics 27 4 1 Interface status To see IP address of DHCP client interface enter ifconfig root VA_router ifconfig 3g CDMA Link encap Point to Point Protocol inet addr 10 33 152 100 P t P 178 72 0 237 Mask 255 255 255 25...

Страница 282: ... 16436 Metric 1 RX packets 385585 errors 0 dropped 0 overruns 0 frame 0 TX packets 385585 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 0 RX bytes 43205140 41 2 MiB TX bytes 43205140 41 2 MiB To display a specific interface enter root VA_router ifconfig eth0 eth0 Link encap Ethernet HWaddr 00 E0 C8 12 12 15 inet addr 192 168 100 1 Bcast 192 168 100 255 Mask 255 255 255 0 inet6 ad...

Страница 283: ..._______________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 283 of 463 27 4 3 Route status To show the current routing status enter root VA_router route n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192 168 100 0 255 255 255 0 U 0 0 0 eth0 Note a route will only be displayed in the routing table when the interface is up ...

Страница 284: ...P forwarding This section describes how to configure the router to forward DHCP requests from an interface to a network DHCP server 28 1 Configuration packages used Package Sections dhcp_fwd dhcpfwd 28 2 Configuring DHCP forwarding using the web interface To configure DHCP forwarding using the web interface in the top menu click Network DHCP Forwarder The DHCP forwarder page appears The web GUI cr...

Страница 285: ...sing a list of options via package options list listen_interface LAN1 list listen_interface LAN2 Web DHCP Servers UCI dhcp_fwd main server Opt list server Defines a list of the network DHCP servers to forward DHCP messages to Multiple interface_name s are entered using uci set and uci add_list commands Example uci set dhcp_fwd main server 1 1 1 1 uci add_list dhcp_fwd main main server 2 2 2 2 or u...

Страница 286: ...cket This means that when forwarding over an IPSec tunnel a source NAT firewall rule is required to change the source IP to match an IPSec connection rule 28 4 1 Configuration packages used Package Sections firewall redirect 28 4 2 Configuring source NAT for DHCP forwarding over IPsec To enter a source NAT rule browse to Network Firewall Select Traffic Rules tab The Firewall Traffic Rules page app...

Страница 287: ...r the source NAT rule Select the interface where the DHCP requests are originating Web Destination Zone UCI firewall redirect X dest Opt dest Defines destination interface for the source NAT rule Select the interface where the DHCP requests are intended to be transmitted Web To source IP UCI firewall redirect X src_dip Opt src_dip Defines the IP address to rewrite matched traffic souce IP Select t...

Страница 288: ...ewall redirect X src Opt src Defines the source interface for the source NAT rule Select the interface where the DHCP requests are originating Web Destination Zone UCI firewall redirect X dest Opt dest Defines destination interface for the source NAT rule Select the interface where the DHCP requests are intended to be transmitted Web Destination port UCI firewall redirect X port Opt port Defines t...

Страница 289: ..._port 67 28 5 DHCP forwarding diagnostics 28 5 1 Tracing DHCP packets To trace DHCP packets on any interface on the router enter tcpdump i any n p port 67 root VA_router tcpdump i any n p port 67 root VA_router tcpdump verbose output suppressed use v or vv for full protocol decode listening on any link type LINUX_SLL Linux cooked capture size 65535 bytes 16 39 20 666070 IP 0 0 0 0 68 255 255 255 2...

Страница 290: ...______________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 290 of 463 16 39 20 666166 IP 0 0 0 0 68 255 255 255 255 67 BOOTP DHCP Request from 00 e0 c8 13 02 3d length 360 28 5 2 ARP table status To show the current ARP table of the router enter arp root VA_router arp 10 67 253 141 at 30 30 41 30 43 36 ether on eth8 10 47 48 1 at 0a 44 b2 06 ether on gre gr...

Страница 291: ...ever the IP address changes the client notifies the DNS provider to update the corresponding domain name When the DNS provider responds to queries for the domain name it sets a low lifetime typically a minute or two at most on the response so that it is not cached Updates to the domain name are thus visible throughout the whole Internet with little delay Note most providers impose restrictions on ...

Страница 292: ...I ddns name update_url Opt update_url Defines the customer DNS provider Displayed when the service is set to custom in the web interface Web Hostname UCI ddns name domain Opt domain Defines the fully qualified domain name associated with this entry This is the name to update with the new IP address as needed Web Username UCI ddns name username Opt username Defines the user name to use for authenti...

Страница 293: ...k_unit 10 Range Web Check time unit UCI ddns name check_unit Opt check_unit Defines the time unit to use for check for an IP change Used in conjunction with check_interval Minutes hours Web Force update every UCI ddns name force_interval Opt force_interval Defines how often to force an IP update to the provider Used in conjunction with force_unit 72 Disabled Range Enabled Web Force time unit UCI d...

Страница 294: ...of 463 ddns ddns1 check_unit minutes ddns ddns1 force_interval 72 ddns ddns1 force_unit hours ddns ddns1 interface dsl0 Package options for DDNS root VA_router uci export ddns package ddns config service ddns1 option enabled 1 option service_name dyndns org option domain fqdn_of_interface option username test option password test option ip_source network option ip_network dsl0 option check_interva...

Страница 295: ...resses It is used preferentially to other name resolution methods such as DNS The hosts file contains lines of text consisting of an IP address in the first text field followed by one or more host names Each field is separated by white space tabs are often preferred for historical reasons but spaces are also used Comment lines may be included they are indicated by an octothorpe in the first positi...

Страница 296: ...ion Web Hostname UCI network host hostname Opt hostname Defines the hostname Web IP Address UCI network host addr Opt addr Defines the IP address associated with the hostname Table 97 Information table for host records settings 30 2 3 Local host records using command line Local host records are configured in the host section of the network package etc config network Multiple hosts can be configure...

Страница 297: ...package network config host option hostname Device1 option addr 1 1 1 1 30 2 4 Local host records diagnostics 30 2 4 1 Hosts file Local host records are written to the local hosts file stored at etc hosts To view the local hosts file enter root VA_router cat etc hosts 127 0 0 1 localhost 1 ip6 localhost ip6 loopback 1 1 1 1 Device1 30 3 PTR records PTR records are used for reverse DNS The primary ...

Страница 298: ... Description Web Hostname UCI dhcp domain name Opt name Defines the domain name for the PTR record Web IP Address UCI dhcp domain ip Opt ip Defines the IP address associated with the domain name Table 98 Information table for hostnames settings 30 3 3 PTR records using command line PTR records are configured in the domain section of the dhcp package etc config dhcp Multiple domains can be configur...

Страница 299: ...0 3 4 1 PTR records table To view PTR records enter root VA_router pgrep fl dnsmasq 4724 usr sbin dnsmasq K D y Z b E s lan S lan l tmp dhcp leases r tmp resolv conf auto stop dns rebind rebind localhost ok A Device1 lan 1 1 1 1 ptr record 1 1 1 1 in addr arpa Device1 lan A Device2 lan 2 2 2 2 ptr record 2 2 2 2 in addr arpa Device2 lan 30 4 Static leases Static leases are used to assign fixed IP ...

Страница 300: ...iption Web Hostname UCI dhcp host name Opt name Defines the symbolic hostname to assign Web MAC Address UCI dhcp host mac Opt mac Defines the MAC address for this host MAC addresses should be entered in the format aa bb cc dd ee ff Web IPv4 Address UCI dhcp host ip Opt ip Defines the IP address to be used for this host Table 99 Information table for static leases settings 30 4 3 Static leases usin...

Страница 301: ...Access 2018 GW1000 Series User Manual Issue 2 3 Page 301 of 463 Or using package options config host option name Host1 30 4 3 1 Static leases using uci root VA_router uci show dhcp dhcp host 0 host dhcp host 0 name Host1 dhcp host 0 mac aa bb cc dd ee ff dhcp host 0 ip 4 4 4 4 30 4 3 2 Static leases using package option root VA_router uci export dhcp package dhcp config host option name Host1 opti...

Страница 302: ...pass through the firewall Dropped packets are prohibited from passing Rejected packets are also prohibited but an ICMP message is returned to the source host A minimal firewall configuration for a router usually consists of one defaults section at least two zones LAN and WAN and one forwarding to allow traffic from LAN to WAN Other sections that exist are redirects rules and includes 31 1 Configur...

Страница 303: ...alid Opt drop_invalid Drops packets not matching any active connection 0 Disabled 1 Enabled Web Input UCI firewall defaults input Opt input Default policy for the Input chain Accept Accepted packets pass through the firewall Reject Rejected packets are blocked by the firewall and ICMP message is returned to the source host Drop Dropped packets are blocked by the firewall Web Output UCI firewall de...

Страница 304: ... by software the only hardware limitation is the amount of RAM installed on the device 31 2 1 3 Firewall zone general settings Figure 153 The firewall zone general settings Web Field UCI Package Option Description Web name UCI firewall zone label name Opt name Sets the unique zone name Maximum of 11 characters allowed Note the zone label is obtained by using the uci show firewall command and is of...

Страница 305: ... Default policy for internal zone traffic between interfaces Forward rules for a zone describe what happens to traffic passing between different interfaces within that zone Accept Accepted packets pass through the firewall Reject Rejected packets are blocked by the firewall and ICMP message is returned to the source host Drop Dropped packets are blocked by the firewall Web Masquerading UCI firewal...

Страница 306: ...ssible by prefixing the subnet with Multiple subnets are allowed Web Restrict Masquerading to given destination subnets UCI firewall zone label masq_dest Opt masq_dest Limits masquerading to the given destination subnets Negation is possible by prefixing the subnet with Multiple subnets are allowed Multiple IP addresses subnets should be separated by a space for example option masq_dest 1 1 1 1 2 ...

Страница 307: ...er zones Enter the current zone as the source Enabling this option puts two entries into the firewall file destination and source UCI firewall forwarding label src Opt src Web Allow forward from source zones UCI firewall forwarding label dest Opt dest Allows forward from other zones Enter the current zone as the destination Enabling this option puts two entries into the firewall file destination a...

Страница 308: ... udp Match UDP packets only udp Web External port UCI firewall redirect label src_dport Opt src_dport Specifies the incoming TCP UDP port or port range to match This is the incoming destination port specified by the external host Port ranges specified as start stop for example 2001 2020 Blank Match traffic to any port Range 1 65535 Web Internal IP address UCI firewall redirect label dest_ip Opt de...

Страница 309: ...ct should be enabled or disabled 0 Disabled 1 Enabled Web name UCI firewall redirect label name Opt name Sets the port forwarding name For Web UI generated redirects the redirect label takes the form of redirect x where x is an integer starting from 0 Web Protocol UCI firewall redirect label proto Opt proto Defines layer 4 protocol to match incoming traffic Option Description UCI tcp udp Match eit...

Страница 310: ...35 Web External port UCI firewall redirect label src_dport Opt src_dport Specifies the incoming TCP UDP port or port range to match This is the incoming destination port specified by the external host Port ranges specified in format start stop for example 2001 2020 You can enter multiple ports using a space separator For example option src_dport 22 23 see note below on use with options src_port an...

Страница 311: ...ts of ports If src_port is a list then src_dport dst_port cannot be to avoid ambiguity If src_dport dest_port are lists of different lengths then the missing values of the shorter list default to the corresponding port in the other list For example if configuration file is option src_dport 21 22 23 option dest_port 21 22 23 24 then the firmware will interpret the values as option src_dport 21 22 2...

Страница 312: ... specific icmp types This option is only valid when ICMP is selected as the protocol ICMP types can be listed as either type names or type numbers Note for a full list of valid ICMP type names see the ICMP Options table below Web Source zone UCI firewall rule label src Opt src Specifies the traffic source zone must refer to one of the defined zone names For typical port forwards this is usually WA...

Страница 313: ...Opt limit Sets maximum average matching rate specified as a number with an optional second minute hour or day suffix Example 3 hour Web n a UCI firewall rule label limit_burst Opt limit_burst Sets maximum initial number of packets to match This number gets recharged by one every time the limit specified above is not reached up to this number Web n a UCI firewall rule label recent Opt recent Sets n...

Страница 314: ...alid 1 uci set firewall defaults 0 input ACCEPT uci set firewall defaults 0 output ACCEPT uci set firewall defaults 0 forward ACCEPT Note this command is only required if there is no defaults section 31 3 2 Firewall zone settings By default all firewall zone instances are named zone instances are identified by zone then the zone position in the package as a number For example for the first zone in...

Страница 315: ... in the package using UCI firewall forwarding 0 forwarding firewall forwarding 0 src lan Or using package options config forwarding option src lan To enable forwarding of traffic from WAN to LAN enter uci add firewall forwarding uci set firewall forwarding 1 dest wan uci set firewall forwarding 1 src lan 31 3 4 Firewall port forwards By default all port forward instances are named redirect instanc...

Страница 316: ...e for the first rule in the package using UCI firewall rule 0 rule firewall rule 0 enabled 1 Or using package options config rule option enabled 1 To set traffic rules enter uci add firewall rule uci set firewall rule 1 enabled 1 uci set firewall rule 1 name Allow_ICMP uci set firewall rule 1 family any uci set firewall rule 1 proto ICMP uci set firewall rule 1 icmp_type any uci set firewall rule ...

Страница 317: ...00 ba3 64 option target ACCEPT Similarly the following rule is automatically treated as IPv4 only config rule option src wan option dest_ip 88 77 66 55 option target REJECT Rules without IP addresses are automatically added to iptables and ip6tables unless overridden by the family option Redirect rules port forwards are always IPv4 since there is no IPv6 DNAT support at present 31 5 Implications o...

Страница 318: ...tion tracking By default the firewall will disable connection tracking for a zone if no masquerading is enabled This is achieved by generating NOTRACK firewall rules matching all traffic passing via interfaces referenced by the firewall zone The purpose of NOTRACK is to speed up routing and save memory by circumventing resource intensive connection tracking in cases where it is not needed You can ...

Страница 319: ...manner because it is not using default port 22 config redirect option name ssh option src wan option proto tcpudp option src_dport 5555 option dest_ip 192 168 1 100 option dest_port 22 option target DNAT option dest lan 31 7 3 Source NAT SNAT Source NAT changes an outgoing packet destined for the system so that is looks as though the system is the source of the packet Define source NAT for UDP and...

Страница 320: ...destination port forwarding This usage is similar to SNAT but as the destination IP address is not changed machines on the destination network need to be aware that they ll receive and answer requests from a public IP address that is not necessarily theirs Port forwarding in this fashion is typically used for load balancing config redirect option src wan option src_dport 80 option dest lan option ...

Страница 321: ... a forward rule rejecting traffic from LAN to WAN on the ports 1000 1100 config rule option src lan option dest wan option dest_port 1000 1100 option proto tcpudp option target REJECT 31 7 9 Denial of service protection rule The example below shows a sample configuration of SSH DoS attack where if more than two SSH connections are attempted within 120 seconds every further connection will be dropp...

Страница 322: ...n ipaddr 10 1 28 122 option netmask 255 255 0 0 option ifname eth1 eth3 12 option ipv4_rp_filter 1 31 7 11 Simple DMZ rule The following rule redirects all WAN ports for all protocols to the internal host 192 168 1 2 config redirect option src wan option proto all option dest_ip 192 168 1 2 31 7 12 Transparent proxy rule external The following rule redirects all outgoing HTTP traffic from LAN thro...

Страница 323: ...le below redirects all outgoing HTTP traffic from LAN through a proxy server listening at port 3128 on the router itself config redirect option src lan option proto tcp option src_dport 80 option dest_port 3128 31 7 14 IPSec passthrough This example enables proper forwarding of IPSec traffic through the WAN AH protocol config rule option src wan option dest lan option proto ah option target ACCEPT...

Страница 324: ...cludes is Linux standard and therefore different from UCIs 31 7 16 Firewall management After a configuration change to rebuild firewall rules enter root VA_router etc init d firewall restart Executing the following command will flush all rules and set the policies to ACCEPT on all standard chains root VA_router etc init d firewall stop To manually start the firewall enter root VA_router etc init d...

Страница 325: ...______________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 325 of 463 To see the rules as they are executed run the fw command with the FW_TRACE environment variable set to 1 root VA_router FW_TRACE 1 fw reload To direct the output to a file for later inspection enter root VA_router FW_TRACE 1 fw reload 2 tmp iptables lo ...

Страница 326: ...ead the chapter Dynamic Multipoint Virtual Private Network DMVPN The number of IPSec tunnels supported by Virtual Access routers is not limited in any way by software the only hardware limitation is the amount of RAM installed on the device 32 1 Configuration package used Package Sections strongswan general connection secret 32 2 Configuring IPSec using the web interface To configure IPSec using t...

Страница 327: ...e an old one 0 Disabled 1 Enabled replace Identical to Yes keep Rejects new IKE SA and keep the duplicate established earlier Web Cache CRLs UCI strongswan general cachecrls Opt cachecrls Certificate Revocation Lists CRLs fetched via HTTP or LDAP will be cached in etc ipsec d crls under a unique file name derived from the certification authority s public key 0 Disabled 1 Enabled Web Disable Revoca...

Страница 328: ...ressive mode Note using aggressive mode along with PSK authentication is less secure method than main mode and should be avoided 0 Disabled 1 Enabled Web Name UCI strongswan connection X name Opt name Specifies a name for the tunnel Web Autostart Action UCI strongswan connection X auto Opt auto Specifies when the tunnel is initiated start On start up route When traffic routes this way add Loads a ...

Страница 329: ...public IP address of the remote peer Web Local ID UCI strongswan connection X localid Opt localid Defines the local peer identifier Web Remote ID UCI strongswan connection X remoteid Opt remoteid Defines the remote peer identifier Web Local LAN IP Address UCI strongswan connection X locallan Opt locallan Defines the local IP of LAN Web Local LAN IP Address Mask UCI strongswan connection X locallan...

Страница 330: ... remoteproto Restricts the connection to a single protocol on the remote side Web Remote Port UCI strongswan connection X remoteport Opt remoteport Restricts the connection to a single port on the remote side Web Authby UCI strongswan connection X authby Opt authby Defines how the two secure gateways should authenticate Note using aggressive mode along with PSK authentication is unsecure and shoul...

Страница 331: ...Sec settings Figure 162 The IPSec connections settings Web Field UCI Package Option Description Web XAuth Identity UCI strongswan connection X xauth_identity Opt xauth_identity Defines Xauth ID Web IKE Algorithm UCI strongswan connection X ike Opt ike Specifies the IKE algorithm to use The format is encAlgo authAlgo DHGroup encAlgo 3des aes128 aes256 serpent twofish blowfish authAlgo md5 sha sha2 ...

Страница 332: ...face names is automatically generated If you want to specify more than one interface use the custom value Example if you have a 3G WAN interface called wan and a WAN ADSL interface called dsl and wanted to use one of these interfaces for this IPSec connection you would use wan adsl Web IKE Life Time UCI strongswan connection X ikelifetime Opt ikelifetime Specifies how long the keyring channel of a...

Страница 333: ...ction None Disables DPD Clear Clear down the tunnel if peer does not respond Reconnect when traffic brings the tunnel up Hold Clear down the tunnel and bring up as soon as the peer is available Restart Restarts DPD when no activity is detected Web DPD Delay UCI strongswan connection X dpddelay Opt dpddelay Defines the period time interval with which R_U_THERE messages and INFORMATIONAL exchanges a...

Страница 334: ...n secret X idtype Opt idtype Defines whether IP address or userfqdn is used Web ID selector UCI strongswan secret X localaddress Opt localaddress Defines the local address this secret applies to Web ID selector UCI strongswan secret X remoteaddress Opt remoteaddress Defines the remote address this secret applies to Web N A UCI strongswan secret X userfqnd Opt userfqnd FQDN or Xauth name used of Ex...

Страница 335: ...an general debug none uci set strongswan general initial_contact 0 uci commit This will create the following output config general general option enabled yes option strictcrlpolicy no option uniqueids yes option cachecrls no option debug none option initial_contact 0 32 3 2 Connection settings touch etc config strongswan uci add strongswan connection uci set strongswan connection 0 ikelifetime 3h ...

Страница 336: ...remotelan 172 19 101 3 uci set strongswan connection 0 remotelanmask 255 255 255 255 uci set strongswan connection 0 authby xauthpsk uci set strongswan connection 0 xauth_identity testxauth uci set strongswan connection 0 ike 3des md5 modp1024 uci set strongswan connection 0 esp 3des md5 uci set strongswan connection 0 waniface wan uci set strongswan connection 0 inherit_child 0 uci set strongswan...

Страница 337: ...c tunnel This includes the traffic destined to the router s IP address To avoid this situation you must include an additional config connection section Commands touch etc config strongswan uci add strongswan connection uci set strongswan connection 1 name local uci set strongswan connection 1 enabled yes uci set strongswan connection 1 locallan 10 1 1 1 uci set strongswan connection 1 locallanmask...

Страница 338: ...ci set strongswan secret 0 enabled yes uci set strongswan secret 0 localaddress 192 168 209 1 uci set strongswan secret 0 remoteaddress 100 100 100 100 uci set strongswan secret 0 secrettype psk uci set strongswan secret 0 secret secret uci commit This will create the following output config secret option enabled yes option localaddress 192 168 209 1 option remoteaddress 100 100 100 100 option sec...

Страница 339: ...userfqdn testxauth option remoteaddress 100 100 100 100 option secret xauth option secrettype XAUTH 32 4 Configuring an IPSec template for DMVPN via the web interface To configure IPSec using the web interface in the top menu select Services IPSec The strongSwan IPSec VPN page appears There are three sections Common Settings Control the overall behaviour of strongSwan This behaviour is common acro...

Страница 340: ... are unique so a new automatically keyed connection using the same ID is almost invariably intended to replace an old one 0 Disabled 1 Enabled replace Identical to Yes keep Rejects new IKE SA and keep the duplicate established earlier Web Cache CRLs UCI strongswan general cachecrls Opt cachecrls Certificate Revocation Lists CRLs fetched via HTTP or LDAP will be cached in etc ipsec d crls under a u...

Страница 341: ..._____________________________________________________ _______________________________________________________________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 341 of 463 Figure 165 The connections settings section ...

Страница 342: ...nection X type Opt type Defines the type of IPSec connection tunnel Connection uses tunnel mode transport Connection uses transport mode pass Connection does not perform any IPSec processing drop Connection drops all the packets Web Remote GW Address UCI strongswan connection X remoteaddress Opt remoteaddress Sets the public IP address of the remote peer Leave blank for DMVPN Web Local ID UCI stro...

Страница 343: ...t authby Defines how the two secure gateways should authenticate Note using aggressive mode along with PSK authentication is unsecure and should be avoided Pubkey For public key signatures Rsasig For RSA digital signatures ecdsasig For Elliptic Curve DSA signatures Psk Using a preshared key xauthrsasig Enables eXtended Authentication XAuth with addition to RSA signatures xauthpsk Using extended au...

Страница 344: ...n and a WAN ADSL interface called dsl and wanted to use one of these interfaces for this IPSec connection you would use wan adsl Web IKE Life Time UCI strongswan connection X ikelifetime Opt ikelifetime Specifies how long the keyring channel of a connection ISAKMP or IKE SA should last before being renegotiated 3h Timespec 1d 3h 25m 10s Web Key Life UCI strongswan connection X keylife Opt keylife ...

Страница 345: ...ent if no other traffic is received 30s Timespec 1d 2h 25m 10s Web DPD Timeout UCI strongswan connection X dpdtimeout Opt dpdtimeout Defines the timeout interval after which all connections to a peer are deleted in case of inactivity 150s Timespec 1d 2h 25m 10s Table 114 Information table for IPSec connections settings 32 4 3 Configure secrect settings Each tunnel requires settings to configure ho...

Страница 346: ... an IPSec template to use with DMVPN The following example shows how to configure an IPSec connection template to use with DMVPN Commands touch etc config strongswan uci set strongswan general general uci set strongswan general enabled yes uci set strongswan general strictcrlpolicy no uci set strongswan general uniqueids yes uci set strongswan general cachecrls yes uci set strongswan general nattr...

Страница 347: ...ret 0 secrettype psk uci set strongswan secret 0 secret secret This will create package strongswan config general general option enabled yes option strictcrlpolicy no option uniqueids yes option cachecrls yes option nattraversal yes config connection option enabled yes option name dmvpn option type transport option localproto gre option remoteproto gre option ike aes sha1 modp1024 option esp aes12...

Страница 348: ...n underscore for example dmvpn_213 233 148 2 32 7 IPSec diagnostics using UCI 32 7 1 IPSec configuration To view IPSec configuration via UCI enter root VA_router uci export strongswan To restart strongSwan enter root VA_router etc init d strongswan restart 32 7 2 IPSec status 32 7 3 To view IPSec status enter root VA_router ipsec statusall Security Associations 1 up 0 connecting dmvpn_89_101_154_1...

Страница 349: ... IPSec configuration to the physical interface This reduces the number of lines of configuration required for a VPN development For example for a 1000 site deployment DMVPN reduces the configuration effort at the hub from 3900 lines to 13 Adding new peers spokes to the VPN requires no changes at the hub Better scalability of the network Dynamic IP addresses can be used at the peers site Spokes can...

Страница 350: ...AN interface ADSL 3G and initiate main mode IPSec in transport mode to the hub After an IPSec tunnel is established spokes register their NHRP membership with the hub GRE tunnels come up Hub caches the GRE tunnel and real IP addresses of each spoke When spoke1 wants to talk to spoke2 it sends an NHRP resolution request to the hub The hub checks its cache table and forwards that request to spoke2 S...

Страница 351: ...ith the source of the packet Hub sends an NHRP registration reply with a NAT extension to spoke1 The NAT extension informs spoke1 that it is behind the NAT ed device Spoke1 registers its pre and post NAT address When spoke1 wants to talk to spoke2 it sends an NHRP resolution request to the hub Hub checks its cache table and forwards that request to spoke2 Spoke2 caches spoke1 s GRE pre and post NA...

Страница 352: ...nterface The DMVPN section contains fields required to configure the parameters relative to the DMVPN Hub These are used for DMVPN tunnels such as GRE tunnels GRE tunnel remote IP DMVPN Hub IP and password 33 5 1 DMVPN general settings In the top menu select Network DMVPN The DMVPN page appears There are two sections General and DMVPN Hub Settings Figure 170 The DMVPN general section Web Field UCI...

Страница 353: ...terface on the hub For example if the mask is 255 255 0 0 the length will be 16 Web DMVPN Hub IP Address UCI dmvpn interface X nhs_ip Opt nhs_ip Configures the physical IP address for the DMVPN hub Web NHRP Authentication UCI dmvpn interface X cisco_auth Opt cisco_auth Enables authentication on NHRP The password will be applied in plaintext to the outgoing NHRP packets Maximum length is 8 characte...

Страница 354: ...ec connections page In the Name column the syntax contains the IPSec name defined in package dmvpn and the remote IP address of the hub or the spoke separated by an underscore for example dmvpn_213 233 148 2 To check the status of DMVPN in the top menu click Status DMVPN Figure 173 The NBMA peers page To check DMVPN status enter opennhrpctl show Status ok Interface gre GRE Type local Protocol Addr...

Страница 355: ...n with local route local_addr Local destination IP or off NBMA subnet Protocol Address Tunnel IP address NBMA Address Pre NAT IP address if NBMA NAT OA Address is present or real address if NAT is not present NBMA NAT OA Address Post NAT IP address This field is present when Address is translated in the network Flags up Can send all packets registration ok unique Peer is unique used Peer is kernel...

Страница 356: ...ue 2 3 Page 356 of 463 You can check DMVPN status using UCI commands opennhrpctl show Status ok Interface gre GRE Type local Protocol Address 11 11 11 7 32 Alias Address 11 11 11 3 Flags up Interface gre GRE Type local Protocol Address 11 11 11 3 32 Flags up Interface gre GRE Type cached Protocol Address 11 11 11 2 32 NBMA Address 178 237 115 129 NBMA NAT OA Address 172 20 38 129 Flags used up Exp...

Страница 357: ...ry group of receivers that expresses an interest in receiving a particular data stream The receivers the designated multicast group are interested in receiving a data stream from the source They indicate this by sending an Internet Group Management Protocol IGMP host report to their closest router in the network The routers are then responsible for delivering the data from the source to the receiv...

Страница 358: ... for PIM global settings 34 3 2 Interfaces configuration Figure 175 The interfaces configuration section Web Field UCI Package Option Description Web Enabled UCI pimd interface x enabled Opt enabled Enables multicast management of the given interface by the PIM application 0 Disabled 1 Enabled Web Interface UCI pimd interface x interface Opt interface Selects the interface to apply PIM settings to...

Страница 359: ...onfig pimd To view the configuration file enter uci export pimd root VA_router etc config1 uci export pimd package pimd config routing pimd option enabled yes config interface option enabled yes option interface lan option ssm yes option igmp yes config interface option enabled yes option interface wan option ssm yes option igmp no Alternatively enter uci show pimd root VA_router etc config1 uci s...

Страница 360: ..._________________________________________ _______________________________________________________________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 360 of 463 pimd interface 1 ssm yes pimd interface 1 igmp no To change any of the above values use uci set command ...

Страница 361: ... network configuration shows how to configure VLAN priorities for specific interfaces VLANs root VA_router uci export network package network config va_switch option eth0 A E option eth1 B F option eth2 C G option eth3 D option eth4 H config interface VLAN_1 option type bridge option proto static option ipaddr 10 1 28 99 option netmask 255 255 0 0 option ifname eth0 eth4 config interface VLAN_2 op...

Страница 362: ...vlan_qos_map_egress 0 1 The above sample configuration specifies that any frames on VLAN2 VLAN3 and VLAN4 will be processed or have their PCP value adjusted according to QoS values set VLAN1 VLAN1 is an untagged VLAN so there are no 802 1Q tags on the frames VLAN2 Any frames received on VLAN2 destined to VLAN2 with PCP priority of 1 will be forwarded without altering the priority it will be still ...

Страница 363: ...highest priority and 0 is the lowest These queues prioritise 802 1Q tagged frames as they are received on the port these are hardware defined When 802 1Q frames are received on the port they are processed according to the above queues on arrival even if not defined in the configuration Then if value vlan_qos_map_ingress is configured you can modify the PCP priority for egress if the frame was to b...

Страница 364: ...ce criteria parameters 36 1 QoS configuration overview A minimal QoS configuration usually consists of One interface section Some rules allocating packets to at least two buckets Configuration of the buckets 36 2 Configuration packages used Package Sections qos interface classgroup class classify 36 3 Configuring QoS using the web interface Browse to the router s IP address and login Select Networ...

Страница 365: ...Enables or disables QoS interface 1 Enabled 0 Disabled Web Classification group UCI qos interface classgroup Opt classgroup Creates a mapping before previously created classgroup and interface to which it should be assigned to Web Calculate overhead UCI qos interface overhead Opt overhead Decreases upload and download ratio to prevent link saturation Web Half duplex UCI qos interface halfduplex Op...

Страница 366: ...Source host Web Destination host UCI Opt Destination host Web Service UCI Opt Selectable service Web Protocol UCI Opt Protocol to classify Web Ports UCI Opt Upload speed kbits sec Web Number of bytes UCI Opt Number of bytes for bucket Table 122 Information table for classification rules 36 4 Configuring QoS using UCI You can also configure QoS using UCI The configuration file is stored on etc conf...

Страница 367: ...ich it should be assigned to Web Calculate overhead UCI qos interface overhead Opt overhead Decrease upload and download ratio to prevent link saturation Web Half duplex UCI qos interface halfduplex Opt halfduplex Enables or disables half duplex operation 1 Enabled 0 Disabled Web Download speed UCI qos interface download Opt download Download speed limit in kbits sec Web Upload speed UCI qos inter...

Страница 368: ...etsize 1500 Opt packetsize Specifies packet size for the class in bytes UCI qos Normal avgrate 30 Opt avgrate Average rate for this class value in of bandwidth in UCI qos Normal priority 5 Opt priority Specifies priority for the class in UCI qos Express class Opt Express Specifies class name UCI qos Express packetsize 1000 Opt packetsize Specifies packet size for the class in bytes UCI qos Express...

Страница 369: ...s classify 0 target Express Opt target Specifies target class UCI qos classify 0 proto udp Opt proto Specifies protocol 36 5 Example QoS configurations config interface ADSL option classgroup Default option enabled 1 option overhead 1 option download 900 option upload 245 config classgroup Default option classes Express Normal option default Normal config class Normal option packetsize 1500 option...

Страница 370: ...nfiguration files when it boots up The router is installed with a factory config that will allow it to contact Activator The autoload feature controls the behaviour of the router in requesting firmware and configuration files this includes when to start the Activation process and the specific files requested The HTTP Client uhttpd contains information about the Activator server and the protocol us...

Страница 371: ...ignals the end of the autolaod sequence to Activator Activator identifies the device using the serial number of the router syntax is used to denote the serial number of the router when requesting a file The requested files are written to the alternate image or config segment You can change the settings either directly in the configuration file or via appropriate UCI set commands It is normal proce...

Страница 372: ...oload main StartTimer Opt StartTimer Defines how long to wait after the boot up completes before starting activation 10 Range 0 300 secs Web Retry Timer UCI autoload main RetryTimer Opt RetryTimer Defines how many seconds to wait between retries if a download of a particular autoload entry fails 30 Range 0 300 secs Web N A UCI autoload main NumberOfRetries Opt Numberofretries Defines how many retr...

Страница 373: ...cess this entry 1 Enabled 0 Disabled Web Segment Name UCI autoload entry x SegmentName Opt SegmentName Defines where the downloaded file should be stored config1 config2 altconfig image1 image2 altimage Typically only altconfig and altimage are used Web RemoteFilename UCI autoload entry x RemoteFilename Opt RemoteFilename Defines the name of the file to be downloaded from Activator vas Notifies ac...

Страница 374: ...nabled yes option StartTimer 10 option RetryTimer 30 option NumberOfRetries 5 option BackoffTimer 15 option BootUsingConfig altconfig option BootUsingImage altimage config entry option Configured yes option SegmentName altconfig option RemoteFilename ini config entry option Configured yes option SegmentName altimage option RemoteFilename img config entry option Configured yes option SegmentName co...

Страница 375: ...nced Settings Figure 180 The HTTP client page Web Field UCI Package Option Description Basic settings Web Enabled UCI httpclient default enabled Opt Enabled Enables the HTTP client 1 Enabled 0 Disabled Web Server IP Address UCI httpclient default Fileserver Opt list Fileserver Specifies the address of Activator that uses http port 80 This can be an IP address or FQDN The syntax should be x x x x 8...

Страница 376: ...pects to see in the specified field in the server certificate PEM DER Web Certificate File Path UCI httpclient default CertificateFile Opt CertificateFile Defines the directory location of the certificate etc httpclient crt Range Web Certificate Key File Path UCI httpclient default CertificateKey Opt CertificateKey Specifies the directory location of the certificate key etc httpclient key Range We...

Страница 377: ... no httpclient default ValidateServerCertificateEnabled no httpclient default CertificateFile etc httpclient crt httpclient default CertificateFormat PEM httpclient default CertificateKey etc httpclient key httpclient default ActivatorChunkyDownloadPath activator partial download httpclient default ChunkSize 100k httpclient default RateLimit 2 httpclient default CAFile httpclient default IgnoreSer...

Страница 378: ...ld UCI Package Option Description General settings Web n a UCI management_users user x enabled Opt enable Enables creates the user 0 Disabled 1 Enabled Web n a UCI management_users user x username Opt username Specifies the user s username Web n a UCI management_users user x password Opt password Specifies the user s password When entering the user password enter in plain text using the password o...

Страница 379: ... a space to separate if using UCI Table 125 Information table for config user commands Note webuser will only work if linuxuser is set to yes chapuser will only work if linuxuser is set to no When a new user is created on the system and given web access you will no longer be able to login to the router web interface with the default root user details The user must use their new user login details ...

Страница 380: ...ord in plain text using the password option package management_users config user option hashpassword 1 wRYYiJOz EeHN GQcxXhRgNPVbqxVw option password newpassword The new password will take effect after reboot and will now be displayed in encrypted format via the hashpassword option 37 13 User management using UCI root VA_router uci show management_users management_users user 0 user management_user...

Страница 381: ...uffMjS4U0 option webuser 1 option linuxuser 1 option papuser 0 option chapuser 0 option srpuser 0 options smsuser 0 37 15 Configuring user access to specific web pages To specify particular pages a user can view add the list allowed_pages Examples are listallowed_pages admin status The user can view admin status page only listallowed_pages admin system flashops The user can view flash operation pa...

Страница 382: ...rent information that can be sent to Monitor including the required router configuration for Reporting device status to Monitor Reporting GPS location to Monitor Reporting syslog to Monitor Configuration of interface statistics collection ISAD For detailed information on operating Monitor read the Monitor User Manual 38 2 Reporting device status to Monitor To allow Monitor to track the IP address ...

Страница 383: ...kage Option Description Web Enabled UCI monitor keepalive 0 enabled Opt Enabled Enables Monitor to send heartbeats to the router 0 Disabled 1 Enabled Web Dev Reference UCI monitor keepalive 0 dev_reference Opt dev_reference Sets a unique identification for this device known to Monitor Web Monitor Address UCI monitor keepalive 0 monitor_ip Opt list monitor_ip Defines the IP address of Monitor It is...

Страница 384: ...r keepalive 0 snmp_auth_pass Opt snmp_auth_pass Specifies snmpv3 authentication password Web Authentication Protocol UCI monitor keepalive 0 snmp_auth_proto Opt snmp_auth_proto Specifies snmpv3 authentication protocol Blank Default value MD5 MD5 as authentication protocol SHA SHA as authentication protocol Web Privacy Protocol UCI monitor keepalive 0 snmp_priv_proto Opt snmp_priv_proto Specifies s...

Страница 385: ...he keepalive position in the package as a number For example for the first keepalive in the package using UCI monitor keepalive 0 keepalive monitor keepalive 0 enabled 1 Or using package options config keepalive option enabled 1 However to better identify it is recommended to give the keepalive instance a name For example to create a keepalive instance named keepalivev1 To define a named keepalive...

Страница 386: ...eepalivev3 interval_min 1 monitor keepalivev3 monitor_ip 172 16 250 101 monitor keepalivev3 dev_reference TEST monitor keepalivev3 snmp_version 3 monitor keepalivev3 snmp_uname TEST monitor keepalivev3 snmp_auth_pass vasecret monitor keepalivev3 snmp_auth_proto MD5 monitor keepalivev3 snmp_priv_pass vasecret monitor keepalivev3 snmp_priv_proto DES 38 2 5 Keepalive using package options root VA_rou...

Страница 387: ...artbeat via web interface The keepalive heartbeat can send information on multiple interfaces To send an interface status to Monitor select Network Interfaces then under the required interface select Edit Under Advanced Settings enable the Monitor interface state option Figure 183 The interface common configuration page Web Field UCI Package Option Description Web Monitor interface state UCI netwo...

Страница 388: ...r GPS location you can configure the GPS coordinates to be sent in the heartbeat keepalive from the router GPS location is only available in supported hardware models Ensure monitor keepalive heartbeat is correctly configured as in section 38 2 above 38 3 1 Configuration package used Package Sections gpsd gpsd 38 3 2 Configuring GPS location via the web interface Select Services GPS The GPS config...

Страница 389: ... 38 3 3 1 GPS using UCI root VA_router uci show gpsd gpsd core gpsd gpsd core enabled 1 38 3 3 2 GPS using package options root VA_router uci export gpsd package gpsd config gpsd core option enabled 1 38 3 4 GPS diagnostics To view information on GPS coordinates via the web interface select Status GPS Information Figure 185 The GPS status page To view GPS coordinates via command line enter gpspeek...

Страница 390: ...syslog events are sent to the syslog server Figure 186 The system properties page Web Field UCI Package Option Description Web External system log server UCI system main log_ip Opt log_ip Defines the external syslog server IP address Web External system log server UCI system main log_port Opt log_port Defines the external syslog server destination port number for syslog messages 514 Range Table 13...

Страница 391: ...ransmit and receive packets bytes errors for a period Signal strength and also temperature parameters are also stored in the bins Bins are uploaded to Monitor periodically Note ensure monitor keepalive heartbeat and interface status is correctly configured as in section 38 2 above Interfaces should have option monitored enabled as part of the collection ISAD replaces the deprecated SLA feature 38 ...

Страница 392: ...formation table for ISAD Monitor keepalive ISAD interface stats section 38 5 3 Configuring ISAD using the command line ISAD is configured under the Monitor package 38 5 3 1 ISAD using UCI root VA_router uci show monitor monitor keepalivev1 keepalive monitor keepalivev1enabled 1 monitor keepalivev1 interval_min 1 monitor keepalivev1 dev_reference router1 monitor keepalivev1 monitor_ip 10 1 83 36 mo...

Страница 393: ...d_ts 85020 monitor bin_0 start_ts 84960 monitor bin_1 isad monitor bin_1 end_ts 85080 monitor bin_1 start_ts 85020 monitor bin_2 isad monitor bin_2 end_ts 85140 monitor bin_2 start_ts 85080 38 5 5 ISAD operation The bin statistics stored on the router must be periodically pushed statistics to Monitor This is normally done centrally when statistics are enabled on Monitor Monitor contacts each route...

Страница 394: ...ckage Sections snmpd access agent com2sec constant exec group heartbeat informreceiver inventory inventory_iftable monitor_disk monitor_ioerror monitor_load monitor_memory monitor_process pass system trapreceiver usm_user view The SNMP application has several configuration sections System and Agent Configures the SNMP agent Com2Sec Maps SNMP community names into an arbitrary security name Group As...

Страница 395: ...htrapenabled Opt authtrapenabled Enables or disables SNMP authentication trap 0 Disabled 1 Enabled Note this is the SNMP poll authentication trap to be set when there is a community mismatch Web Enable Link State Notification UCI snmpd agent 0 link_updown_notify Opt link_updown_notify Generates trap info when interface goes up or down When enabled the router sends a trap notification link up or do...

Страница 396: ...Description Web Security Name UCI snmpd com2sec x secname Opt secname Specifies an arbitrary security name for the user Web Source UCI snmpd com2sec x source Opt source A hostname localhost or a subnet specified as a b c d mask or a b c d bits or default for no restrictions Web Community UCI snmpd com2sec x community Opt community Specifies the community string being presented in the request Table...

Страница 397: ...oup Table 134 Information table for group settings 39 2 4 View settings View settings define a named view which is a subset of the overall OID tree This is most commonly a single subtree but several view directives can be given with the same view name to build up a more complex collection of OIDs Figure 191 The view settings section Web Field UCI Package Option Description Web Name UCI snmpd view ...

Страница 398: ...NMPv3 request context is matched against the value according to the prefix below For SNMP v1 and SNMP v2c the context must be none none all Web Version UCI snmpd access x version Opt version Specifies the SNMP version number being used in the request any v1 v2c and usm are supported v1 SNMP v1 v2v SNMP v2 usm SNMP v3 any Any SNMP version Web Level UCI snmpd access x level Opt level Specifies the s...

Страница 399: ...ings page Web Field UCI Package Option Description Web Host UCI snmpd trapreceiver x host Opt host Host address Can be either an IP address or an FQDN Web Port UCI snmpd trapreceiver x port Opt port UDP port to be used for sending traps Range 162 Web Version UCI snmpd trapreceiver x version Opt version SNMP version v1 V2 Web Community UCI snmpd trapreceiver x community Opt community Community to u...

Страница 400: ... Figure 195 The USM user settings page Web Field UCI Package Option Description Web Username UCI snmpd usm_user 0 name Opt name Defines a USM username Web Auth Protocol UCI snmpd usm_user 0 auth_protocol Opt auth_protocol Defines the authentication protocol to use Note if omitted the user will be defined as noauth user MD5 SHA Web Auth Password UCI snmpd usm_user 0 auth_password Opt auth_password ...

Страница 401: ...d agent agent snmpd agent agentaddress UDP 161 snmpd agent authtrapenabled yes snmpd agent link_updown_notify yes 39 3 2 System settings using package options root VA_router uci export snmpd package snmpd config system option sysLocation Office 123 option sysContact Mr White option sysName Backup Access 4 config agent option agentaddress UDP 161 option authtrapenabled 1 option link_updown_notify 1...

Страница 402: ...pd c2s_1 source default snmpd c2s_1 community public snmpd c2s_1 secname rw snmpd c2s_2 com2sec snmpd c2s_2 source localhost snmpd c2s_2 community private snmpd c2s_2 secname ro 39 3 3 2 Com2sec using package options config com2sec public option secname ro option source default option community public config com2sec private option secname rw option source localhost option community private 39 3 4 ...

Страница 403: ...p_1_access level noauth snmpd grp_1_access prefix exact snmpd grp_1_access read all snmpd grp_1_access write none snmpd grp_1_access notify none snmpd grp_1_access group public snmpd grp_2_v1 group snmpd grp_2_v1 version v1 snmpd grp_2_v1 group public snmpd grp_2_v1 secname ro snmpd grp_2_v2c group snmpd grp_2_v2c version v2c snmpd grp_2_v2c group public snmpd grp_2_v2c secname ro snmpd grp_2_usm ...

Страница 404: ...ettings using package options config group public_v1 option group public option version v1 option secname ro config group public_v2c option group public option version v2c option secname ro config group public_usm option group public option version usm option secname ro config group private_v1 option group private option version v1 option secname rw config group private_v2c option group private op...

Страница 405: ...ptions config view all option viewname all option type included option oid 1 config view mib2 option viewname mib2 option type included option oid iso org dod Internet mgmt mib 2 39 3 6 Access settings The following example shows the public group being granted read access on the all view and the private group being granted read and write access on the all view Although it is possible to write some...

Страница 406: ... By default all SNMP trap instances are named trapreceiver it is identified by trapreceiver then the trap receiver position in the package as a number For example for the first trap receiver in the package using UCI snmpd trapreceiver 0 trapreceiver snmpd trapreceiver 0 host 1 1 1 1 161 Or using package options config trapreceiver option host 1 1 1 1 161 However to better identify it is recommende...

Страница 407: ...y COMMUNITY STRING 39 3 8 SNMP inform receiver settings By default all SNMP inform receiver instances are named informreceiver it is identified by informreceiver then the inform receiver position in the package as a number For example for the first inform receiver in the package using UCI snmpd informreceiver 0 informreceiver snmpd informreceiver 0 host 1 1 1 1 Or using package options config info...

Страница 408: ...rivate 39 3 9 SNMP USM user settings By default all USM User instances are named usm_user it is identified by usm_user then the USM user position in the package as a number For example for the first USM User in the package using UCI snmpd usm_user 0 usm_user snmpd usm_user 0 name username Or using package options config usm_user option name username However to better identify it is recommended to ...

Страница 409: ...An alias entry is created in the SNMP ifEntry table at index snmp_alias_ifindex 1000 This entry is a shadow of the real underlying Linux interface corresponding to the UCI definition You may use any numbering scheme you wish the alias values do not need to be consecutive 39 4 1 Configuration package used Package Sections network interface 39 4 2 Configuring SNMP interface alias To enter and SNMP a...

Страница 410: ...ce index snmp_alias_ifindex 1000 Blank No SNMP interface alias index Range 0 4294966295 Web n a UCI network interface X snmp_alias_ifdescr Opt snmp_alias_ifdescr Defines an alias name to be reported for the UCI name in the enterprise MIB for UCI interfaces and in alias entries in the ifIndex table If present this option supercedes the default ifDescr value usually the UCI interface name or configu...

Страница 411: ...nmpd conf 39 5 2 SNMP port To check that SNMP service is listening on the configured port enter netstat pantu grep snmp root VA_router netstat pantu grep snmp udp 0 0 0 0 0 0 161 0 0 0 0 6970 snmpd 39 5 3 Retrieving SNMP values SNMP values can be queried by an snmpwalk or snmpget either locally or remotely 39 5 3 1 snmpwalk To do an snmpwalk locally enter snmpwalk An example snmpwalk is shown belo...

Страница 412: ...0 131 iso 3 6 1 2 1 1 9 1 4 4 Timeticks 35 0 00 00 35 iso 3 6 1 2 1 1 9 1 4 5 Timeticks 38 0 00 00 38 iso 3 6 1 2 1 1 9 1 4 6 Timeticks 38 0 00 00 38 iso 3 6 1 2 1 1 9 1 4 7 Timeticks 38 0 00 00 38 iso 3 6 1 2 1 1 9 1 4 8 Timeticks 38 0 00 00 38 iso 3 6 1 2 1 1 9 1 4 9 Timeticks 60 0 00 00 60 39 5 3 2 snmpget To do an snmpget locally use snmpget An example snmpget is shown below root VA_router snm...

Страница 413: ...eventd application defines three types of object Forwardings Rules that define what kind of events should be generated For example you might want an event to be created when an IPSec tunnel comes up or down Targets Define the targets to send the event to The event may be sent to a target via a syslog message a snmp trap or email Connection testers Define methods to test the target is reachable IP ...

Страница 414: ... type 40 2 4 Supported connection testers The table below describes the methods to test a connection that are currently supported Type Description link Checks if the interface used to reach the target is up ping Pings the target And then assumes there is connectivity during a configurable amount of time Table 142 Event system supported connection tester methods 40 3 Configuring the event system us...

Страница 415: ...able 143 Information table for event system basic settings 40 3 2 Connection tester A connection tester is used to verify the event destination before forwarding the event Connection testers configure the uci conn_tester section rules Multiple connection testers can be configured There are two types of connection tester Type Description link Checks if the interface used to reach the target is up p...

Страница 416: ...ter as up Note only displayed if connection tester type is set to Ping 60 Range Web Link Interface UCI va_eventd conn_tester 0 link_iface Opt link_iface Defines the interface to monitor when the connection tester type is set to link Configured interfaces are listed Note only displayed if connection tester type is set to Link Range Table 144 Information table for event system connection tester sett...

Страница 417: ...og Web Value Description UCI Syslog syslog SNMP Trap snmptrap Email email Execute exec SMS sms File File target file Web Connection Tester Name UCI va_eventd target 0 conn_tester Opt conn_tester Defines the connection tester if any to use to verify the syslog target None No connection tester UCI option not present Range Web Destination Address UCI va_eventd target 0 target_addr Opt target_addr Def...

Страница 418: ...tion 0 Disabled 1 Enabled Web Destination name UCI va_eventd target 0 name Opt name Defines a name for the event destination Range Web Type UCI va_eventd target 0 type Opt type Defines the event destination type For an email server choose Email Web Value Description UCI Syslog Syslog target syslog SNMP Trap SNMP target snmptrap Email Email target email Execute Execure target exec SMS SMS target sm...

Страница 419: ...CI va_eventd target 0 smtp_addr Opt smtp addr Defines the email server address and port Range a b c d port or fqdn port Web SMTP User Name UCI va_eventd target 0 smtp_user Opt smtp_user Defines user name for SMTP authentication Range name site com Web SMTP Password UCI va_eventd target 0 smtp_password Opt smtp_password Defines the password for SMTP authentication Range Web Use TLS UCI va_eventd ta...

Страница 420: ...eb Value Description UCI Syslog Syslog target syslog SNMP Trap SNMP target snmptrap Email Email target email Execute Execure target exec SMS SMS target sms File File target file Web Connection Tester Name UCI va_eventd target 0 conn_tester Opt conn_tester Defines the connection tester if any to use to verify the SNMP target None No connection tester UCI option not present Range Web Destination Add...

Страница 421: ..._auth_pass Opt snmp_auth_pass Defines the SNMPv3 authentication password Only displayed when SNMPv3 authentication protocol is configured MD5 SHA Web Privacy Protocol UCI va_eventd target 0 snmp_priv_proto Opt snmp_priv_proto Defines the SNMPv3 privacy protocol Only displayed when SNMP authentication protocol is configured DES AES Web Privacy Password UCI va_eventd target 0 snmp_priv_pass Opt snmp...

Страница 422: ...r the event destination Range Web Type UCI va_eventd target 0 type Opt type Defines the event destination type For shell command execution choose Execute Web Value Description UCI Syslog Syslog target syslog SNMP Trap SNMP target snmptrap Email Email target email Execute Execure target exec SMS SMS target sms File File target file Web Connection Tester Name UCI va_eventd target 0 conn_tester Opt c...

Страница 423: ...he event destination Range Web Type UCI va_eventd target 0 type Opt type Defines the event destination type For SMS destination choose SMS Web Value Description UCI Syslog syslog SNMP Trap snmptrap Email email Execute exec SMS sms File file Web Connection Tester Name UCI va_eventd target 0 conn_tester Opt conn_tester Defines the connection tester if any to use to verify the SMS target None No conn...

Страница 424: ...I va_eventd target 0 type Opt type Defines the event destination type For file choose File Web Value Description UCI Syslog syslog SNMP Trap snmptrap Email email Execute exec SMS sms File file Web Connection Tester Name UCI va_eventd target 0 conn_tester Opt conn_tester Defines the connection tester if any to use to verify the File target None No connection tester UCI option not present Range Web ...

Страница 425: ...isabled 0 Enabled Web Class Name UCI va_eventd forwarding 0 className Opt className Only match events with the given class name Available class names are listed or can be viewed using the command vae_cli d Web Event Name UCI va_eventd forwarding 0 eventName Opt eventName Only match events with the given event name Available event names are listed The event name is optional and can be omitted Web M...

Страница 426: ...ent destination to forward the event to All configured event destinations will be displayed Table 151 Information table for event system event filters settings 40 4 Configuring the event system using command line The event system configuration files are stored at etc config va_eventd There are four config sections main conn_tester target and forwarding You can configure multiple conn_tester target...

Страница 427: ...gs va_eventd main va_eventd va_eventd main event_queue_file tmp event_buffer va_eventd main event_queue_size 128K Sample SNMP va_eventd conn_tester 0 conn_tester va_eventd conn_tester 0 type ping va_eventd conn_tester 0 ping_dest_addr 192 168 100 1 va_eventd conn_tester 0 ping_success_duration_sec 60 va_eventd conn_tester 0 name SNMPTest va_eventd conn_tester 0 ping_source LAN1 va_eventd target 0 ...

Страница 428: ...name SyslogTest va_eventd conn_tester 1 type ping va_eventd conn_tester 1 ping_dest_addr 192 168 100 2 va_eventd conn_tester 1 ping_source LAN1 va_eventd conn_tester 1 ping_success_duration_sec 60 va_eventd target 1 target va_eventd target 1 name SyslogTarget va_eventd target 1 type syslog va_eventd target 1 conn_tester SyslogTest va_eventd target 1 target_addr 192 168 100 2 514 va_eventd target 1...

Страница 429: ...get 2 tls_starttls 0 va_eventd target 2 tls_forcessl3 0 va_eventd forwarding 2 forwarding va_eventd forwarding 2 enabled yes va_eventd forwarding 2 className power va_eventd forwarding 2 eventName IgnitionOff va_eventd forwarding 2 severity notice notice va_eventd forwarding 2 target EmailTarget Sample SMS va_eventd target 3 target va_eventd target 3 name SMStarget va_eventd forwarding 3 target SM...

Страница 430: ...File va_eventd target 5 target va_eventd target 5 name FileTarget va_eventd target 5 type file va_eventd target 5 file_name tmp eventfile va_eventd target 5 max_size_kb 1028 va_eventd forwarding 5 forwarding va_eventd forwarding 5 enabled yes va_eventd forwarding 5 target FileTarget va_eventd forwarding 5 severity debug error 40 4 1 1 Event system using package options root VA_router uci export va...

Страница 431: ...uth_proto MD5 option snmp_auth_pass md5password option snmp_priv_proto AES option snmp_priv_pass aespassword option snmp_context v3context option snmp_context_eid v3contextID option snmp_sec_eid v3SecurityID config forwarding option enabled yes option className mobile option severity notice notice option target SNMPTarget option eventname LinkUp Sample Syslog config conn_tester option name SyslogT...

Страница 432: ...ink option link_iface PoAADSL config target option timeout_sec 10 option name EmailTarget option type email option conn_tester EmailTest option from from example com option to to example com option subject_template serial severityName eventName option body_template eventName class subclass happened option smtp_addr 192 168 100 3 25 option smtp_user root option smtp_password admin option use_tls no...

Страница 433: ...789 config forwarding option enabled yes option target SMSTarget option className auth option eventName LoginSSH option severity notice notice Sample Execute config target option name ExecTarget option type exec option cmd_template logger t eventer eventName config forwarding option enabled yes option target ExecTarget option className ppp option severity debug error Sample File config target opti...

Страница 434: ...wn informat p1 p2 field p3 is no internal 4 EventdSystemErr error p1 p2 p3 p4 p5 internal 5 EventdSystemWarn error p1 p2 p3 p4 p5 internal 6 EventdUpAndRunning informat internal 7 EventdStopped warning p1 mobile 1 SIMin notice SIM card p1 inserted mobile 2 SIMout notice SIM card p1 removed mobile 3 LinkUp notice 3g link p1 up using sim p2 mobile 4 LinkDown notice 3g link p1 down mobile 5 SMSByPass...

Страница 435: ...oginConsole notice Console login user p1 on p2 auth 12 LogoffConsole notice Console logoff on p1 auth 13 LoginTelnet notice Telnet login user p1 auth 14 LoginLuCI notice LuCI login user p1 auth 15 ConsoleCommand informat p1 p2 p3 auth 16 LuCIAction informat p1 p2 p3 p4 p5 ipsec 6 IPSecInitIKE informat IPSec IKE p1 established ipsec 7 IPSecInitSA informat IPSec SA p1 established ipsec 8 IPSecCloseI...

Страница 436: ...station p2 failed to con ppp 1 LinkUp informat PPP for interface p2 protoco ppp 2 LinkDown informat PPP for interface p2 protoco ppp 3 ConnEstablished informat PPP connection for interface p adsl 1 LinkUp notice ADSL trained Starting interface adsl 2 LinkDown notice ADSL down Stopping interface adsl 3 Silent debug ADSL silent adsl 4 Training debug ADSL training adsl 5 TrainingSuccess notice ADSL t...

Страница 437: ...n DISCLAIMER data usage statistics calculated by Virtual Access data usage feature are best estimates and may vary from the mobile carrier statistics that are used for billing Virtual Access cannot be held liable for any fees charged by the carrier to the customer for their data usage We recommend that the configured data usage is lower than the allowance and that traffic percentage alerts are use...

Страница 438: ...8 Web Interfaces UCI procrustes limit 0 interfaces Opt interfaces Monitor and apply limits to these interfaces as a group Configure multiple interfaces via UCI using a space separator Example uci set procrustes limit 0 interfaces lan wan Web Monthly Limit MB UCI procrustes limit 0 monthly_data_limit Opt monthly_data_limit Defines monthly data traffic limit in megabytes MB This is total RX and TX o...

Страница 439: ...kage options config limit option enabled 1 However to better identify instances it is recommended to give the limit instance a name For example create a limit instance named MOBILE1 To define a named limit instance using UCI enter procrustes limit 0 wan procrustes wan enabled 1 To define a named limit instance using package options enter config limit wan option enabled 1 The following examples sho...

Страница 440: ...rning_levels 15 25 config limit wan option enabled 1 option interfaces MOBILE1 option billing_period_start_day 1 option monthly_data_limit 30 option monthly_warning_levels 15 25 41 4 Data usage status Select Status Overview The Status page appears To check current data usage scroll to Network Data Usage MiB row Data usage is presented as progress bar Figure 208 The data usage status progress bar 4...

Страница 441: ...CE procrustes No limits defined Exiting ERROR mobile SIM iccid is blacklisted not establishing connection 41 5 2 Viewing data usage The router has monitoring application named procrustatus lua that can be used for viewing data usage This application displays data statistics used for different interface groups percentage of time left to next billing period start and percentage of data left for use ...

Страница 442: ... serial port You can configure the IP endpoint of each Terminal Server session to be a TCP server each session is listening on a unique port TCP client Terminal Server makes a TCP connection to external TCP server UDP endpoint Terminal Server forwards data between a UDP stream and a serial port 42 2 Configuration packages used Package Sections tservd main port 42 3 Configuring Terminal Server usin...

Страница 443: ...nable Enables detailed debug logging 0 Disabled 1 Enabled Web Syslog severity UCI tservd main log_severity Opt log_severity Determines the syslog level Events up to this priority will be logged 0 Emergency 1 Alert 2 Critical 3 Error 4 Warning 5 Notice 6 Informational 7 Debug Web Log RX TX UCI tservd main debug_rx_tx_enable Opt debug_rx_tx_enable Enables logging data transfers 0 Disabled 1 Enabled ...

Страница 444: ...twork 256 256 bytes Range 0 2048 Web Network Forwarding Timeout ms UCI tservd port 0 fwd_timeout Opt fwd_timeout Forwarding timeout in milliseconds serial to network 30 30 ms Range 0 10000 Web Network Forwarding Timer Mode UCI tservd port 0 fwd_timer_mode Opt fwd_timer_mode Forwarding timer mode serial to network Idle Timer is re started on each received data Aging Timer started on the first Rx We...

Страница 445: ...trol When either side TCP socket closes the main terminal server client re connects to the normal IP destination and the server proxy returns to listening for another connection from the far end 0 Disabled 1 Enabled Web Disable Remote Client s Local Echo Telnet option UCI tservd port 0 disable_echo Opt disable_echo Set to 1 to send IAC WILL ECHO Telnet option to remote client forcing it to disable...

Страница 446: ...______________________________________________________ Virtual Access 2018 GW1000 Series User Manual Issue 2 3 Page 446 of 463 The figure below shows the options available if you have selected RS232 mode Figure 211 The serial section fields port mode RS232 The figure below shows the options available if you have selected RS485 mode Figure 212 The serial section fields port mode RS485 ...

Страница 447: ...selected X 21 mode Figure 213 The serial section fields port mode X 21 Web Field UCI Package Option Description Web Device UCI tservd port 0 devName Opt devName Serial device name dev ttySC0 serial port 1 dev ttySC1 serial port 2 dev ttySC2 serial port 3 dev ttySC3 serial port 4 Web Port mode UCI tservd port 0 port_mode Opt port_mode Sets the serial interface mode rs232 RS232 mode rs485hdx RS485 2...

Страница 448: ...ial device number of stop bits 1 Range 1 2 Web Flow Control UCI tservd port 0 fc_mode Opt fc_mode Serial flow control mode 0 None 1 RTS CTS 2 XON XOFF Web RS485 Termination UCI tservd port 0 rs485_line_termination Opt rs485_line_termination Enables or disable RS485 termination Applies only if port mode is set to RS485 0 Disabled 1 Enabled Web Auto RTS Invert UCI tservd port 0 rtsinvert Opt rtsinve...

Страница 449: ...e transmission Web Synchronous rate UCI tservd port 0 sync_speed Opt sync_speed Defines the synchronous speed in bps Set to 0 for external clock If not set to 0 an internal clock is used This setting is only displayed if an Atmel USB serial card is enabled 64000 64 kbps Range 2048000 1024000 768000 512000 384000 256000 128000 19200 9600 Web Invert receive clock UCI tservd port 0 sync_invert_rxclk ...

Страница 450: ...0 x21_clk_invert Opt x21_clk_invert Enables X 21 DCE CLK signal inversion 0 Normal 1 Invert Web Dual X 21 card RX data delay UCI tservd port 0 x21_data_delay Opt x21_data_delay Sets X 21 card RX data delay in number of bit positions 0 Range 0 7 Web n a UCI tservd port 0 sync_tx_idle Opt sync_tx_idle Defines the value of idle character decimal to transmit in case of transmit underrun In HDLC mode t...

Страница 451: ...V23 transmitter to rampdown carrier from peak to zero 30 Range Web n a UCI tservd port 0 v23_tx_maxfill Opt v23_tx_maxfill Defines the maximum transmit queue fill level in bytes 127 Range 0 255 Table 155 Information table for port settings serial section 42 3 2 3 Port settings network section In this section you can configure the network side of the Terminal Server Note the displayed settings vary...

Страница 452: ...s for failover 0 0 0 0 Range IPv4 address Web Enable TCP Keepalives UCI tservd port 0 tcp_keepalives_enabl ed Opt tcp_keepalives_enabled Enable or disables TCP keepalives Only displayed if Transport Mode is TCP 0 Disabled 1 Enabled Web TCP Keepalive Interval UCI tservd port 0 tcp_keepalive_interva l Opt tcp_keepalive_interval Interval in seconds between TCP keepalive probes Only displayed if Trans...

Страница 453: ..._ms Opt disc_time_ms Time in milliseconds to start reconnecting after setting DTR low 5000 5 seconds Range 0 10000 Web UDP Keepalive Interval UCI tservd port 0 udpKaIntervalMs Opt udpKaIntervalMs Defines time in milliseconds to send UDP keepalives empty UDP packets when no data to send Only displayed if transport mode is UDP 0 Disabled Range 0 65535 Web UDP Keepalive Count UCI tservd port 0 udpKaC...

Страница 454: ... on the chosen network configuration the DSR behaviour may vary 42 6 1 DSR signal behaviour in TCP client mode 42 6 1 1 TCP connection management Initial TCP connection initiation or next TCP connection initiation after disconnection is affected by configuration options tcp_always_on and close_tcp_on_dsr When option tcp_always_on is enabled terminal server keeps the TCP session always connected If...

Страница 455: ...WN the terminal server waits for a DSR UP signal and then initiates a new TCP connection 42 6 2 DSR signal behaviour in TCP server mode 42 6 2 1 TCP connection initiation at startup After a short startup delay the terminal server starts listening for an incoming TCP connection from the remote peer 42 6 2 2 TCP connection clearing When in a TCP connection state the TCP connection is cleared only by...

Страница 456: ...ters dev ttySC1 To enable serial_mode_gpio_control set the option to 1 Use the portmode option in addition to serial_mode_gpio_control to select between RS232 RS485 full duplex RS485 half duplex X 21 and V 23 42 7 1 Checking the current serial_mode_gpio_control To check if Terminal Server is running enter the following command root VA_router uci show tservd grep serial_mode_gpio_control The output...

Страница 457: ...Bytes Rx 0 Tx 0 DSR Up 0 Down 0 42 8 3 Terminal Server debug statistics To see debug statistics about Terminal Server enter root VA_router tserv show debug all TERMINAL 1 Dev dev ttySC0 State LISTENING netRxBuf length 0 offset 0 hdrsz 0 ttyRxBuf length 0 offset 16 hdrsz 16 line_status_mask 0x0 line_status 0x0 RFC2217 negotiated 0 Tcp tx last error 0 42 8 4 Terminal Server serial signals debugging ...

Страница 458: ... show serial interface status tserv send serial0 data send data to serial port 0 tserv start capture N N port number 0 to 3 start capturing rx serial data tserv print capture N N port number 0 to 3 print captured rx serial data tserv show serial txlog hex Port length Port port cfg index 0 to 3 length length to show tserv show serial rxlog hex Port length Port port cfg index 0 to 3 length length to...

Страница 459: ...nal console enabled Opt enabled Enables Terminal on the router 0 Disabled 1 Enabled Web n a UCI terminal console device Opt device String value point at the tty device in dev folder None Default string Device name e g ttySC0 to use serial port 0 Web n a UCI terminal console speed Opt speed Set the speed of serial connection 115200 Default range Supported port speed Web n a UCI terminal console typ...

Страница 460: ... terminal config terminal ttySC0 option enabled 0 option device ttySC0 option speed 115200 option type vt100 option flowcontrol 1 43 5 Terminal diagnostics 43 5 1 Checking terminal entry in inittab To check if terminal configuration is running enter the following commands and confirm the line referring to the device name is present and looks similar to the last line below root VA_router cat etc in...

Страница 461: ...erface using the relevant application for example Terminal Server therefore there is no standalone serial configuration page You can monitor the various serial interfaces using either the command line or the web interface 44 2 Monitoring serial interfaces using the web interface In the top menu select Status Serial Interfaces Depending on the number of serial interfaces present in the device a num...

Страница 462: ... GW1000 Series User Manual Issue 2 3 Page 462 of 463 44 2 2 Serial status Figure 216 The serial status page for serial 0 44 3 Monitoring serial interfaces using command line 44 3 1 Serial statistics using command line To view serial statistics enter serial_stats root VirtualAccess serial_stats ttyU0 statistics Tx Frames 0 Tx Bytes 9 Tx Underruns 0 Tx Discards 0 Rx Frames 0 Rx Bytes 258856 Rx Overr...

Страница 463: ...ge 463 of 463 44 3 2 Serial status using command line To view serial statistics enter serial_status root VirtualAccess serial_status ttyU0 status Cable Id V 24 DTE Hardware Version QD3128B Firmware Version 1 3 15 DAC Voltage 1650000uV DTR 1 DSR 1 RTS 1 DCD 0 44 3 3 Resetting serial statistics To reset serial statistics enter serial_stats_reset root VirtualAccess serial_stats_reset ttyU0 Serial int...

Отзывы: