Spliting IPs over same network

Ashik_2

Commendable
Dec 14, 2016
17
0
1,510
Hello all,

Actually i am trying to do is , i want my IP splitted one half for static IP connection which uses DHCP client on the client end not so hardcoded. And another one is Dynamic IP.

for example:

10.10.10.0 is my network
10.10.10.1 is my router's address
Now form 10.10.10.40 to 10.10.10.190 i need static IP
How can i split my IPs like this? I am using Mikrotik OS 6+ V
 
Solution
Super-simple.

When configuring your DHCP server, you tell it, LEASE RANGE 10.10.10.2 - 10.10.10.39 AND 10.10.10.191 - 10.10.10.254. (2 because infrastructure equipment like a router should always use static, and 254 because 255 is broadcast address).

Anything outside those 2 ranges then are assume to be static, and not available for leasing as dynamic.

There are 2 ways to do static.

1. Hardcode on each client requiring static.

2. Tell DHCP server, THIS MAC USES THIS STATIC IP. You gotta do each one, but everything is in one place and you don't have to disturb client. As far as these clients are concerned they are doing dynamic except they get the same IP each time. This method provides better control for sysadmin.
Super-simple.

When configuring your DHCP server, you tell it, LEASE RANGE 10.10.10.2 - 10.10.10.39 AND 10.10.10.191 - 10.10.10.254. (2 because infrastructure equipment like a router should always use static, and 254 because 255 is broadcast address).

Anything outside those 2 ranges then are assume to be static, and not available for leasing as dynamic.

There are 2 ways to do static.

1. Hardcode on each client requiring static.

2. Tell DHCP server, THIS MAC USES THIS STATIC IP. You gotta do each one, but everything is in one place and you don't have to disturb client. As far as these clients are concerned they are doing dynamic except they get the same IP each time. This method provides better control for sysadmin.
 
Solution