Guests have no internet access

negin

New Member
Aug 21, 2019
2
0
1
34
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
 

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!