[SOLVED] vmbr2 network

jessegeerts

New Member
Aug 17, 2016
7
0
1
24
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:
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
And this is my VM hardware configuration: https://docs.google.com/uc?id=0Bzi7TczKmNTuUERrejhsalcyUHc
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!