hi
i have a proxmox server i created a vm and i bought an additional ip adress from hetzner i want to assign the additional ip to vm
Please help me
this is my internet interface config
	
	
	
		
				
			i have a proxmox server i created a vm and i bought an additional ip adress from hetzner i want to assign the additional ip to vm
Please help me
this is my internet interface config
		Code:
	
	source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto enp35s0
iface enp35s0 inet static
        address proxmoxIP
        netmask 255.255.255.192
        gateway ProxmoxGetway.193
        up route add -net AdditionalIP.102 netmask 255.255.255.192 gw ProxmoxGetway.193 dev enp35s0
auto vmbr99
iface vmbr99 inet static
        address 10.10.10.1
        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.10.10.0/24' -o enp35s0 -j MASQUERADE
        post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o enp35s0 -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
	
			
				Last edited: