Community discussions

MikroTik App
 
newtonetworking1
just joined
Topic Author
Posts: 2
Joined: Mon Apr 11, 2022 3:34 am

How do I identify IPs on my network? And another Q

Wed Sep 07, 2022 6:22 am

When I do this:

/ip dhcp-server lease
print

I get a list of 5 IPs. Two of the 5 I can identify because it tells me what they are. The other three, I tried to look up by MAC address but nothing comes up. How do I figure out what these devices are?

Also, is there a way for me to program the WiFi to turn off at like 10pm and then auto-turn back on at 7am?

Thank you!!
 
User avatar
Buckeye
Forum Veteran
Forum Veteran
Posts: 886
Joined: Tue Sep 11, 2018 2:03 am
Location: Ohio, USA

Re: How do I identify IPs on my network? And another Q

Wed Sep 07, 2022 6:35 am

Could be iphones with randomized mac addresses.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: How do I identify IPs on my network? And another Q

Wed Sep 07, 2022 7:30 am

some android versions also supports random MAC
 
User avatar
Buckeye
Forum Veteran
Forum Veteran
Posts: 886
Joined: Tue Sep 11, 2018 2:03 am
Location: Ohio, USA

Re: How do I identify IPs on my network? And another Q

Wed Sep 07, 2022 7:39 am

Also, is there a way for me to program the WiFi to turn off at like 10pm and then auto-turn back on at 7am?
The sooner you learn to use google, the quicker you will be able to get nearly immediate answers.

Try google search for mikrotik schedule wifi off
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How do I identify IPs on my network? And another Q

Wed Sep 07, 2022 4:06 pm

you can search on gogole the first 3 HEX value on MAC address for know the manufacturer.
For example 00:0C:48:xx:xx:xx is MikroTik.

If the 2nd number of the first hex value IS NOT 0, 4, 8 or C (or "c") the MAC is a random address.
viewtopic.php?t=188780#p954029
 
User avatar
k6ccc
Forum Guru
Forum Guru
Posts: 1490
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)
Contact:

Re: How do I identify IPs on my network? And another Q

Wed Sep 07, 2022 10:39 pm

And you can essentially force people to turn off the random feature by giving the known devices a DHCP reservation (Mikrotik calls that static), and the random macs get a pool address. Then massively limit what the pool addresses can do. Lots of different limits you can do.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How do I identify IPs on my network? And another Q

Wed Sep 07, 2022 10:56 pm

You can use this example inside DHCP lease script for do nasty things to device with randomized IP.
For example, just for that device display hotspot captive portal with instruction on how "disable that fu— s–t"
:if ($leaseBound = "1") do={
    :if ([:tostr $leaseActMAC]~"^[0-9A-Fa-f][048Cc]") do={
        # True or well forged, skip captive portal and other frills
        /ip hotspot ip-binding
        :if ([:len [find where mac-address=$leaseActMAC]] = 0) do={
            add mac-address=$leaseActMAC type=bypassed
        }
    } else={
        # Random, do not skip anything
    }
}

Who is online

Users browsing this forum: Google [Bot] and 37 guests