hello , i created a bridge that the guests could have internet access via host internet connection ...
but there is no internet connectivity !
here is my config file , actually i got a Valid IP from hetzner for one of myguests and i want to set this ip for that VM ...
if any one could solve my problem please send Email to : neginsadeghi892@gmail.com
and if you want anydesk there is no problem
Thanks
here is my config file of the proxmox server :
### Hetzner Online GmbH installimage
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp4s0
iface enp4s0 inet static
address [ProxMox Server IP ]
netmask 255.255.255.224
gateway [GATEWAY IP]
# pointopoint [GATEWAY IP]
# route MyIpSubnet/27 via [GATEWAY IP]
up route add -net [MyIpSubnet] netmask 255.255.255.224 gw [GATEWAY IP] dev enp4s0
#auto vmbr1
#iface vmbr1 inet static
# address [THAT VALID IP]
# netmask 255.255.255.224
# bridge_ports none
# bridge_stp off
# bridge_fd 0
# VM-Bridge used by Proxmox Guests
auto vmbr0
iface vmbr0 inet static
# Our Host will be the Gateway for all VM's
address [ProxMox Server IP ]
netmask 255.255.255.192
# Some basic bridge configuration
bridge_stp off
bridge_ports none
bridge_fd 0
bridge_maxwait 0
up route add -host [THAT VALID IP] dev vmbr0
but there is no internet connectivity !
here is my config file , actually i got a Valid IP from hetzner for one of myguests and i want to set this ip for that VM ...
if any one could solve my problem please send Email to : neginsadeghi892@gmail.com
and if you want anydesk there is no problem
Thanks
here is my config file of the proxmox server :
### Hetzner Online GmbH installimage
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp4s0
iface enp4s0 inet static
address [ProxMox Server IP ]
netmask 255.255.255.224
gateway [GATEWAY IP]
# pointopoint [GATEWAY IP]
# route MyIpSubnet/27 via [GATEWAY IP]
up route add -net [MyIpSubnet] netmask 255.255.255.224 gw [GATEWAY IP] dev enp4s0
#auto vmbr1
#iface vmbr1 inet static
# address [THAT VALID IP]
# netmask 255.255.255.224
# bridge_ports none
# bridge_stp off
# bridge_fd 0
# VM-Bridge used by Proxmox Guests
auto vmbr0
iface vmbr0 inet static
# Our Host will be the Gateway for all VM's
address [ProxMox Server IP ]
netmask 255.255.255.192
# Some basic bridge configuration
bridge_stp off
bridge_ports none
bridge_fd 0
bridge_maxwait 0
up route add -host [THAT VALID IP] dev vmbr0