[PVE-User] OVH + Vrack + private IP + Proxmox 4

Hector Suarez Planas hector.suarez at codesa.co.cu
Thu Apr 28 13:00:29 CEST 2016


Greetings.

El 25/04/2016 a las 03:56 PM, Michele Bonera escribió:
> Il 25/04/2016 06:48, Régis Houssin ha scritto:
>> auto vmbr2
>> iface vmbr2 inet static
>>          address  172.31.255.250
>>          netmask  255.240.0.0
>>          bridge_ports none
>>          bridge_stp off
>>          bridge_fd 0
>>          post-up echo 1 > /proc/sys/net/ipv4/ip_forward
>>          post-up iptables -t nat -A POSTROUTING -s '172.16.0.0/12' -o
>> vmbr0 -j MASQUERADE
>>          post-down iptables -t nat -D POSTROUTING -s '172.16.0.0/12' -o
>> vmbr0 -j MASQUERADE
>>          post-up route add -net 224.0.0.0 netmask 240.0.0.0 vmbr2
>>          pre-down route del -net 224.0.0.0 netmask 240.0.0.0 vmbr2
>>
>
>
> Is it correct?
> bridge_ports none

Yes. Many websites with manuals brings that configuration.

>
> I imagine that you have two physical interfaces, eth0/eth1 and one is 
> bridged into vmbr1 (public) and the other in vmbr2 (private), so I 
> suppose that eth1 should be present in vmbr2 bridge...

Well, I did that configutarion an working on. :-)

>
>
> Bye

Sorry for my bad English.

-- 
=====================================
Lic. Hector Suarez Planas
Administrador Nodo CODESA
Santiago de Cuba
-------------------------------------
Blog: http://nihilanthlnxc.cubava.cu/
ICQ ID: 681729738
Conferendo ID: hspcuba
=====================================




More information about the pve-user mailing list