oosVersion 2.1

LAN

OOS Local Area Network (LAN) configuration guide, covering VLAN creation and port modes, DHCP Server setup, and static routing rules.

LAN (Local Area Network) connects local computers and devices. This chapter explains how to group them with VLANs, assign IP addresses automatically with DHCP, and add static routes when a path to another subnet must be specified.

Before starting, identify the device's current LAN interfaces and management IP. Prepare the VLANs, subnets, and addresses planned by your network administrator. Interfaces and IPs shown are examples. For instance, eth0 can be used in the VLAN example only if it has already been assigned as LAN.

!WARNING Changing the management interface's VLAN, Gateway & Management IP, or route may interrupt management access. Confirm the interface and address you will use afterward. Do not copy the example settings directly onto an active network.

1. Virtual LAN (VLAN)

A VLAN (Virtual LAN) divides devices on a physical LAN into logical groups. A VLAN ID identifies a group. Create the VLAN ID first, then assign LAN interfaces to it.

Interfaces specified on the Port Type page will be displayed on the VLAN interface page.

VLAN Interface List Screen

By default, all interfaces belong to VLAN ID 1.

Default VLAN ID 1 Interface List

Adding a VLAN ID

  1. Go to Networking > LAN > VLAN.
  2. Enter the desired VLAN IDs (e.g., 10,20,30) in the VLAN ID field.
  3. Click the Add button.
  4. Click the List button to view the newly created VLAN IDs.

Add VLAN ID Settings Interface

Modifying VLAN ID (Access Mode)

Access mode assigns the selected interfaces to one VLAN. Confirm that the VLAN ID already exists.

  1. Go to Networking > LAN > VLAN.
  2. Select the target interfaces (e.g., eth0, eth1) using the checkboxes.
  3. Click the Edit button.
  4. Set Port Mode to Access.
  5. Select the target VLAN ID.
  6. Click the Apply button.

Modify VLAN ID to Access Mode Settings Screen

Apply Access Mode Configuration

Modifying VLAN ID (Trunk Mode)

Trunk mode allows multiple VLANs on an interface. Select the required entries from the VLANs already created and add them to the allowed list.

  1. Go to Networking > LAN > VLAN.
  2. Select the interfaces (e.g., eth4, eth5, and eth7) using the checkboxes.
  3. Click the Edit button.
  4. Select a VLAN ID from the Created VLAN list.
  5. Click the > icon to move it into the allowed list.

Add VLAN ID to Trunk List

  1. Click the Apply button.

Apply Trunk Mode Configuration Screen


2. DHCP Server

DHCP automatically assigns IP addresses so devices do not need manually entered addresses. The DHCP server is enabled by default on VLAN 1. Wired devices connected to LAN ports and mobile devices associated with Wi-Fi SSIDs automatically receive IP addresses via DHCP.

How Devices Receive IP Addresses via DHCP

  • Wired Devices:
    1. Connect the device to an OOS LAN port.
    2. The device obtains an IP address automatically from the OOS DHCP server.
  • Mobile Devices:
    1. Associate the mobile device with the configured Wi-Fi SSID.
    2. The mobile device receives an IP address from the OOS DHCP server.

DHCP Automatic IP Allocation Diagram

Adding a DHCP Server

Create the target VLAN first, then enter its planned addresses. Gateway & Management IP is both the VLAN gateway and OOS management address. Netmask defines the subnet boundary, Address range supplies the IPs available to devices, and DNS converts website names to IP addresses.

  1. Go to Networking > LAN > DHCP Server.
  2. Click the Add button to open the "Add DHCP Server" dialog box.
  3. Select the target VLAN ID from the drop-down menu.
  4. Enter the Gateway & Management IP (e.g., 192.168.10.100).
  5. Enter the Netmask (e.g., 255.255.255.0).
  6. Set Enable DHCP Server to ON.
  7. Enter the Address range (e.g., 192.168.10.102 – 192.168.10.110).
  8. Enter the DNS address (e.g., 8.8.8.8).
  9. Click the Apply button.

After applying, connect a test device to the matching LAN or Wi-Fi and check that its IP is within the configured Address range. The route example below uses a different DHCP address set. Treat it as a separate example and do not mix the two configurations.

3. Static Route

Static routing involves manually configuring entries in the routing table, allowing network administrators to control how data packets are forwarded to specific destinations.

Setting Up a Static Route

This example prepares VLAN 10 and DHCP before adding the route. If the planned VLAN and address settings already exist, check them and continue with the route; you do not need to recreate DHCP each time. Obtain the destination subnet, Gateway IP, Mask IP, and Metric (a value used to compare routes) from your network administrator.

  1. Go to Networking > LAN > VLAN.
  2. Add VLAN ID 10.

Add VLAN ID 10

  1. Go to Networking > LAN > DHCP Server.
  2. Click the Add button to display the "Add DHCP Server" dialog box.
  3. Select VLAN 10 from the drop-down menu.
  4. Enter the Gateway & Management IP (e.g., 192.168.10.1).
  5. Enter the Netmask (e.g., 255.255.255.0).
  6. Set Enable DHCP Server to ON.
  7. Enter the Address range (e.g., 192.168.10.2 – 192.168.10.200).
  8. Enter the DNS IP (e.g., 8.8.8.8).
  9. Click the Apply button.

Configure DHCP Server for VLAN 10

  1. Go to Networking > LAN > Route.
  2. Click the Add button to pop up the "Add New Rule" dialog box.
  3. Enter the Network IP.
  4. Enter the Gateway IP.
  5. Enter the Mask IP.
  6. Enter the Metric.
  7. Select the corresponding VLAN ID.
  8. Click the Add button.

Add New Static Route Rule Dialog

After adding the rule, check the destination subnet, gateway, mask, Metric, and VLAN ID in the list. Then test the destination from a device on the matching VLAN.

Static Route Rule Table