Skip to main content

Secondary Router Mode: Gateway Behind the Optical Modem

If the optical modem is in router mode and cannot be changed, put the gateway behind it. About 10 minutes.

When this applies

The modem stays in router mode. The gateway WAN port connects to the modem LAN port, and the modem hands it an address.

Step 1 — Edit the WAN port​

Open 网络(Network)→ 接口(Interfaces) and click 编辑(Edit) on the right of the WAN port.

WAN port edit button

Figure: the 编辑(Edit) button in the WAN port row.

Step 2 — Switch the protocol to DHCP client​

Select DHCP 客户端(DHCP client) in the protocol drop-down, then click 确认切换协议(Confirm protocol switch).

Protocol switched to DHCP client

Figure: the switch confirmation after selecting DHCP 客户端(DHCP client) in the protocol drop-down.

Step 3 — Click 应用配置(Apply configuration)​

Save the WAN port first.

Apply configuration button

Figure: where the 应用配置(Apply configuration) button sits.

Step 4 — Set the LAN port to a static IP​

Click 配置 LAN(Configure LAN) and select 静态地址(Static address). Fill in only the IP address and the subnet mask; leave everything else empty.

Configuring the LAN port

Figure: the 配置 LAN(Configure LAN) entry.

LAN port static IP

Figure: the LAN port form; only the IP address and subnet mask fields should be filled.

The LAN port subnet must differ from the modem subnet

If the modem is 192.168.1.1, set the gateway LAN to 192.168.2.1. On the same subnet the gateway has no internet access at all.

Step 5 — Enable DHCP on the LAN port​

Turn on the DHCP service on the LAN port so devices below the gateway get an address.

LAN port DHCP service

Figure: the enable switch for the LAN port DHCP service.

Step 6 — Click 应用配置(Apply configuration)​

Click 应用配置(Apply configuration) one last time.

Apply configuration button

Figure: where the 应用配置(Apply configuration) button sits.

What you should see when done
  • The WAN port gets an address such as 192.168.1.x from the modem
  • A computer on the LAN port automatically gets 192.168.2.x and can reach the internet

Next → Connecting the gateway to the platform