OpenVZ Forum


Home » General » Support » *SOLVED* Access two subnets on two different NICs from VE with venet adapter
Re: Access two subnets on two different NICs from VE with venet adapter [message #14294 is a reply to message #14276] Thu, 21 June 2007 15:18 Go to previous messageGo to previous message
christoph is currently offline  christoph
Messages: 19
Registered: July 2006
Junior Member
Hello Andrey,

I just found a solution for my problem.

First I ensured that ip_conntrack was enabled for VE0.

Then I added the following iptables rule, and now it works fine:
iptables -t nat -A POSTROUTING -d 192.168.255.0/24 -j MASQUERADE -o eth1


Do you see any disadvantage in that way?

Christoph
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Kernel leak problems.
Next Topic: Simfs POSIX translation for VE
Goto Forum:
  


Current Time: Sat Jun 29 02:37:42 GMT 2024

Total time taken to generate the page: 0.05134 seconds