Community discussions

MikroTik App
 
hurymak
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Mon Oct 06, 2014 1:31 pm

1 dhcp server, 2 pools, 2 different arp modes?

Sun Aug 22, 2021 9:47 am

In mikrotik i have one bridge with all eth interfaces.
On that bridge is running dhcp server.
First default pool for guests 172.16.xxx.xxx
when someone connects and i want him to be local and not dynamic user, i manually assign to persons device mac second pool
- rang 192.168.x.x (i manually add them as static)

everything works fine, but i want:
for 172. pool i want to have arp reply only
but for 192 i still want to have arp enabled.

How to have 2 different arp modes on one bridge and on one dhcp server with 2 different pools?
(one dhcp server, giving default adress from pool 1, and if i manually set some mac, DHCP server gives from pool number 2)

Image

I want to have ARP enabled on dhcp
and ARP reply only on guests

how?
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: 1 dhcp server, 2 pools, 2 different arp modes?

Sun Aug 22, 2021 6:47 pm

You can't have two different ARP modes on the same Bridge...

What is that you want to achieve ?
In general, you can have ARP mode set to reply-only on your Bridge Interface and on your DHCP Server select add-arp-for-leases so that an ARP entry is created for every lease on your DHCP Server only...
 
hurymak
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Mon Oct 06, 2014 1:31 pm

Re: 1 dhcp server, 2 pools, 2 different arp modes?

Sun Aug 22, 2021 8:54 pm

I want to make it this way:
people on network 192.168.x.x can change manually ip address and have connection,
people on network 172.16.x.x guests - CAN NOT manually change ip address, only have ip assigned by dhcp server.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: 1 dhcp server, 2 pools, 2 different arp modes?

Sun Aug 22, 2021 9:45 pm

On your Local network let the ARP on your Bridge Interface to enabled and set your Static IP addresses as you wish...

On the ethernet interface that is used for your Guests, set ARP to reply only... On the DHCP Server used for the Guest network, enable the add arp for leases...
 
hurymak
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Mon Oct 06, 2014 1:31 pm

Re: 1 dhcp server, 2 pools, 2 different arp modes?

Sun Aug 22, 2021 11:50 pm

I want to have all eth in one bridge.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: 1 dhcp server, 2 pools, 2 different arp modes?

Mon Aug 23, 2021 8:25 pm

I want to have all eth in one bridge.
I never said anything different...
Let all your interfaces on one Bridge, set bridge ARP to enabled, but on the specific ethernet interface that your Guests are connected to set it to reply only...
Check again my previous post...
 
hurymak
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Mon Oct 06, 2014 1:31 pm

Re: 1 dhcp server, 2 pools, 2 different arp modes?

Tue Aug 24, 2021 1:20 pm

Dhcp server is on main router in one building.
Cable to another building with other routers with wifi.
No separate eth port for guests. Everything is on one bridge in main router, and cable to another and this another has wifi

Who is online

Users browsing this forum: archemist and 30 guests