12/15/2023 0 Comments Reason for mac addresses and ip![]() I am not to be giving a tecnical statement but a "wish" statement: I, for the near term anyway, have decided against the effort because a) my web programming skills are nearly non-existent, b) I'm quite new to both OPNsense and BSD, c) I'm struggling to get a simple app in C, a language I have a good deal of familiarity with, working with the sysctl API. I have considered attempting a pull request to add the desired capability. I briefly tried using the dnsmasq service in OPNsense but found that, for reasons I don't recall at the moment, I was unable to accomplish my goal so I went back to using ISC DHCP. Assigning a single IP address to multiple MAC addresses worked flawlessly there. Prior to switching to OPNsense a few months ago I was using iptables on a Linux box for my firewall and I also had dnsmasq on the same box for all of my DHCP needs. I did not try manually adding the entries cited in the above linked article because it seems very likely that it would have undesirable, potentially disastrous, effects. In that topic you'll see that I found that ISC DHCPD can be configured ( ) to behave as I desire but that the OPNsense GUI has no accommodation for it. I sought a solution via the forum, topic=31906.0 last_msg=154253 The devices are now connecting to only the AP, possibly missing out on a better connection through the extender. I have no suitable alternative because some of the devices are very difficult to physically get to so static assignments are highly undesirable. For the time being, I have statically assigned the same IP to both interfaces but that negates a big advantage of using DHCP in the first place. I want the end device to have the same IP address whether it connects directly to the AP or to its associated extender. I want both interfaces to have the same IP as only one of them will be up at a time and having 2 IP addresses unnecessarily complicates other parts of my network operations. The extender alters the device's MAC address by replacing the first 3 bytes, thus creating the need for 2 MAC addresses to be assigned the desired IP address. A few of my home automation devices can connect to either an AP or an extender associated with it. I have a script that runs on the laptop every few minutes and shuts down the internal interface if the USB interface is present. The USB interface is preferred but may not always be inserted so the internal interface has to function in it's absence. For better performance, I have added a USB wireless interface. I have a laptop with a crappy, but functioning, internal wireless interface. I have 2 use cases for a single IP address being reserved/assigned to 2 different MAC addresses, both "belonging" to the same host/device. I am convinced that my issue is new after having checked both open and closed issues at.I have read the contributing guide lines at. ![]() Before you add a new report, we ask you kindly to acknowledge the following:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |