I have my Bambu X1C in a separate VLAN/subnet, dedicated for all Internet of Things devices. It is on purpose, to separate my computers from devices like printers, smart TVs, etc. However in this setup my printer is not discovered by Bambu Studio on my computer (no surprise).
Is there a way to define printer IP address in Bambu Studio, as LAN discovery will obviously not work between separated networks? or what other solution can I use? maybe like proxying mDNS protocol or something to make inter-vlan discovery possible?
Note: I have proper routing and full connectivity between both subnets. Connectivity is not my issue. Just discovery is not working.
I wish there was this option to put an IP, but not right now. Bambu Lab does networking through their ridiculous encrypted networking plugin. Instead you can enable SSDP multicast/broadcast across the two networks in the router for the discovery to work. Itās UDP 1990/2021
If they would add possibility to specify local printer IP in Bambu Studio that would be the best and would solve all connectivity issues. So simple to do anyways. Iām so disappointed that it is not an option yet - obviously not all LANs are simple one VLAN / broadcast domain setup.
I have my Bambu P1S on a IOT VLAN using Unifi equipment. I have a firewall rule which allows my default network to speak with my IOT without restriction (one way). No issues finding it. However my live video feed is choppy at best⦠Not sure if thats just the way it is or due to VLAN rules.
I have my P1S on an IoT VLAN with same rule as you (default can speak to IoT). Discovery of other services work fine (printer, scanner, a few shelly devices, all on my IoT VLAN). But I canāt see my P1S from bambu studio or orca. I also use a completly unifi network with mDNS forwarding on (they now call it IoT Discovery)ā¦
so basically you have the same setup as I do, and yours works and mine doesnāt I will try adding a rule about allowing LAN to IoT, but I think that works by default - for example I can ping the P1S on my IoT VLAN from the default LAN.
I was also struggling with this problem, bambustudio/orcaslicer didnt connect to P1S.
my linux machine is in LAN vlan and P1S in IOT vlan. strange is that windows machine in same vlan than linux worked without any configuration changes. also linux machine works in same (IOT) vlan worked.
I have opnsense so its bit differentā¦
but this is what I did if it helps someone:
I added in to Opnsenses services UDP Broadcast Relay
Relay port: 2021, interfaces: IOT, LAN, Broadcast address:239.255.255.250
source address: P1S ip address.
Hey guys, I have developed a solution for this problem.
With the help of many solutions and scripts from other forums, I have written a program which offers a kind of workaround.
I am relatively new to 3D printing myself, but I have encountered this problem before at our company.
The program I was referring to is available on GitHub:
Rdiger-36/StudioBridge
Had the same issue, only I use pfSense instead of OPNSense, but the āUDP Broadcast Relayā package is available in pfSensesās package manager as well. Iāve further disabled any sort of WAN access to the P1S and also restricted Bambu Studio to my IOT vlan only, so the setup is quite āofflineā, or rather fully local, yet everything else works like a charm and I really have no need for the ācloudā operation whatsoeverā¦
So the issue is that the printer communicates via UDP broadcast?
I have a similar setup, only that my router is a self-built OpenBSD box. I have the printer in my IOT vlan, and my laptop is in my āPrivateā vlan. I donāt see any printer in the dropdown, and when I choose to āBind with access codeā, after putting in the IP address, code & serial number, the dialog just closes, and nothing happens.
How is this supposed to work? Should the printer be auto-discovered without the need to manually specify IP & code?
My laptop is running Ubuntu 24.04, if that would be important.
Havenāt yet tried with the laptop being in the same vlan. Gonna try out later. I really would like to use the printer without the cloud.
I presume you already have your computer(s) and your printer on different VLANs and you just want the printer to broadcast to a computer running Bambu Studio / Orca Slicer / whatever so that itās discoverable.
I donāt remember exactly if these were exactly the same steps I did, but I presume it will get you somewhere
Go to System / Package Manager / Available Packages, search for udpbroadcastrelay and install it.
Go to Services / UDP Broadcast Relay and click on + Add
Give it some descriptive name, under Network Interfaces select your your printerās VLAN and VLAN(s) you want it to be ādiscoverableā on
For Destination UDP port to listen on enter 2021
Donāt forget to enable the instance at the top, and enable the UDP Broadcast Relay on its main page as well
That will effectively ābridgeā your VLANs (or other interfaces if selected) for any UDP broadcast packages on port 2021, which is what your printer uses to announce its presence and thatās how Bambu Studio or Orca Slicer automagically find it (should start showing immediately under the printer selection on the Devices tab).
Keep in mind that you still need to make sure that your computer(s) VLAN can access the VLAN where your printer resides on, or at least your printerās IP (i.e., create a Firewall rule for your computer(s) VLAN - Action: Pass, Protocol: Any, Source: <Computer_VLAN> subnets (or a specific computer on it), Destination: <Printer_VLAN> subnets (or a specific IP of your printer) and place it above any rule that might block your computerās access to other subnets (or anything else for that matter)). You do not need to add any extra provisions for the VLAN on which your printer(s) reside.
Another thing to note - if youāre running a local firewall on your computers, make sure that you let in UDP broadcast traffic coming from your printerās VLAN (or IP), otherwise it will still not show up in the Devices tab.
When the whole chain is set up properly, you will not even need to enter your printerās IP or anything of the sort - it will show up in Bambu Studio / Orca Slicer and all you will need to do is enter the Access Code (which youāll be able to see when you set your printer to a LAN-only mode).
The printer uses UDP broadcast to announce its presence to the other devices on its network, thatās how Bambu Studio āfindsā it. I havenāt attempted it, but AFAIK itās not mandatory - as long as your computer can access your printerās VLAN you ought to be able to manually add your printer and use the access code just fine. Can you at least ping your printer from your computer?