OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: lGregl on June 11, 2020, 12:44:41 pm

Title: Robot vacuum cleaner changing ip address
Post by: lGregl on June 11, 2020, 12:44:41 pm
Hi,
I have a problem, which probably has an easy answer.
I have a robot vacuum cleaner, that connects on ip address over wifi on floor 1 through the local ap1 on 10.0.0.x

When it's taken upstairs it connects via ap2 which is on 10.0.1.x

It's controlled via  a server on 10.0.0.y

I've created a unbound override robotvacuum.home however this only points to 1 ip address. How can I get it to automatically switch over to the other one?

Thanks
Title: Re: Robot vacuum cleaner changing ip address
Post by: Steve28 on June 11, 2020, 03:50:09 pm
I’m a little confused...So when downstairs you want it to get an IP address in the 10.0.0.x network and when upstairs you want it to get an IP in the 10.0.1.x network?

If you have a fixed DHCP lease set up for the vacuum, then I don’t know if this is possible.  Does the vacuum need to have a fixed IP address? 
Title: Re: Robot vacuum cleaner changing ip address
Post by: lGregl on June 11, 2020, 07:18:36 pm
Sorry  :-[

I've probably not been clear, I have the opnsense router in the loft, with a 4 port nic.

This connects directly to a unifi AP with 2 other vlans.

My lan connects to another port on the card through an unmanaged switch down to the downstairs AP (doesn't pass vlan tokens).

The easiest solution would be to use a managed switch so that the 2 AP's are on the same lan. However I haven't got one at the moment.

I was wondering if there was some sort of dnsmasq system that could update the ip address listed by mac address.

The vacuum is directed via an automation which requires it's ip/domain
Title: Re: Robot vacuum cleaner changing ip address
Post by: Steve28 on June 12, 2020, 03:43:34 pm
I think you need a managed switch.  Ubiquity sells a 5-port one for $25 US, and you can get a a few around that price on amazon a well...