Hi to all,
I'm trying to configure an advanced setup for my network:
I've a mikrotik router (v 6) with different networks, one for interface (at the moment I've 5 different networks/interfaces for the lan).
The mikrotik is the router and also the dhcp server in all this networks.
Two of this network (10.1.x.x and 10.4.x.x) are configured to have static ip from the dhcp.
The two networks are distributed using different vlan in the switches, so they communicate only thought the router.
I've created two dhcp-servers (one for interface), and have added the static leases (using the mac address).
The dhcp server works, and assign the address in this two network, but I've found a problem:
I've some client (notebook) that can be attached to all the two different network, and they should have the right ip in the right network (10.4.x.x or 10.1.x.x)
I've inserted the lease for that client two time (with the different ip), but trying on the network, all the two dhcp servers assign the same ip address to the client in the two network (it's always 10.4.x.x, even under the 10.1.x.x interface) and in this way the client doesn't work under the 10.1.x.x network.
When I've created the leases, I've setted the "server" attribute to the corresponding dhcp server, because I was thinking that setting would restrict my static lease to that dhcp-server only, but reading the documentation, I see that it's a read-only parameter.
I need to make the choose the address for this computers, because I've made some firewall rules and network application that relay on a specific ip on many of that computer. So I couldn't use a pool and a random ip from that pool for this computers.
There's a way I could insert a static lease that it's valid only in one dhcp server?
Other similar setup that I can use?
At the moment I haven't access to the router, but if you need, tomorrow I can post (a part of) the dhcp setup.
Many thanks
Regards
Daniele