Linux Commands

Network

Display list of available network interfaces
ip link show

Interface Configuration

To configure netwrok interface edit file:
/etc/sysconfig/network-scripts/ifcfg-eth1
Example of config file for static interface:
DEVICE="eth1"
BOOTPROTO="static"
BROADCAST="192.168.200.255"
DNS1="8.8.8.8"
GATEWAY="192.168.200.1"
HWADDR="00:50:56:01:09:42"
IPADDR="192.168.200.106"
NETMASK="255.255.255.0"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="0798b894-e3de-4dde-9216-7dbe1f645e0e"