Connect to a device without using it as internet connection

I have a device which I can connect to via LAN or WLAN. This device acts as a DHCP Server (can’t disable it). I want to connect either through LAN or WLAN to this device and route traffic to this IP Subnet. I have a working solution via WLAN (set metric to 1000 and so on):

uci set network.wan1.defaultroute='0'
uci set network.wan1.peerdns='0'
uci set network.wan1.metric='1000'
uci commit network
/etc/init.d/network restart

Then I can use this client connection without using it as internet connection. However I can’t use the WLAN of e. g. the campsite then because it says that the band is already in use.
How can I achive this?
Thanks a lot in advance!
Best, André

It’s not entirely clear what you want to achieve or what your topology is. My closest interpretation is that you want End User Devices, such as a phone or laptop, to be able to connect to the Teltonika device via wifi or lan AND you want the internet connection to use the campsite wifi instead of your SIM data allowance.

If this is the case, then consider the use of a Multi AP. See the latest .pdf version of setting up ‘WiFi as WAN using Multi AP’ at my Dropbox here.

Not sure if it matters, but probably best to reset network.wan1.xxxxx settings back to how they were originally, before you implement the Multi AP instructions.

If my interpretation is wrong, then I think you’ll benefirt from more accurate answers if you posted a drawing of you network topology.

Sorry that it has been unclear. I try to clarify: I have a Garmin SERV 7 which together with a Garmin WDU manages the smart motorhome. They are connected via LAN. One of them acts as a DHCP Server and connects to Victron Cerbo GX, again via LAN. I can connect to them via LAN (but no DHCP Server must be active then in this LAN). I can connect them via WLAN to the Teltonika router, then if I connect to the Garmin via WLAN they route the internet via static route through the Teltonika router. Now I want to connect the Teltonika router to the Garmin network - either via LAN or WLAN, but not use this connection as internet connection - I just need this connection to manage the Garmin devices via VPN.
And the router should connect to a campsite network.

Garmin —-> Teltonika —-> SIM Internet
Garmin —> Teltonika —> Campsite Internet through WLAN
Garmin <— Teltonika to enable remote management of the Garmin system

I hope this clarifies what I want to achieve?

Greetings, anli,

Thank you for your question.

To better understand your use case, could you please provide a network scheme or topology? This will help me clearly visualize your setup and, if needed, replicate it on my end to offer accurate guidance on how to configure it.

Please refrain from posting any private or sensitive information. If your setup involves multiple networks, you can simply label them as “Network1,” “Network2,” and so on. You can attach a picture of it as a response to this message.

Once I have the complete topology, I’ll be able to assist you further.

So that we can explore your use case in more detail and discuss the specifics together. I have sent you a form to fill out, which you will receive in your e-mail inbox that you have registered your account with in the forums. In the Ticket ID field of the form, please enter the ID of this thread, which is 16122.

Looking forward to your response.

Kind regards,
V.

Hello Vilius, thanks a lot for stepping in and helping me with that. Please see the attached image for the network topology. I hope everything is clear with the image?
Thanks a lot for your help in advance! Best, André

Greetings, anli,

Thank you for sharing the topology.

We are currently reviewing your question in detail, and I will update you as soon as we have a clear answer and a configuration guide prepared.

Thank you for your patience - it is greatly appreciated.

Best wishes,
V.

This topic was automatically closed after 60 days. New replies are no longer allowed.