OpenVZ Forum


Home » General » Support » dual nic environment
Re: dual nic environment [message #7418 is a reply to message #7394] Fri, 13 October 2006 08:31 Go to previous messageGo to previous message
rudal is currently offline  rudal
Messages: 20
Registered: July 2006
Junior Member
Yep that's what I thought too.
So I tried this scenario:

eth0: 192.168.0.2 255.255.255.0

eth1: 10.10.10.2 255.255.252.0 (a big 10.x.x network)

So I did a route statement on the HN,
route add -host 10.10.10.3 dev venet0

I did the dev on venet0 just like how the vzctl --ipadd command set the ip to venet0. I am not sure if that's the correct way to route that IP to one of the VE's.

After doing that, I did a vzctl set 100 --ipadd 10.10.10.3

I am able to ping from another machine, 10.10.10.10, but i can not ping from 10.10.10.3 to 10.10.10.10.

So what did I do wrong?

Thanks.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: private ip for host-to-ve communication only
Next Topic: *CLOSED* Security breach :: prctl vulnerability
Goto Forum:
  


Current Time: Mon Sep 08 19:55:28 GMT 2025

Total time taken to generate the page: 0.07192 seconds