[CentOS] Virtual IP

Thu Jul 6 08:27:20 UTC 2017
Andreas Benzler <andreas at benzlerweb.de>

Something like that?

DEVICE="enp2s0f1"
HWADDR="00:25:90:5C:2A:AD"
TYPE=Ethernet
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="none"
IPADDR=192.168.100.1
NETMASK=255.255.255.0
NAME=„enp2s0f1"


> Am 06.07.2017 um 10:17 schrieb Amine Tengilimoglu <aminetengilimoglu at gmail.com>:
> 
> Hİ all;
> 
> 
>   i need your helps on setting the virtual ip. I am trying to setup static
> virtual ip on CenOS7.  but I want my VIP to should not open when rebooting.
> 
> 
> My interface settings like this:
> 
> *for ens33 NIC -> ifcfg-ens33*
> 
> DEVICE=ens33
> BOOTPROTO=none
> ONBOOT=yes
> PREFIX=24
> IPADDR=192.168.2.151
> 
> 
> *and for VIP NIC ens33:2* * -> ifcfg-ens33:2*
> 
> DEVICE=ens33:2
> ONBOOT=no
> ONPARENT=no
> PREFIX=24
> IPADDR=192.168.2.149
> 
> i made up ifcfg-ens33:2 from ifcfg-ens33 by copying it... i dont know
> where i do wrong??
> 
> i am waiting for your help...
> 
> best regards....
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos