Menu="x-settings" Title="Interface ethX" Png="ethernet.png" --- $val) if (substr($key,0,6)=='VLANID') $vlan_ethX[] = substr($key,7); $cmd = 'Down'; if (!exec("ip link show ethX|grep -om1 'UP>'")) { $more = true; $reason = "Interface is shutdown (inactive)"; $class = 'blue'; $cmd = 'Up'; } elseif ($bond_ethX) { $more = true; $reason = "Interface is member of ".$eth0['BONDNAME']." (see interface eth0)"; $class = 'green'; } elseif ($bridge_ethX) { $more = true; $reason = "Interface is member of ".$eth0['BRNAME']." (see interface eth0)"; $class = 'green'; } elseif (empty($ethX)) { $more = true; $reason = "Interface is not configured"; $class = 'red'; } else { $more = false; } ?>
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 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. IP address assignment: : > The following settings are possible: > > *Automatic* - the server will attempt to obtain its IP address from the local DHCP server
> *Static* - the IP address is manually set for this interface
> *None* - no IP address is assigned to the interface IP address: : " class="narrow" pattern="" title="IP address A.B.C.D"> > Greyed out when using DHCP server. Otherwise specify here the IP address of the interface. Network mask: : > Greyed out when using DHCP server. Otherwise specify here the associated network mask, by default 255.255.255.0 is selected. 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"?>