There is no relationship between a MAC address and IP Address on a network until a Router/PC builds an ARP lookup table to map the two. Therefore to find out what has been assigned to a particular MAC Address, you would need to read the ARP table and enumerate though that. This is not a few lines of code.....
Announcement
Collapse
No announcement yet.
Controlling Device with Dynamic IP Address
Collapse
X
-
Originally posted by donstephens View PostWow, this is really going off the rails.
This project started as an exercise to test my programming skills. I was hoping for a way to track a dynamic IP via some programming method.
Thanks for the input.
Comment
-
Originally posted by donstephens View PostWow, this is really going off the rails.
This project started as an exercise to test my programming skills. I was hoping for a way to track a dynamic IP via some programming method.
Thanks for the input.
That being said, if the goal is a programming exercise, i can definitely see the value in that. So next question is, do you have any ideas how you're hoping to code this? ie. as a vb script that runs from a HS event, or as an external script written in either vb or perhaps python or something else?
- Likes 1
Comment
-
Originally posted by paul View Post
Ahhhh.... ok. I think the issue here is clarity of question. You didn't say in your question that you want to do this as programming exercise, you asked how people are coping with the problem. Most people cope with it by using a DHCP reservation instead of getting into scripting.
That being said, if the goal is a programming exercise, i can definitely see the value in that. So next question is, do you have any ideas how you're hoping to code this? ie. as a vb script that runs from a HS event, or as an external script written in either vb or perhaps python or something else?Don
Comment
-
Don,
You seem to be avoiding all the advice people are giving you. Trying to use a MAC Address to obtain its IP Address is a lot of coding work. Is there a reason why you can't fix your ROKU's MAC Addresses to fixed IP Addresses using your router's IP reservation methods? It really is the most sensible thing to do.
Comment
-
Originally posted by jon00 View PostDon,
You seem to be avoiding all the advice people are giving you. Trying to use a MAC Address to obtain its IP Address is a lot of coding work. Is there a reason why you can't fix your ROKU's MAC Addresses to fixed IP Addresses using your router's IP reservation methods? It really is the most sensible thing to do.
Thank you all for the advice.Don
Comment
-
To disable private WiFi Address on a per network basis, do the following:
1. Tap on Settings
2. Tap on Wi-Fi
3. On the right side of the current network or below it in "My Networks", tap the blue "I".
4. Scroll down to "Private Wi-Fi Address" and tap the switch to disable it.
5. You should see your device's "real" MAC Address next to "Wi-Fi Address" when disabled."if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)
Comment
-
Originally posted by vasrc View PostSelectable by network, what a concept
Probably why they put the selection in each individual network, Duh....
Thanks"if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)
Comment
-
Originally posted by kenm View Post
From a discussion I had with an Apple IT guy, it came out of the BYOD trend. The first line of defense in an IDS/IPS is MAC filtering. Granted, not very secure but also very easy to implement. Unrecognized MACs get ignored.
Thanks for the Apple pointer..
Comment
Comment