Unable to get virtual IP working

Issues related to configuring your network
Post Reply
biscuitboy
Posts: 1
Joined: 2017/11/08 15:13:35

Unable to get virtual IP working

Post by biscuitboy » 2017/11/08 15:35:05

Hello,

I am a Linux newbie but I thought I was pretty good at reading instructions.
However, I can't get a virtual IP on my test CentOS 7 system working.

My network interface is called "ens33" so I have configured "/etc/sysconfig/network-scripts/ifcfg-ens33" as follows;

Code: Select all

TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=External
UUID=8d07e9c3-7265-43d2-9cc9-9b79d56a75cd
DEVICE=ens33
ONBOOT=yes
IPADDR=192.168.1.199
PREFIX=23
GATEWAY=192.168.0.253
DNS1=192.168.0.1
DNS2=8.8.8.8
PROXY_METHOD=none
BROWSER_ONLY=no
IPADDR1=192.168.1.150
PREFIX1=23
NM_CONTROLLED=no
When the network is restart I am able to ping the primary IP address of 192.168.1.199 but not IPADDR1
I know I must be missing something but I have been unable to find anything that helps.

Post Reply