Hi there,
I have a 4G/LTE usb dongle, a Huawei E3372s-153, that has been absolutely driving me up the wall that I want to use as a failover device for a pfSense VM I am running within my Proxmox host. I've had less than no luck passing it directly to the VM, but after HOURS of trying various different ways of connecting it and mode switching, I've finally managed to get it so that it is at least connected and working as an MBIM device on the Proxmox host itself.
What I would like to do is somehow create a bridge that I can assign to the pfSense VM so that it can assign it as an interface and use it as part of a failover grouping. I understand how to create bridges and associated them with interfaces but unfortunately, I think due to the dodgy way the device "fakes" being an ethernet device, as soon as you attach it to a bridge, both it and the bridge stop working and the device isn't capable of a true/traditional linux bridge.
I've tried to follow countless articles on various ways of routing data to this device in a way that I could then expose to the VM but due to my basic knowledge of networking, I haven't managed to get any to succeed. Most articles I have followed have been concerning bridging WLAN rather than an MBIM sourced connection to another physical interface and I think this is where I am falling over. I essentially need a bridge that somehow auto routes any traffic to it through the MBIM interface. Hopefully that makes sense! I would be beyond grateful for any help as I have no wasted 10s of hours trying to get this thing to work and am starting to go slightly insane!
Here is my current interfaces setup:
Here is the ifconfig for the MBIM:
And here it is allowing me to successfully grab the public ip:
Even the simplest, worst advised thing that could make this work would be amazing, it's just a hobby box really!
Thanks so much!
I have a 4G/LTE usb dongle, a Huawei E3372s-153, that has been absolutely driving me up the wall that I want to use as a failover device for a pfSense VM I am running within my Proxmox host. I've had less than no luck passing it directly to the VM, but after HOURS of trying various different ways of connecting it and mode switching, I've finally managed to get it so that it is at least connected and working as an MBIM device on the Proxmox host itself.
What I would like to do is somehow create a bridge that I can assign to the pfSense VM so that it can assign it as an interface and use it as part of a failover grouping. I understand how to create bridges and associated them with interfaces but unfortunately, I think due to the dodgy way the device "fakes" being an ethernet device, as soon as you attach it to a bridge, both it and the bridge stop working and the device isn't capable of a true/traditional linux bridge.
I've tried to follow countless articles on various ways of routing data to this device in a way that I could then expose to the VM but due to my basic knowledge of networking, I haven't managed to get any to succeed. Most articles I have followed have been concerning bridging WLAN rather than an MBIM sourced connection to another physical interface and I think this is where I am falling over. I essentially need a bridge that somehow auto routes any traffic to it through the MBIM interface. Hopefully that makes sense! I would be beyond grateful for any help as I have no wasted 10s of hours trying to get this thing to work and am starting to go slightly insane!
Here is my current interfaces setup:
Bash:
auto lo
iface lo inet loopback
# main ethernet
allow-hotplug enp0s31f6
iface enp0s31f6 inet manual
# mbim interface for huawei 4g modem
iface wwp0s20f0u12c2 inet manual
# vlan 10 interface for accessing proxmox web ui
auto vmbr0.10
iface vmbr0.10 inet static
address 192.168.1.101/24
gateway 192.168.1.1
# main bridge to pass through to pfsense vm
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp0s31f6
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
Here is the ifconfig for the MBIM:
Bash:
wwp0s20f0u12c2: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST> mtu 1500
inet xx.xx.xx.54 netmask 255.255.255.252 broadcast xx.xx.xx.55
inet6 xxxx::xxxx:xxxx:xxxx:8935 prefixlen 64 scopeid 0x20<link>
ether 9e:de:18:5e:89:35 txqueuelen 1000 (Ethernet)
RX packets 212 bytes 40420 (39.4 KiB)
RX errors 788 dropped 0 overruns 0 frame 0
TX packets 362 bytes 35444 (34.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
And here it is allowing me to successfully grab the public ip:
Bash:
curl --interface wwp0s20f0u12c2 http://checkip.dyndns.com/
<html><head><title>Current IP Check</title></head><body>Current IP Address: xxx.xxx.xxx.238</body></html>
Even the simplest, worst advised thing that could make this work would be amazing, it's just a hobby box really!
Thanks so much!