I live in an apartment where Internet is provided through an AP in every room. The AP has 2 ethernet jack bridged with wireless connection. DHCP is used and the IP range is 10.36.2.0/23.
I wanted to use my Proxmox box as a router to add another layer of NAT so I run OpenWrt inside Proxmox. There are 4 ports in total on my Proxmox box provided by a single Intel i350. I created separate bridge in Proxmox for each interface, and also another one for Proxmox itself with no interface assigned and a static IP:
The setup seem to work. However, there is one serious problem that renders the entire setup useless:
The Internet would go down at random time, both on Proxmox and my laptop. Each time it lasts about a minute, then recover. After about typically 5 minutes the disconnection happens again and repeat. If I disconnect the Proxmox box from the AP, it recovers permanently.
At this time, since my laptop is connected through the Proxmox box, I decided to try to connect it directly to the AP (which actually defeats the whole purpose of using the Proxmox box since I am no longer inside the LAN of OpenWrt VM, but I just wanted to try):
And terrible thing still happens: the random disconnection is still going on. When the Proxmox box loses Internet, my laptop (remember that it currently plugs directly into the AP, not Proxmox box anymore) ALSO STILL DISCONNECTS!
This issue actually happened the first time in January. During the time until today, I tried these things:
I wanted to use my Proxmox box as a router to add another layer of NAT so I run OpenWrt inside Proxmox. There are 4 ports in total on my Proxmox box provided by a single Intel i350. I created separate bridge in Proxmox for each interface, and also another one for Proxmox itself with no interface assigned and a static IP:
The setup seem to work. However, there is one serious problem that renders the entire setup useless:
The Internet would go down at random time, both on Proxmox and my laptop. Each time it lasts about a minute, then recover. After about typically 5 minutes the disconnection happens again and repeat. If I disconnect the Proxmox box from the AP, it recovers permanently.
At this time, since my laptop is connected through the Proxmox box, I decided to try to connect it directly to the AP (which actually defeats the whole purpose of using the Proxmox box since I am no longer inside the LAN of OpenWrt VM, but I just wanted to try):
And terrible thing still happens: the random disconnection is still going on. When the Proxmox box loses Internet, my laptop (remember that it currently plugs directly into the AP, not Proxmox box anymore) ALSO STILL DISCONNECTS!
This issue actually happened the first time in January. During the time until today, I tried these things:
- Shutting down all the other VMs, only keep OpenWrt running (NOPE)
- Adjusting the LAN segment to 192.168.1.0/24 (NOPE)
- Change NIC emulate mode from VirtIO to E1000 (NOPE)
- Combining vmbr1-vmbr3 to a single bridge and use that for LAN of OpenWrt (i.e. do the bridge with Proxmox, not OpenWrt) (NOPE)
- Check the
dmesg
andsyslog
in both Proxmox and OpenWrt (ABSOLUTELY NOTHING WHEN THE DISCONNECTION HAPPENS) - Stop using Proxmox. Use a USB drive to boot the same OpenWrt image I used as VM directly on the box, and configure the interfaces to corresponding LAN and WAN to the same as in VM (SEEMS LIKE THE PROBLEM IS GONE)
Last edited: