[CentOS] Network configuration issue with second public ip on CentOS 6
Ulf Volmer
u.volmer at u-v.de
Wed Dec 23 14:43:15 UTC 2015
On 12/23/2015 03:06 PM, Meikel wrote:
> $ cat /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> BOOTPROTO=static
> IPADDR=xx.xx.xx.xx
> NETMASK=255.255.255.0
> ONBOOT=yes
> GATEWAY=xx.xx.xx.254
>
> $ cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
> DEVICE=eth0:0
> BOOTPROTO=static
> IPADDR=yy.yy.yy.yy
> NETMASK=255.255.255.255
this looks weak. Try to use the same netmask as you use for eth0.
best regards
Ulf
More information about the CentOS
mailing list