CentOS multiple IP's can't ping in or out
It appears to me that I need to add a second gateway or route. I tried a GATEWAY statement in ifcfg-eth0:0 and it did not help.
I would like to point out that eth0 is working fine.
Any suggestions?
Here are my IP's from the Linode network page:
eth0: 74.207.242.xxx ( lixx-xxx.members.linode.com )
eth0: 173.230.152.xxx ( lixxx-xxx.members.linode.com )
Gateways: 74.207.242.1
173.230.152.1
Netmask: 255.255.255.0
DNS Servers: 74.207.241.5
74.207.242.5
My primary IP before adding the second IP was 173.230.152.xxx. It is still eth0 in the static configuration.
## File ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=173.230.152.xxx
NETMASK=255.255.255.0
GATEWAY=173.230.152.1
##File ifcfg-eth0:0
Configuration for eth0:0
DEVICE=eth0:0
BOOTPROTO=none
ONBOOT=yes
IPADDR=74.207.242.xxx
NETMASK=255.255.255.0
5 Replies
arping -UI eth0 -qc 5 173.230.152.xxx
arping registers it with the gateway so it knows where to route your packets..
I made the ONPARENT change and ran the arping. No change. The interface responds from the server console but not from remote. I tried with the firewall turned off as well.
Fire off a quick reboot and I bet you it'll work.