Is there a way to get a internal IP for my vmbr2 interface on my kimsufi dedi because I want to use windows on my system and some other OS`s
Here is my interfaces configuration:
And this is my VM hardware configuration: https://docs.google.com/uc?id=0Bzi7TczKmNTuUERrejhsalcyUHc
Here is my interfaces configuration:
Code:
# The loopback network interface
auto lo
iface lo inet loopback
# for Routing
auto vmbr1
iface vmbr1 inet manual
post-up /etc/pve/kvm-networking.sh
bridge_ports dummy0
bridge_stp off
bridge_fd 0
# vmbr0: Bridging. Make sure to use only MAC adresses that were assigned to you.
auto vmbr0
iface vmbr0 inet static
address ........
netmask 255.255.255.0
network 46.105.96.0
broadcast 46.105.96.255
gateway 46.105.96.254
bridge_ports eth0
bridge_stp off
bridge_fd 0
iface vmbr0 inet6 static
address .......
netmask 64
post-up /sbin/ip -f inet6 route add ..... dev vmbr0
post-up /sbin/ip -f inet6 route add default via ......
pre-down /sbin/ip -f inet6 route del default via ......
pre-down /sbin/ip -f inet6 route del .... dev vmbr0
auto vmbr2
iface vmbr2 inet static
address 10.99.0.254
netmask 255.255.255.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 '10.99.0.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.99.0.0/24' -o vmbr0 -j MASQUERADE
post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 3389 -j DNAT --to 10.99.0.2:3389
post-down iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 3389 -j DNAT --to 10.99.0.2:3389