Community discussions

MikroTik App
 
User avatar
Techsystem
Member
Member
Topic Author
Posts: 337
Joined: Tue Dec 21, 2021 5:12 am

How to show leases of only one dhcp-server?

Thu Sep 01, 2022 10:57 pm

Greeting..!
i have three ip address for three interfaces,
Eth-1:192.168.10,1/24
Eth-2:192.168.20.2/24
Eth-3:192.168.30.1/24
and each one have a DHCP in it and i want to see the devices that connected to Eth-1 only. when i open leases sub menu it give me all the devices on Eth-1 and Eth-2 and 3 so how can
i specify only interface-1 without the other..? anyone know..?
Last edited by rextended on Fri Sep 02, 2022 12:27 pm, edited 2 times in total.
Reason: Changed the title to one more appropriate
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to show leases of only one interface?

Thu Sep 01, 2022 10:59 pm

"Select a Specific DHCP Leases"???
=> "How to show leases of only one dhcp-server?"

You do not have specified if on WebFig or WinBox (i do not think you talk about termial), but is the same:
Use the filter button to display only the dhcp-server you want.
 
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 to show leases of only one interface?

Fri Sep 02, 2022 12:46 am

Rextended is half right. Yes, use the filter button, but you can't select Interface (at least not on my RB4011 running 4.49.6), but you can select many fields including: "server", "active server" or "address" and give it appropriate text to filter on.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: How to show leases of only one interface?

Fri Sep 02, 2022 12:56 am

i think you need to filter leases by server (dhcp server)
dhcp-filter.png
You do not have the required permissions to view the files attached to this post.
 
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 to show leases of only one interface?

Fri Sep 02, 2022 1:47 am

use "Post Reply"
Selecting server will give all leases (active or not) on that server, "active server" will give only active assignments.
 
User avatar
Techsystem
Member
Member
Topic Author
Posts: 337
Joined: Tue Dec 21, 2021 5:12 am

Re: How to show leases of only one interface?

Fri Sep 02, 2022 7:17 am

very thanksful for all replies here...! really appreciate the help..!
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3295
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: How to show leases of only one interface?

Fri Sep 02, 2022 10:31 am

i have three ip address for three interfaces,
If you have IP set on the interface, you are doing it the old way (it still works)
New way is to use Bridge and VLAN

If you use MikroTik App for Splunk, you can se all DHCP request back in history using see picture. For more information see my signature.
.
DHCP.png
You do not have the required permissions to view the files attached to this post.
 
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 to show leases of only one interface?

Fri Sep 02, 2022 4:28 pm

If you have IP set on the interface, you are doing it the old way (it still works)
New way is to use Bridge and VLAN
Provided you are using a bridge at all.
In my case I use my router exclusively as a router, and all switch functions are done in switches.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19125
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: How to show leases of only one dhcp-server?

Fri Sep 02, 2022 5:07 pm

Hey k666, you dont need to conserve vlans like you do water............ ;-)
So the switches do all the dhcp then?
 
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 to show leases of only one dhcp-server?

Fri Sep 02, 2022 5:32 pm

So the switches do all the dhcp then?
No, the main router (RB4011iGS+) does all DHCP, routing, and firewall functions.. But every physical interface of the router is a separate LAN or VLAN trunk. No LAN appears on more than one physical port of the router. Each router port is directly connected to one of two VLAN aware switches (CSS326-24G-2S). The switches do all the switching functions.

Hey k666, you dont need to conserve vlans like you do water............ ;-)
That I don't. I just checked, there are 18 VLANs, 2 WANs, 2 trunk ports, & 6 untagged LANs in the 4011 router (SFP port not used currently). Yea, not exactly normal for a home user!

Now with all that said, I did manage (with massive help from here) to implement a simple (all one LAN) bridge on one of my old RB750 routers and a second RB750 with a trunk port and 4 untagged ports under a bridge as a stopgap when I was running out of switch ports in the data cabinet before adding the second CSS326. I fully admit that I have never understood bridging in ROS.

Who is online

Users browsing this forum: No registered users and 13 guests