VLAN Set Up

From Teltonika Networks Wiki
Main Page > FAQ > Networking > VLAN Set Up

The information in this page is updated in accordance with firmware version 00.07.09.01.

Introduction

This article contains instructions o how to set up VLAN using a Teltonika-Networks device. Following this example, you will be able to create two different networks (network interfaces) and limit speed on one of the interfaces (or both of them).

For this example, I will be using the RUTX14 device.

If you're having trouble finding any page or some of the parameters described here on your device's WebUI, you should turn on "Advanced WebUI" mode. You can do that by clicking the "Advanced" button which is located at the top-right corner of the WebUI.

Creating VLAN

To create a VLAN follow all the steps below:

Access your device WebUI by typing your Routers Private or Public IP in your browser (my router has private IP 192.168.1.1) Next, navigate to Network → Vlan → Port Based

  • Now you'll need to add a new VLAN and change the first VLAN (ID:1) configuration.
    1. Press .
    2. Choose which port you will use and turn that port Off in VLAN (ID:1). In this example, lan3 port was chosen.
    3. Turn on the selected LAN port in the new VLAN by selecting untagged from the dropdown meniu.
    4. Press .

Note some of the devices when navigated to Network → Vlan → Port Based will not have any VLANs and only two will appear once were pressed. In this situation your new VLAN will have ID 2.

Before :


After :


Creating Interface's

  • Now navigate to Network → LAN
  • Add a new instance, by pressing :
  • In General Settings:
    1. Enable the instance.
    2. Write the desired name.
    3. Write the desired IP address.
    4. Select desired netmask from the dropdown meniu.
    5. If needed enable DHCP.

  • In Physical Settings:
    1. Frow the dropdown meniu select new VLAN interface.
    2. Press .
  • If you've configurated everything correctly your new Interface should be running:

Testing new VLAN

Now by plugging PC into the RUTX14 LAN3 port you need to check if everything is working correctly. To do that you'll need:

  • On your Windows machine open CMD (you can do it by typing in Windows search "CMD" and press Enter):

  • In CMD type the command "ipconfig", press Enter and search for Ethernet adapter and check if you got the IP address like I did (192.168.2.x):

Setting up data limit on the interface

This step is optional, complete this if you need to limit internet data on one of your interfaces (or both).

You'll need to create a QoS configuration, for this you'll need to download the QoS package in Services → Package Manager → Packages and limit the internet speed for an interface that you want to be limited.

Note: If you set QoS for the LAN interface, the direction logic is naturally inverted. Egress means "from router towards LAN" = in practice "download from WAN forwarded to LAN".

For more detailed information about how to configure QoS and how it works, you can read it here.