Router with VoIP functions for only one hundred square meters.

    image

    Under the cat we will talk about the device, which combines the functions of an optical wireless router with VoIP, which can work as a gateway.

    The LR-2G211 is a CPE router oriented for FTTB / FTTH solutions with a gigabit SFP interface and analog interfaces. Out of the box, the router has all the necessary L2 / L3 functionality for solving everyday tasks in home or small business.

    Packaging


    The package is a cardboard box with a glossy finish and an image of the router and a typical device connection scheme.

    image

    image

    Equipment


    Nothing superfluous: the LR-2G211 router itself, a two-meter patchcord and a 12V1A power supply unit. There is no documentation in the delivery set, but it is available from the link. The

    image

    router is made of white and fairly strong plastic. On the lid and on the sides of the case there is a perforation for air circulation.

    image

    On the case there are control keys:

    1. Lamp switch - on / off of all LEDs on the device;
    2. Power - on / off router power;
    3. WPS - for quick connection to the device;
    4. WLAN - on / off wireless interface.

    The router is equipped with two FXS ports, four LAN ports, one combo WAN (RJ45 + SFP in a special closed "compartment") and a USB port for connecting a modem.

    image

    On the side of the router is a cover for accessing the optical SFP interface, which can be used to connect to an optical network.

    image

    image

    LR-2G211 has a light indication indicating the activity of the device:

    image

    Vnutryanka


    image

    Visually, the soldering is done quite neatly, there are no flux residues, the components sit quite smoothly. The router is based on the Marvell 88F6550 SoC processor, which is tightly closed by a radiator, has two gigabit interfaces onboard, 1xLAN (RJ45), 1xComboWAN (SFP + RJ45) and 3xLAN 100 Mbps (RJ45).

    The LR-2G211 is equipped with two omnidirectional Airgain N2430GNS antennas (blue in the photo), which are spaced so as to avoid collisions during operation of the wireless network. Antenna Characteristics: The

    image

    router’s wireless interface is based on the RTL8192CE chip with support for the 802.11b / g / n and MIMO2x2 standards. On board also has a USB 2.0 port with support for 3G / 4G USB modem.

    Forwarding results with different packet sizes


    The performance test was performed according to the LAN-WAN scheme (via NAT) using iperf, i.e. On the client side, the iperf client is deployed, on the server side, behind the WAN, back - the iperf server. Performance test with copper 100Mbps LAN1-3 ports rests on port speed. When testing with 1000Mbps LAN4, the following results are obtained:

    image

    Connection diagram.

    image

    LR-2G211 is most relevant in cases where a telecom operator provides three services at once via a single cable: high-speed Internet access, cable television and IP telephony.

    image

    For example, we will use the legend according to which the user has an IPoE connection, and the services are presented in separate VLANs, for example, 100 (SIP) and 200 (VOIP).

    After connecting the computer to the router, the web-based management interface is available by factory details.

    By default, the router has an IP address: 192.168.1.1.

    Login / password for access to the web interface: admin / admin. The

    image

    start page contains all the basic information about the router, such as:

    • firmware version
    • device model
    • serial number,
    • working hours,
    • network details
    • download schedules.

    image

    There are several menu tabs available in the user interface:

    • Device - contains information about the device;
    • Quick Guide - router quick setup menu;
    • Basic - the basic configuration;
    • VoIP - a menu for working with telephony services;
    • Security - a menu to access the built-in protection mechanisms;
    • System - menu for diagnostics, updates, reloads, etc.

    The Quick Setup feature that helps you quickly and easily set up your router to work on the network.

    image

    image

    image

    image

    To access the advanced configuration, go to the Basic menu. The overall menu looks like this:

    image

    Interface for IPoE


    For the end user, setting up IPoE from the conditions looks quite simple: I plugged the optical connector into the transceiver or RJ45 into the copper WAN port, and Internet access appeared. For more precise configuration, consider the configuration of the WAN interface. Go to the Basic → Interface → WAN menu and click on the button to edit the interface as shown in the screenshot below:

    image

    Different connection modes are available in the opened menu, DHCP / DHCPv6 / Static / Staticv6 / PPPoE (the router also supports L2TP, IPSec, PKI , GRE, EoIP - they are available in the VPN menu, access control functions to the router, NAT, MTU, MAC Clone, Service Type (which can be applied to the Internet, SIP, IPTV). In our example, leave as shown in the screenshot below, and click OK:

    image

    With this configuration, the router will automatically receive network credentials that will be visible on the WAN interfaces:

    image

    If your operator uses an L2TP connection, go to the VPN menu - L2TP - L2TP Client, and fill in the fields according to your contract:

    image

    This is the minimum configuration required for connection . Upon successful connection, the status on the same tab for L2TP will change from DOWN to UP:

    image

    SIP interface


    With the SIP interface, actions are similar to those described in the previous chapter. To create, go back to the Interface - WAN tab, and click Add to add a new interface:

    image

    In the pop-up menu, fill in the options as shown in the example below:

    image

    Put a dot on DHCP, specify the VLANID for SIP operation in Subinterface ID, if necessary put a bird in Enable NAT options and click OK. If everything is done correctly, a new interface will appear in the list with interfaces, and will automatically receive network credentials via DHCP:

    image

    Setting up a SIP account


    Go to the menu tab VoIP - System

    Router \ Gateway supports multiple protocols - IMS-SIP, SIP, H.248 and MGCP. Therefore, from the drop-down list, you must select the one you need to work with VoIP.

    image

    In our example, we use Asterisk-based IP-PBX, so feel free to choose SIP. In the Bound Interfaces Configuration, it is necessary to select an interface (VLAN), on behalf of which the registration at the station will take place. If everything is done correctly, the summary page should look like this:

    image

    To configure the PBX server address information, go to the SIP - Server Configuration tab, specify the PBX server address and port (default is 5060), and click OK.

    image

    To configure credentials, go to the User Authentication tab and in the Operation column, click the icon to edit the account. It is necessary to fill it in accordance with the given details, and then click OK to apply the configuration.

    image

    If everything is done correctly, the registration status will change to Successful, indicating a successful registration.

    image

    For more detailed configuration of lines on the System and SIP tabs, the Advanced Options menu is available.

    Now, to check the connection, it is enough to connect an analog telephone to the FXS # 1 interface and make the first call.

    By the way, an interesting point: it is not necessary to connect an analog telephone to the FXS interfaces. For example, if the office has an analog PBX and we need to connect an external SIP line to it, then we can easily stretch the cable from the gateway to the PBX and get the cherished one.

    In this scheme, asterisk was used as a test environment, and therefore nothing prevents the use of services such as zadarma, mango, telfin, multi-phone and many others.

    Configuring the interface to work with IPTV


    We return to the tab Basic - Interface - LAN - VLAN Configuration.

    To create a VLAN, enter the required tag in the VLAN ID field. For example, for VoIP VLAN, enter 200, and click OK.

    After application, the created VLAN appears in the VLAN Information List.

    image

    Now go to the WAN tab and click on Add to create a new interface. You can

    image

    configure it like this: vlan200 must be transferred by double-clicking into the right column.

    Then you need to click OK to create a new interface. If everything is done correctly, the list of interfaces now should look like this:

    image

    To select a port for STB, you need to go to the Interface - LAN - Vlan configuration again, tick the vlan200 (IPTV Vlan) on the correct port and click Binding.

    image

    Now, if you connect the set-top box to the LAN1 port, it should get the IP address from the VLAN 200 network and start working. With a different configuration (or with special need), you can enable IGMP mechanisms, the configuration of which is available on the Network - Multicast tab.

    Wi-Fi setup


    Wireless interface settings are in the Interface - WLAN menu. By default, up to 5 SSID connections are available on the router.

    image

    Which can be configured to work in different VLANs.

    After selecting the required SSID “LAVA-0001”, click on “edit” in the Operation column. In the menu that appears, you can change the name, network vlan, channels, isolation, and other parameters to fit your needs.

    image

    Click OK to apply the configuration, and then click Save Config to save it. If the configuration is not saved, then when the router is restarted, it will return to its original state.

    USB 3G / 4G


    Earlier it was mentioned that there is a USB interface onboard the router, which can be used to connect a 3G / 4G modem as a primary or backup link.
    The menu for modem configuration is located on the Basic - Interface - 4G tab.

    image

    The menu contains the necessary tabs with options for operating 3G / 4G modems, and the System Monitor tab, if a modem is connected, will show information about the device:

    image

    Reservation


    The above-described 3G / 4G interface can be used as a spare, i.e. for the organization of a backup communication channel. For example, if you go to the Interface tab - Link_Detect, you can set the main link as the main link, the backup link and the 3G / 4G backup link, and specify the node that will be checked. Ie, the logic is as follows: if the specified node does not respond, then switch to Backup Link.

    image

    QoS


    Both at home and in a small company, QoS is a hot topic. There are different mechanisms on the router, but we’ll consider the restriction for user groups. For example, we will try to create a group “Company” in which there will be two users, and for them every day during the whole working week there will be a restricting rule for speed from 08:00 to 18:00, and then the restriction will be removed.

    First, you need to create a group and add the necessary users to it.

    Go to the Manage Users - Um tab, select the “Company” group already created by default and click Add under the table with users.

    image

    There is nothing to emphasize here, except:

    Auth mode - authentication is available in the option by:

    • ldap
    • radius,
    • ip,
    • mac, which we will use.

    Fill in the remaining fields as you see fit.

    After users are created, you can go to the QoS menu and in the very first User Bandwidth Management tab add a new rule by clicking on Add:

    image

    Let's try the Company group to limit the speed to 4mbps daily. For this we are interested in the following options:

    • Description: for_company (name \ description for the rule);
    • Direction: bidirection (the direction in which the rule will operate in both directions);
    • Rate: 4000 (speed in kbps);
    • Way of Limit: Rate limit by user group (rate limit per user group);
    • User group: company (select the group in which the necessary users are located);
    • Start time-stop time: 08: 0 - 18:00 (time of the rule);
    • Type of Limit: protocol ANY (the protocol for which you want to enable the restriction).

    image

    Thus, we create a rule named for_company, in which the download / upload limit will be up to 4000kbps. The restriction will apply to users who are in the Company group, and act every day except Sat-Sun from 08:00 to 18:00 for all types of connections. With regards to the temporary rule, you need to make sure that NTP is configured on the router and the time is correct. Otherwise, the created rule will not work correctly.

    Security


    Security should not be neglected, the LR-2G211 has internal mechanisms to protect its network.

    image

    The LR-2G211 is a fully functional router not only for a home user, but also for a small office network.

    Do you need optics, Wi-Fi, SIP-gateway, IP-TV in one piece of hardware in the office or at home? Then you definitely should pay attention to the LR-2G211 !

    Price at the time of publication:

    image

    Also popular now: