Community discussions

MikroTik App
 
follyfarmer
just joined
Topic Author
Posts: 5
Joined: Sat Dec 23, 2017 6:03 am

how to display lan addresses

Tue Jun 07, 2022 8:18 am

I have consulted the wiki but didn't see a simple way to display local lan ip address. A reference please.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11452
Joined: Thu Mar 03, 2016 10:23 pm

Re: how to display lan addresses

Tue Jun 07, 2022 8:29 am

In routing world, there is no such thing as "local lan ip address". There are only interface addresses and routes. And they are all treated the same way (according to particular settings that is).

So if you try to explain (in plain English) what exactly you would like to see/achieve, we might be able to help you.
 
follyfarmer
just joined
Topic Author
Posts: 5
Joined: Sat Dec 23, 2017 6:03 am

Re: how to display lan addresses

Tue Jun 07, 2022 10:07 am

Thank you for taking the time to reply.
I have a laptop and a VOIP phone connected to a Mikrotik Router and I wish to log in to the phones GUI from the laptop but cant find the phones address.
I have Linux installed on the laptop.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10197
Joined: Mon Jun 08, 2015 12:09 pm

Re: how to display lan addresses

Tue Jun 07, 2022 10:42 am

That topic recently came up. RouterOS has less features for this than the typical modern home router.
You can look under "IP->DHCP server" and then go to the "Leases" tab.
Hopefully you recognize your devices by columns like "Active host name" or "MAC address", if not you can restart them and see which entry changes "Expires after" time.
When you have located the correct line, you can find the IP address there.
 
User avatar
Buckeye
Forum Veteran
Forum Veteran
Posts: 890
Joined: Tue Sep 11, 2018 2:03 am
Location: Ohio, USA

Re: how to display lan addresses

Tue Jun 07, 2022 10:49 am

Thank you for taking the time to reply.
I have a laptop and a VOIP phone connected to a Mikrotik Router and I wish to log in to the phones GUI from the laptop but cant find the phones address.
I have Linux installed on the laptop.
Well how is the VoIP phone getting its address? Via dhcp? If so, asking the dhcp server for the current leases is a hint, but just because there is a valid lease doesn't necessarily mean the device is online (powered on).

here are some hints

/ip address print
/tool ip-scan address-range=<network/mask> interface=<interface>
/ip arp print
/ip dhcp-server lease print
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: how to display lan addresses

Tue Jun 07, 2022 11:50 am

Usually on VoIP phones, current IP is correctly visible on system menu, directly on the phone...
 
follyfarmer
just joined
Topic Author
Posts: 5
Joined: Sat Dec 23, 2017 6:03 am

Re: how to display lan addresses

Tue Jun 07, 2022 2:42 pm

That topic recently came up. RouterOS has less features for this than the typical modern home router.
You can look under "IP->DHCP server" and then go to the "Leases" tab.
Hopefully you recognize your devices by columns like "Active host name" or "MAC address", if not you can restart them and see which entry changes "Expires after" time.
When you have located the correct line, you can find the IP address there.
Yes! Thank you and thanks to all who responded

Who is online

Users browsing this forum: No registered users and 19 guests