Re: Cannot set alias IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 18/6/2012 2:59 μμ, Nikolaos Milas wrote:

> Jun 18 14:38:58 vpnserver NetworkManager[1125]:    ifcfg-rh: error:
> Couldn't parse file '/etc/sysconfig/network-scripts/ifcfg-eth0:1'

Following the above error, I thought that I should change config as 
follows:

DEVICE="eth0:1"
NM_CONTROLLED="yes"
ONBOOT="yes"
ONPARENT="yes"
BOOTPROTO=none
IPADDR=xxx.xxx.xxx.131
NETMASK=255.255.255.248

Now, I get the error (in /var/log/messages):

Jun 18 15:31:30 vpnserver NetworkManager[1125]:    ifcfg-rh: updating 
/etc/sysconfig/network-scripts/ifcfg-eth0:1
Jun 18 15:31:31 vpnserver NetworkManager[1125]:    ifcfg-rh: updating 
/etc/sysconfig/network-scripts/ifcfg-eth0:1
Jun 18 15:31:37 vpnserver NetworkManager[1125]: <info> (eth0): device 
state change: 8 -> 3 (reason 39)
Jun 18 15:31:37 vpnserver NetworkManager[1125]: <info> (eth0): 
deactivating device (reason: 39).

Please advise.

Note: I am on:
# uname -a
Linux vpnserver.example.com 2.6.32-220.17.1.el6.x86_64 #1 SMP Wed May 16 
00:01:37 BST 2012 x86_64 x86_64 x86_64 GNU/Linux

Thanks,
Nick
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux