Hello!
I'm running now about 20 vps nodes based on HyperVM interface(backend is openvz only).Last time I had to reinstall one of VPS nodes and ran into some routing problems which was really the first time. I have even reinstalled again this node but without success in solving this problem.
Here is short desciption:
All ips assigned to VPSes don't work. However if I add them (just for tests) as virtual interfaces ips like eth0:1 to the vps node they are working so it is not datacenter routing issue.
VPSes IPs are pingable from VPS node but not from outside.
What I found out is that they are not showing in the arp table.
When I issue arp command I can see only entry of router.
However when I issued:
echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
all started working properly. I do not know if is the good way becouse openvz advises to disable proxy_arp.
Can you help me?
OS: Centos 5.2 (32bit)
kernel: ovzkernel-PAE (2.6.18-92.1.13.el5.028stab059.6PAE)
Iptables rules flushed (iptables -F)
[root@s06 ~]# cat /etc/sysctl.conf
# On Hardware Node we generally need
# packet forwarding enabled and proxy arp disabled
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
# Enables source route verification
net.ipv4.conf.all.rp_filter = 1
# Enables the magic-sysrq key
kernel.sysrq = 1
# We do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
[root@s06 ~]#
Additionally when I have flushed iptables then pinging from VPS node to VPSes stopped working. It is working from outside(when proxy_arp is on of course)
Please help me to solve this problem as this is happend first time after so many installations.
Thank you in advance
[Updated on: Mon, 29 December 2008 07:06]
Report message to a moderator