D
Deleted member 91648
Guest
Hello everyone!
As my internet connection is pretty bad, I've bought a 4G router I use to get decent internet speed (Aircard 785S). This router is connected to Proxmox via USB and is detected both as a USB device and a network device (Under the name `enx...`).
I use a pfSense VM in Proxmox to offer this connection to my LAN.
First, I tried sharing my Aircard to pfSense through a USB Device in Proxmox. However, the Aircard seems to sometimes (Around one time per day) reset the USB connection for half a second. Whenever this happened, my pfSense which doesn't support interface hotplug simply crashed.
I asked Reddit for help (https://www.reddit.com/r/PFSENSE/comments/fwhrnf/pfsense_crashes_on_interface_change/) and was advised to share the Aircard through a network bridge instead of a USB device, which makes a lot of sense.
I created a Linux Bridge in Proxmox, linked to `enx...` and added it to my VM. This works perfectly and fixed the crashes in my VM whenever the Aircard reset itself.
However, when the USB connection is reset, the Proxmox interface (`enx...`) goes from `Active: yes` to `Active: no` and never goes back to `Active: yes` despite the router being available shortly after. This makes pfSense unable to renew the IP using DHCP or communicate with the Aircard once this happened and I loose my internet access.
The only working way I found to fix this issue is to reboot the Proxmox host, which is a pain as I have to shutdown all my VMs.
I've tried SSH'ing into my Proxmox host and running `ip link set enx... up`: the interface does show up as `Active: yes` in Proxmox but still doesn't work, even after rebooting the VM. I also tried to restart the Linux bridge linked to the interface without success.
I'm looking for any way that would allow me not to have to reboot my host every day.
Thank you for any help you might provide.
As my internet connection is pretty bad, I've bought a 4G router I use to get decent internet speed (Aircard 785S). This router is connected to Proxmox via USB and is detected both as a USB device and a network device (Under the name `enx...`).
I use a pfSense VM in Proxmox to offer this connection to my LAN.
First, I tried sharing my Aircard to pfSense through a USB Device in Proxmox. However, the Aircard seems to sometimes (Around one time per day) reset the USB connection for half a second. Whenever this happened, my pfSense which doesn't support interface hotplug simply crashed.
I asked Reddit for help (https://www.reddit.com/r/PFSENSE/comments/fwhrnf/pfsense_crashes_on_interface_change/) and was advised to share the Aircard through a network bridge instead of a USB device, which makes a lot of sense.
I created a Linux Bridge in Proxmox, linked to `enx...` and added it to my VM. This works perfectly and fixed the crashes in my VM whenever the Aircard reset itself.
However, when the USB connection is reset, the Proxmox interface (`enx...`) goes from `Active: yes` to `Active: no` and never goes back to `Active: yes` despite the router being available shortly after. This makes pfSense unable to renew the IP using DHCP or communicate with the Aircard once this happened and I loose my internet access.
The only working way I found to fix this issue is to reboot the Proxmox host, which is a pain as I have to shutdown all my VMs.
I've tried SSH'ing into my Proxmox host and running `ip link set enx... up`: the interface does show up as `Active: yes` in Proxmox but still doesn't work, even after rebooting the VM. I also tried to restart the Linux bridge linked to the interface without success.
I'm looking for any way that would allow me not to have to reboot my host every day.
Thank you for any help you might provide.