[Commotion-admin] [luci-commotion] Additional Network Interfaces page functions in unexpected ways (#209)

andygunn notifications at github.com
Fri Jul 11 12:47:38 EDT 2014


Another option is to change this from "Additional Network Interfaces" to "Ethernet Interfaces" or "Wired Interfaces", and have sections to assign the functionality of the Ethernet port(s), and whether they are advertised gateways.

This would provide more clarity when there are multiple Ethernet interfaces, or a switch on the device - as is the case with the TP-Link WDR series devices, and the Buffalo devices. Some ports are switched LAN ports that may just have DHCP on by default. Some ports (such as the case of a single-port device or a device with a WAN port) will be Commotion default or DHCP clients only. These should still be possible to configure with static IPs and have meshing via Ethernet as option as well, as @dismantl suggests above.

A suggestion on the layout:

## Ethernet Ports
If desired, you can configure your Ethernet (wired) interfaces here.

### eth0 - WAN
This is the main Ethernet port on the device.

#### Mesh on this Interface
If this device is wired to other Commotion devices directly or through a switch or router, you can enable meshing over Ethernet.
( ) - Enable mesh over Ethernet
(x) - Disable mesh over Ethernet

#### IP configuration:
How will this interface's IP address be configured?
(x) - Commotion default: Try and aquire an IP address with DHCP. If it succeeds, configure as a gateway. If it times out, hand out IP addresses on this port with DHCP.
( ) - Only receive IP addresses on this interface. Will be configured as a DHCP client only.
( ) - Only hand out IP addresses on this interface. It will be configured as a DHCP server only.
( ) - Manually provide a static IP address. (upon selection input fields will appear)

#### Gateway advertisement
By default, Commotion shares connections to the Internet if they are detected. If you wish, you can allow connections to the Internet only from the local access point or Ethernet ports.
(x) - Enable Gateway advertisement from this interface to the mesh.
( ) - Disable Gateway advertisement from this interface.

### eth1 - LAN
These are the switched Ethernet port(s) on the device.

#### Mesh on this Interface
If this device is wired to other Commotion devices directly or through a switch or router, you can enable meshing over Ethernet.
( ) - Enable mesh over Ethernet
(x) - Disable mesh over Ethernet

#### IP configuration:
How will this interface's IP address be configured?
( ) - Commotion default: Try and aquire an IP address with DHCP. If it succeeds, configure as a gateway. If it times out, hand out IP addresses on this port with DHCP.
( ) - Only receive IP addresses on this interface. Will be configured as a DHCP client only.
(x) - Only hand out IP addresses on this interface. It will be configured as a DHCP server only.
( ) - Manually provide a static IP address. (upon selection input fields will appear)

---
( ) is a radio button

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/luci-commotion/issues/209#issuecomment-48754450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140711/291178a1/attachment.html>


More information about the Commotion-admin mailing list