Hi guys! I am pretty new in virtualization and proxmox too. I am confused a bit and don't know what to do.
My machine has 2 ethernet ports, so i figured out, i want my router to be on my proxmox host. I installed openwrt and everithing went fine. I created 2 bridges so now i have 3. (vmbr0, vmbr1 and vmbr2) My internet comes in to vmbr0, the it goes to openwrt and from openwrt, the internet comes out on vmbr1(10.10.10.1) and vmbr2(10.10.20.1). The second ethernet port is bound to the vmbr1, and now it is connected to my pc. It work very well (better then expected). My vms can access the internet too, but when i changed the gateway in networking, proxmox refused to make connection with the router so now the hsot can not access the internet. How can i solve this issue? Or where i f***ed up? I can ping the router, but it can not connect to it.
Here is my /etc/network/interfaces config
Thank you for the help.
My machine has 2 ethernet ports, so i figured out, i want my router to be on my proxmox host. I installed openwrt and everithing went fine. I created 2 bridges so now i have 3. (vmbr0, vmbr1 and vmbr2) My internet comes in to vmbr0, the it goes to openwrt and from openwrt, the internet comes out on vmbr1(10.10.10.1) and vmbr2(10.10.20.1). The second ethernet port is bound to the vmbr1, and now it is connected to my pc. It work very well (better then expected). My vms can access the internet too, but when i changed the gateway in networking, proxmox refused to make connection with the router so now the hsot can not access the internet. How can i solve this issue? Or where i f***ed up? I can ping the router, but it can not connect to it.
Here is my /etc/network/interfaces config
Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
iface enp44s0 inet manual
iface enp45s0 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp44s0
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 10.10.10.2/24
gateway 10.10.10.1
bridge-ports enp45s0
bridge-stp off
bridge-fd 0
auto vmbr2
iface vmbr2 inet static
address 10.10.20.2/24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr3
iface vmbr3 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
source /etc/network/interfaces.d/*
Thank you for the help.