Menu="parentname:nnn" Title="Interface ethX" Png="ethernet.png" --- $val) if (strpos($key,$vlan_id)===0) $vlan_ethX[] = substr($key,strlen($vlan_id)); $cmd = 'Down'; $more = true; if (!exec("ip link show ethX|grep -om1 'UP>'")) { $reason = "Interface is shutdown (inactive)"; $class = 'big blue'; $cmd = 'Up'; } elseif (strpos($locked,'bond')===0 || strpos($locked,'br')===0) { $root = explode(' ',$locked); $reason = "Interface is member of ".$root[0]." (see interface ".$root[1].")"; $class = 'big green'; } elseif (empty($ethX)) { $reason = "Interface is not configured"; $class = 'big red'; } else { $more = false; $class = 'big'; } ?>
MAC address: : - > This is the hardware address of the interface. > When tagging is enabled all VLANs on this interface will share the same hardware address. Enable bonding: : > Bonding is a feature that combines multiple physical Ethernet interfaces into a single *bonded* interface named **bond0**. > This can be used to improve the connection redundancy and/or throughput of the system. > Different bonding modes are supported (see below), but some modes require proper switch support. Enable bridging: : > Bridging is a feature which creates a virtual bridge and allows VMs to communicate directly with the physical Ethernet port. Interface description: : " onchange="exitCode(this.form,true)"> > Use this field to give addditional information about the purpose of the connection. Network protocol: : IP address assignment: : > The following settings are possible: > > *Automatic* - the server will attempt to obtain its IP address from the local DHCP server (IPv4) or SLAAC (IPv6)
> *Static* - the IP address is manually set for this interface
> *None* - no IP address is assigned to the interface Desired MTU: : > This is the MTU size to use on the physical Ethernet interface. > If left blank, the MTU will automatically be determined (by default 1500 bytes). Enable VLANs: :
  : Stopped to change (see Settings)" : ""?>