A photo of Mitesh Shah

Mitesh Shah

Linux Enthusiast
System Administrator

Email Skype Github Twitter Google+ Resume Hire Me Keybase LinkedIn Stackoverflow


Overview

Manually Configure Network Interface

$  cat /etc/sysconfig/network-scripts/ifcfg-eth0\:1
NM_CONTROLLED="no"
DEVICE="eth0:1"
ONBOOT="yes"
BOOTPROTO="static"
IPADDR="192.168.198.60"
NETMASK="255.255.128.0"

Bring up Network Alias

$ ifup eth0:1

Save Setting Permantly

$ echo "ifup eth0:1" >> /etc/rc.local
$ sudo chmod a+x /etc/rc.d/rc.local




Post Navigation