Hello all
I am getting IP from DHCP server on a fiber link . I dont have static IP , I want to give IP to my clients from the same DHCP server but after mac filtering.It mean if users mac is in the router then user get IP if not then user dont get IP .
Thank in advance
Use DHCP server with only static IP and add static Lease for each MAC.
I dont wanna give static IP to users
You can create mac filtering, block all mac except admitted one.
You must create one rule for mac.
/ip firewall filter
action=accept chain=forward in-interface=from-the-users src-mac=00:11:22:33:44:55
action=drop chain=forward in-interface=from-the-users
or you also can use
/bridge filters
for do the the same thing described above, but in this case you probably want use switching instead of bridging.
what is the difference in both the method ?
In IP firewall my clients get IP from the DHCP server from where I am getting IP ?
How many mac a miktrotik router can learn at a time ?
-
The first are faster.
-
I do not understand this question, sorry.
-
I think virtually are no limit.
for the second question
I have mention in earlier post that I am getting IP from a dhcp server . I want that my clients also get IP from same dhcp server .
I have also search this website pl see this
http://demo.mt.lv/webfig/#Bridge.Filters.new
You can put on bridge your ether WAN and the ether used to other client,
enable “use ip firewall” on bridge
and use firewall filter to select what MAC are allowed or not*** from client ether to wan etehr.
*** default all must be dropped, you must add manually each mac allowed.
is it possible that a router read all mac at first automatically
U have tried but failed , can you pl show me through some images