From Compex Wiki
Jump to: navigation, search

General Setup

Status: Shows a summary of the current LAN port status, which includes uptime, MAC address, received bytes and packets, transmitted bytes and packets, and IPv4 address.

CpxWRT Network LAN General.png

Protocol: Chooses between Static address, where you can specify the device IP address, or DHCP client, where the device obtains it IP address automatically. Static address is necessary if other devices obtain internet connection through this device. Static address is also recommended if you wish to configure the device via the LuCI web interface.

Note: After modifying the Protocol option, please click the “Switch protocol” button. If using the Static address protocol, please fill in the IPv4 address, IPv4 netmask, IPv4 gateway, and a custom DNS server. Finally, please click the “Save & Apply” button.

Protocol Static address

IPv4 address: Sets the IP address of the device e.g., where you can access the router's configuration web page.

IPv4 netmask: Sets the subnet mask e.g. The IP address and netmask together determine the subnet or network ID e.g. Two devices must be in the same subnet in order to establish a (Layer 2) link between them.

IPv4 gateway: Specifies the IP address of the remote router that allows the device's shell to gain Internet access. Please leave this blank if the gateway is itself.

IPv4 broadcast: Specifies the IPv4 broadcast address, optional.

Use custom DNS servers: Configures the IP address of the DNS servers e.g. for the SingNet DNS server in Singapore or for the Google DNS server in the USA. The computers in the same subnet as this device can then set this device's IP address as their preferred DNS server to obtain the same DNS service.

Accept router advertisements: Receives packets that routers send out to notify of their presence, thereby learning about their availability.

Send router solicitations: Sends requests for router advertisements. Routers will generate router advertisements immediately rather than at their next scheduled time.

IPv6 address: Sets the IPv6 address of the device, together with the IPv6 subnetting e.g. /64.

IPv6 gateway: Specifies the IPv6 address of the remote router that allows the device's shell to gain Internet access.

Network Interfaces LAN IPv6 address.png

Protocol DHCP client

The Dynamic Host Configuration Protocol (DHCP) is a standardized networking protocol used by servers on an IP network to allocate IP addresses automatically to client devices.

Hostname to send when requesting DHCP: Specifies the name of this device as seen by the remote DHCP server.

Advanced Settings

The following are options in the Advanced Settings section tab. Some of these options are shown, depending on the protocol being used.

Override MAC address: Allows you to specify a different MAC address other than the router's original MAC address. This is useful if the ISP uses the MAC address of a router to identify a customer. Suppose that the router needs to be replaced. The new router can take on the MAC address of the previous router in order to continue having internet access.

Override MTU: Sets the maximum transmission unit (MTU), the default being 1500 bytes. Unless, your ISP requires, it is not recommended to change this setting.

Use gateway metric: Allows you to specify a gateway metric. This acts as a cost for choosing the gateway when a connected device has to select between multiple available gateways. The gateway with the smallest metric is chosen.

Use broadcast flag: When sending DHCP requests, a client can indicate if it wants an answer in unicast or broadcast, by setting the broadcast flag. This is required for certain ISPs. Unchecked by default.

Use default gateway: Configures a default route. Checked by default.

Use DNS servers advertised by peer: Uses the DNS settings advertised by the DHCP server. Checked by default.

Client ID to send when requesting DHCP: Sets the identifier that may be required by the ISP or network administrator. If not stated, the MAC address of the client will be sent.

Vendor Class to send when requesting DHCP: Identifies the vendor of a DHCP client for the enhancement of vendor-specific DHCP functionality.

Physical Settings

Enable STP: Enables the Spanning Tree Protocol on this bridge. It is unchecked by default.

DHCP Server

This section allows you to configure the device as a DHCP server.

General Setup

Ignore interface: Disables DHCP for this interface. You should uncheck this to enable DHCP.

Note: All the following options in this DHCP Server section depend on DHCP being enabled.

Start: Specifies the lowest leased address as offset from the network address, the default being 100.

Limit: Sets the maximum number of leased addresses, the default being 150.

Leasetime: States the expiry time of leased addresses, the default being 12h.

Advanced Settings

Dynamic DHCP: Dynamically allocates DHCP addresses for clients. If disabled, only clients having static leases will be served. Checked by default.

Force: Forces DHCP on this network even if another server is detected, unchecked by default.

IPv4-Netmask: Overrides the netmask sent to clients. Normally it is calculated from the subnet that is served.

DHCP-Options: Defines additional DHCP options, for example "6,," which advertises different DNS servers to clients. Normally, connected devices would take this board's IP address as the default gateway. To set an alternative default gateway, add the DHCP option "3," for example. More information can be found in this link:

Static Leases

In this section, you can specify that a particular DHCP client obtain an IP address that you define.

The MAC address of the client is required. Click the Add button to add a static DHCP lease, then click Save & Apply to apply the changes.

CpxWRT Network Static Leases.png

The static DHCP lease shows up on the Status ➤ Overview page if the client is active.

CpxWRT Network DHCP.png