OpenVZ Forum


Home » General » Support » Dynamic Routing from inside VE
Dynamic Routing from inside VE [message #29161] Mon, 07 April 2008 17:30
seanfulton is currently offline  seanfulton
Messages: 105
Registered: May 2007
Senior Member
I posted this before but got no response. I took two months off, came back, redid everything from scratch and it still won't work.

Here is the deal: I have a CENTOS 4 VE running on a CENTOS 5 HN. The HN has two LAN interfaces, XXX.XXX.38.XXX and XXX.XXX.39.XXX. I removed the venet config from the VE (VE101) and configured it to use VETH. I went *inside* the VE and assigned it an IP in the XXX.XXX.40.XXX block. I created a static route in the VE for default to use eth0, and I created a static route on the HN to the VE through VETH101.0.

I can ping from the VE to the Internet and from the Internet into the VE.

HOWEVER, I want to run quagga inside the VE to add additional IP addresses to the VE. The plan is to have a fail-over VE configuration on another HN and I need to have the two VEs "see" each other and pass an IP address back and forth. VENET requires the HN to pass the IP, which I don't want.

The PROBLEM is that Quagga can't exchange routes with the VE.

I have the same version of Quagga running on all our servers and they exchange routes fine. I am using essentially the same config within the VE.

Still, the routes are not being exchanged between the quagga inside the VE and quagga on the HN. The only way to send traffic to a virtual IP in the VE is to put a static route on the HN>.

Any ideas please? Someone must have gotten quagga working in a VE, right?

sean

[Updated on: Tue, 08 April 2008 14:19]

Report message to a moderator

Previous Topic: SOLVED: Hang on vzctl start/stop in futex() in the ve.
Next Topic: network problem
Goto Forum:
  


Current Time: Sun Jul 20 09:08:58 GMT 2025

Total time taken to generate the page: 0.08453 seconds