OpenVZ Forum


Home » General » Support » VE IP address stops working after several hours
Re: VE IP address stops working after several hours [message #33038 is a reply to message #33032] Thu, 18 September 2008 18:54 Go to previous messageGo to previous message
fatbrother
Messages: 12
Registered: September 2008
Location: Novosibirsk, Russia
Junior Member
maratrus wrote on Thu, 18 September 2008 21:09

Hi,
Quote:


How do you suggest my ip rules should look like? I do not want to add a new explicit rule for every new real_ip for my VE, but probably that's the only correct way...



You shouldn't create a new rule for each real_ip for your VE.

Sorry, I was not clear. I do not want to create new rules and new explicit route records, but I had to create a routing table entry "ip route add real_ip2 dev venet0 scope link table Real". If I understand logic behind this, I must add similar record for every real_ip on my VEs.
Quote:


You've created the single rule for the hole network segment. But I'm not quite understand why did you do that? Why don't you do without additional rules like
Quote:


32764: from real_ip_network/28 lookup Real
32765: from real_ip1 lookup Real

?
Why can't we delete them at all?

Because HN default route points to 10.4.0.126 which is not the same host as real_ip_router, and 10.4.0.126 won't route real_ip_network packets to where I want them.
So as far as I understand I can delete real_ip1 rule ('cos it's redundant), but not real_ip_network rule.

[Updated on: Thu, 18 September 2008 19:21]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can't start networking on a fedora-9-i386-default-20080913 VE
Next Topic: Creation of VE private area failed
Goto Forum:
  


Current Time: Sun Sep 07 00:17:55 GMT 2025

Total time taken to generate the page: 0.09767 seconds