Server answers only on one IP. Why?
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:25:90:60:1B:FC
inet addr:10.0.47.42 Bcast:10.255.255.255 Mask:255.255.255.248
inet6 addr: fe80::225:90ff:fe60:1bfc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4300 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:416886 (407.1 KiB) TX bytes:812 (812.0 b)
Memory:fbce0000-fbd00000
eth1 Link encap:Ethernet HWaddr 00:25:90:60:1B:FD
inet addr:72.9.239.194 Bcast:72.255.255.255 Mask:255.255.255.248
inet6 addr: fe80::225:90ff:fe60:1bfd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82334 errors:0 dropped:0 overruns:0 frame:0
TX packets:53868 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:85116034 (81.1 MiB) TX bytes:22357038 (21.3 MiB)
Memory:fbde0000-fbe00000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5356 errors:0 dropped:0 overruns:0 frame:0
TX packets:5356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:674981 (659.1 KiB) TX bytes:674981 (659.1 KiB)
Adresses assigned to server should be 5 usable:
72.9.239.194
72.9.239.195
72.9.239.196
72.9.239.197
72.9.239.198
Unfortunately when I do ping server answers only on: 72.9.239.194
OS=centOS 6/64bit
What could be wrong ?
You need to configure those IPs on that interface.
ip addr add 72.9.239.195/29 dev eth1
ip addr add 72.9.239.196/29 dev eth1
ip addr add 72.9.239.197/29 dev eth1
ip addr add 72.9.239.198/29 dev eth1
You can also use the ifcfg-eth1:n
files in /etc/sysconfig/network-scripts
to make this configuration last across reboots.
See Red Hat's documentation for more information.
From that output.. you only have 1 IP on the interface. You have been assigned that block but you have to alias the other IPs to that interface.
You can see if you have them aliased via
ip address show
quick and old way is using ifconfig to add aliases
ifconfig eth1:1 72.9.239.195 netmask 255.255.255.0
Same command for the other IPs.