![](https://lh4.googleusercontent.com/-E3G4eNAVvfk/VNB9KKi_o-I/AAAAAAAAAB8/AWYxbv_ZSbo/s320/overlap.JPG)
This can be setup by manal (I have proved use GRE). And this is not just for Garden, but also can for Docker (modify this script [1], change it to ovs-bridge)
So, can we add some new feature to CF? like share network for all Org, and private network for some Org. (something like domain feature)
I know this will have some constraint (like VLAN range 0-4096, so all network number for CF is little than 4096) but we can discuss it, right?
all the command you may use list below:
1. add bridge
# brctl addbr cbr0
2. add ovs
# ovs-vsctl add-br obr0
3. create veth-pair
# ip link add name cbr1-eth type veth peer name obr1-eth
# ifconfig cbr1-eth up
# ifconfig obr1-eth up
4. add port to bridge
# brctl addif cbr1 cbr1-eth
5. add port to ovs
# ovs-vsctl add-port obr0 obr1-eth tag=10
6. connect two ovs
# ovs-vsctl add-port br-tun patch-int -- set interface patch-int type=patch options:peer=patch-tun
# ovs-vsctl add-port br-int patch-tun -- set interface patch-tun type=patch options:peer=patch-int
7. add GRE tunnel to ovs (I think Vxlan is the same, which I'm not use yet)
# ovs-vsctl add-port obr0 gre0 -- set Interface gre0 type=gre options:remote_ip=8.8.8.31