OpenVZ Forum


Home » General » Support » Routing Trouble In Container
icon9.gif  Routing Trouble In Container [message #45390] Thu, 01 March 2012 01:07 Go to next message
kladizkov is currently offline  kladizkov
Messages: 5
Registered: May 2009
Junior Member
Hi,

I migrated a container from one hardware node to another. There is a strange issue now with the migrated container in the new hardware node. The outbound traffic in the container works only when the old hardware node is also turned on. If the old hardware node is shutdown, the network will not work in the container ( even it is not possible to ping to another IP from container ).

I ran tshark ( packet capture ) in the old hardware node, and I could see traffic getting routed through the old hardware node. Why is this happening? How can I make the container use the new hardware node for network routing?

Please help!
Re: Routing Trouble In Container [message #45392 is a reply to message #45390] Thu, 01 March 2012 05:31 Go to previous messageGo to next message
mustardman is currently offline  mustardman
Messages: 91
Registered: October 2009
Member
Ahh, are they both using the same IP maybe?
Re: Routing Trouble In Container [message #45399 is a reply to message #45392] Thu, 01 March 2012 18:00 Go to previous messageGo to next message
kladizkov is currently offline  kladizkov
Messages: 5
Registered: May 2009
Junior Member
No, both hardware nodes have different IP address. Old one using 1.150 and new one using 1.120.
Re: Routing Trouble In Container [message #45408 is a reply to message #45399] Sat, 03 March 2012 18:30 Go to previous messageGo to next message
mustardman is currently offline  mustardman
Messages: 91
Registered: October 2009
Member
...are they assigned more than 1 ip address?

It sounds a lot like an IP problem to me.

Maybe compare /etc/vz/CTID.conf on both and see what you can see.

Do they both use the same gateway IP? Maybe it's an upstream problem with the router. Are your IP blocks set up correctly?

Just throwing out some ideas.



[Updated on: Sat, 03 March 2012 18:34]

Report message to a moderator

Re: Routing Trouble In Container [message #45413 is a reply to message #45408] Sun, 04 March 2012 05:31 Go to previous message
kladizkov is currently offline  kladizkov
Messages: 5
Registered: May 2009
Junior Member
Managed to fix the problem temporarily.

If I set another IP as venet0:0 and move existing IP to venet0:1, all is fine.
Previous Topic: Debian is about to drop support for OpenVZ
Next Topic: privvmpages vs oomguarpages
Goto Forum:
  


Current Time: Wed Jul 17 05:23:33 GMT 2024

Total time taken to generate the page: 0.04322 seconds