LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Virtual IP responds to arpping but not ping (https://www.linuxquestions.org/questions/linux-networking-3/virtual-ip-responds-to-arpping-but-not-ping-879742/)

redthor 05-09-2011 09:05 PM

Virtual IP responds to arpping but not ping
 
Hi there.

Operating system:
Debian Lenny 5.08 (2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 GNU/Linux)

I have a network iface eth0 with 2 virtual IP addresses (117.20.2.111 117.20.2.112). The virtual IP addresses I have setup by simply running:

Code:

ifconfig eth0:1 117.20.2.111 up
This has worked fine for 2 virtual IP's but the third one (117.20.2.133) will not respond to ping's though it does respond to arpping's.

There are no firewall iptable rules:
Code:

iptables --list
Chain INPUT (policy ACCEPT)
target    prot opt source              destination
Chain FORWARD (policy ACCEPT)
target    prot opt source              destination
Chain OUTPUT (policy ACCEPT)
target    prot opt source              destination


Output of route -n:
Code:

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
117.20.2.0      0.0.0.0        255.255.255.0  U    0      0        0 eth0
117.0.0.0      0.0.0.0        255.0.0.0      U    0      0        0 eth0
0.0.0.0        117.20.2.1      0.0.0.0        UG    0      0        0 eth0

Output of ip rou ls:
Code:

117.20.2.0/24 dev eth0  proto kernel  scope link  src 117.20.2.110
117.0.0.0/8 dev eth0  proto kernel  scope link  src 117.20.2.111
default via 117.20.2.1 dev eth0

Any help would be appreciated.
thanks.

Dutch Master 05-09-2011 09:18 PM

Can't help really, but things to consider:
  • is there a limit to the number of virtual IP's you can bind to a real one?
  • is the *.133 address declared somewhere? And is it attached to a hardware interface?
  • is the *.133 address within the network range? (it should, but are you absolutely sure?)

redthor 05-09-2011 10:20 PM

Thanks Dutch Master:

I don't think there's a limit. I've tried searching to find out. All I came up with is http://forums11.itrc.hp.com/service/...hreadId=943644 which seems to say that you can have at least 200 or so.

Is the 133 address declared somewhere? I'm sorry I'm not sure what you mean.... I don't believe it is used by any other machine and I haven't declared it in any other of my server config.

133 seems to be in network range as it will respond to an arpping.

Cheers.


All times are GMT -5. The time now is 08:20 AM.