IPs stop working [message #51304] |
Tue, 08 April 2014 18:56 |
vztester
Messages: 19 Registered: August 2008
|
Junior Member |
|
|
After some time the public IPs on my VPS's stop working. The only way to make them work again is to delete and readd the IP with vzctl.
Is there a way to fix this or to fix the routing or arp entries manually without doing the above?
rtt
|
|
|
Re: IPs stop working [message #51305 is a reply to message #51304] |
Tue, 08 April 2014 19:01 |
vztester
Messages: 19 Registered: August 2008
|
Junior Member |
|
|
I've found that running the following fixes it so a hack job fix could be something like a cron script running this every minute:
ifup venet0
Bringing up interface venet0:
Configuring interface venet0:
net.ipv4.conf.venet0.send_redirects = 0
Configuring ipv6 venet0:
RTNETLINK answers: File exists
rtt
|
|
|
Re: IPs stop working [message #51316 is a reply to message #51304] |
Thu, 10 April 2014 19:24 |
Paparaciz
Messages: 302 Registered: August 2009
|
Senior Member |
|
|
I think there was similar topics about this issue in the past.
it can be related to NEIGHBOUR_DEVS=detect setting in /etc/vz/vz.conf
what interface you are using? I mean is it eth0 or something else.?
|
|
|