I was trying to configure additional ip on my vps server. And faced with problem. The server doesnt respond when i'm trying to connect to this ip. No ping
I have eth0 interface
in /etc/sysconfig/network-scripts added ifcfg-eth0:0
Code: Select all
IPADDR="82.202.200.21"
NETMASK="255.255.255.0"
BOOTPROTO="static"
DEVICE="eth0:0"
ONBOOT="yes"
then i restarted network and rebooted the centos
ip addr
Code: Select all
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 52:54:00:38:7b:7b brd ff:ff:ff:ff:ff:ff
inet 80.93.187.202/24 brd 80.93.187.255 scope global eth0
valid_lft forever preferred_lft forever
inet 82.202.200.21/24 brd 82.202.200.255 scope global eth0:0
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe38:7b7b/64 scope link
valid_lft forever preferred_lft forever
Code: Select all
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 80.93.187.1 0.0.0.0 UG 100 0 0 eth0
80.93.187.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0
82.202.200.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0
OK
from home pc ro the gateway:
ping 82.202.200.1
OK
But there isn't ping from this ip (82.202.200.21) to any external ip and i can't ping 82.202.200.21 from my pc
Hosting's support told that theq the problem 100% in my vps settings