OpenVZ Forum


Home » General » Support » VENET, VETH + SNAT
Re: VENET, VETH + SNAT [message #7660 is a reply to message #7647] Thu, 19 October 2006 15:03 Go to previous messageGo to previous message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
chinaman wrote on Thu, 19 October 2006 08:48

That means it's impossible to use veth with some VEs inside a bridge and some VEs using SNAT.

It is possible - just do not add eth0 interface to the bridge and keep some veth devices in bridge:
                            +-----------+
                            | vzbr0     |
                            |           |    +---------+
     eth0 ----- route       | veth101.0 +----| VPS 101 |
            \   table ------|           |    +---------+
             \              |           |    +---------+
              \             | veth102.0 +----| VPS 102 |
               \            +-----------+    +---------+
                SNAT
                    \                        +---------+
                     \------- veth105.0 -----| VPS 105 |
                                             +---------+

Quote:

I thought using the brige interface i.e. vzbr0 instead of eth0 together with SNAT, but that's not working?

To use SNAT you will need "route stage", but when all interfaces are added to bridge routing is not performed.

Quote:

What about the latency difference using venet and veth? If i could solve this it might be possible to use just venet.
We didn't measure latancy in such network configurations, so it will be interesting for us to see your results.


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Startup script on slack
Next Topic: *SOLVED* vpsid shows no pid
Goto Forum:
  


Current Time: Wed Jul 31 02:28:24 GMT 2024

Total time taken to generate the page: 0.02802 seconds