Hello everyone.
Please help me to solve network problem.
ProxMox already has 2 virtual machines. 1st one has Debian installed with 2nd dedicated IP in vmbr0 and 2nd one has Windows installed on NAT (10.10.10.10) in vmbr1 (10.10.10.1) with port forwarding to main IP.
I install DSM 7.1.1 on the 3rd virtual machine on NAT (10.10.10.30) in vmbr1, but it doesn’t go online, nothing pings, except for NAT, let’s say 10.10.10.10 and 10.10.10.30.
Configuration of the interfaces
How to install TCRP on Proxmox
In the case when I put the main IP, the MAC Auto (in this case Hetzner does not authorize the use of other MACs, other than the main IP and the additional one) and in the DSM the eth0 network with DHCP, the IP in the DSM appears only 127.0.0.1.
Any help on this will be much appreciated.
Many thanks in advance.
Please help me to solve network problem.
ProxMox already has 2 virtual machines. 1st one has Debian installed with 2nd dedicated IP in vmbr0 and 2nd one has Windows installed on NAT (10.10.10.10) in vmbr1 (10.10.10.1) with port forwarding to main IP.
I install DSM 7.1.1 on the 3rd virtual machine on NAT (10.10.10.30) in vmbr1, but it doesn’t go online, nothing pings, except for NAT, let’s say 10.10.10.10 and 10.10.10.30.
Configuration of the interfaces
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp0s31f6
iface enp0s31f6 inet manual
auto vmbr0
iface vmbr0 inet static
address AA.BB.CCC.DDD/26
gateway AA.BB.CCC.129
bridge-ports enp0s31f6
bridge-stp off
bridge-fd 0
up route add -net AA.BB.CCC.128 netmask 255.255.255.192 gw AA.BB.CCC.129 dev vmbr0
# up ip route add AA.BB.CCC.EEE/32 dev vmbr0 # AA.BB.CCC.EEE second IP Address
auto vmbr1
iface vmbr1 inet static
address 10.10.10.1/24
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.10.10.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE
post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1
How to install TCRP on Proxmox
In the case when I put the main IP, the MAC Auto (in this case Hetzner does not authorize the use of other MACs, other than the main IP and the additional one) and in the DSM the eth0 network with DHCP, the IP in the DSM appears only 127.0.0.1.
Any help on this will be much appreciated.
Many thanks in advance.