jiangcuo / Proxmox-Port

Proxmox VE arm64 riscv64 loongarch64
GNU Affero General Public License v3.0
741 stars 37 forks source link

Unable to connect to Internet on OrangePi 5 Plus (Host) #30

Closed cclngit closed 9 months ago

cclngit commented 9 months ago

Hello, my main board is currently unable to connect to the internet. The OrangePi 5 Plus features two Ethernet ports, and I aim to designate them for WAN and LAN. To achieve this, I've created two bridges: vmbr0 for WAN (enP3p49s0) and vmbr1 for LAN (enP4p65s0), intending to implement a firewall. Currently, only VMs directly attached to vmbr0 can access the internet. However, as I am not proficient in configuring /etc/network/interfaces, I'm uncertain if there's an issue with my configuration. Could you please review it?

Info
OS: Proxmox VE 8.1.3+pve1 aarch64
Host: RK3588 OPi 5 Plus
Kernel: 5.10.160-rockchip-rk3588
Uptime: 15 hours, 56 mins
Packages: 926 (dpkg)
Shell: bash 5.2.15
Terminal: /dev/pts/0
CPU: (8) @ 1.800GHz
Memory: 1014MiB / 15970MiB
pveversion --verbose
proxmox-ve: 8.1.0 (running kernel: 5.10.160-rockchip-rk3588)
pve-manager: 8.1.3+pve1 (running version: 8.1.3+pve1/26764642342c55bb)
proxmox-kernel-helper: 8.1.0
ceph: 17.2.6-pve1+3
ceph-fuse: 17.2.6-pve1+3
corosync: 3.1.7-pve3
criu: 3.17.1-2
dnsmasq: 2.89-1
glusterfs-client: 10.3-5
ifupdown: residual config
ifupdown2: 3.2.0-1+pmx7
libjs-extjs: 7.0.0-4
libknet1: 1.28-pve1
libproxmox-acme-perl: 1.5.0
libproxmox-backup-qemu0: 1.4.0
libproxmox-rs-perl: 0.3.1
libpve-access-control: 8.0.7
libpve-apiclient-perl: 3.3.1
libpve-common-perl: 8.1.0-1
libpve-guest-common-perl: 5.0.6
libpve-http-server-perl: 5.0.4
libpve-rs-perl: 0.8.7
libpve-storage-perl: 8.0.5
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 5.0.2-4
lxcfs: 5.0.3-pve4
novnc-pve: 1.4.0-3
proxmox-backup-client: 3.1.2-1
proxmox-backup-file-restore: 3.0.4-1
proxmox-kernel-helper: 8.1.0
proxmox-mail-forward: 0.2.0
proxmox-mini-journalreader: 1.4.0
proxmox-widget-toolkit: 4.1.3
pve-cluster: 8.0.5
pve-container: 5.0.8
pve-docs: 8.1.3
pve-edk2-firmware: not correctly installed
pve-firewall: 5.0.3
pve-firmware: not correctly installed
pve-ha-manager: 4.0.3
pve-i18n: 3.1.4
pve-qemu-kvm: 8.1.2-4
pve-xtermjs: 4.16.0-3
qemu-server: 8.0.10+pve1
smartmontools: 7.3-pve1 spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0

[!NOTE] pve-firmware: is correctly installed Pin: version 3.20220526-rockchip

/etc/network/interfaces
source /etc/network/interfaces.d/* auto lo iface lo inet loopback iface enP4p65s0 inet manual iface enP3p49s0 inet manual auto vmbr0 iface vmbr0 inet static address 192.168.1.199/24 gateway 192.168.1.1 bridge-ports enP3p49s0 bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094 auto vmbr1 iface vmbr1 inet static address 192.168.1.200/24 bridge-ports enP4p65s0 bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094
jiangcuo commented 9 months ago

The configuration is fine, it may require you to check your network topology

cclngit commented 9 months ago

Yes, it's my network topology, I managed to get it work. The probleme came from the gateway, it's 192.168.1.254 instead of 192.168.1.1.