How to add same client with two device same IP different MAC
-
What you want in such a case is captive portal and limit him to 1 session per login..
-
how it is possible if can't give him same IP on both devices
What is the point of this requirement? Is there a number shortage where you are? Why can't you set a static reservation for his 4 devices and be done with it?
-
Also DHCP is not suitable for access control, a client can simply override the MAC address or set a static IP to gain access.
-
@KOM:
how it is possible if can't give him same IP on both devices
What is the point of this requirement? Is there a number shortage where you are? Why can't you set a static reservation for his 4 devices and be done with it?
requirement is i don't want to allow that person to use internet on 2 devices at same time he have to use only 1 device at a time.
-
requirement is i don't want to allow that person to use internet on 2 devices at same time he have to use only 1 device at a time.
Yes, I understand that part. The question is, why? What is the problem with him using more than one device at a time? Is this a monthly capacity issue? Or is it a bandwidth issue? Or something else entirely?? Once we know the problem you're trying to solve, perhaps then we can suggest a better solution.
-
@KOM:
requirement is i don't want to allow that person to use internet on 2 devices at same time he have to use only 1 device at a time.
Yes, I understand that part. The question is, why? What is the problem with him using more than one device at a time? Is this a monthly capacity issue? Or is it a bandwidth issue? Or something else entirely?? Once we know the problem you're trying to solve, perhaps then we can suggest a better solution.
spouse someone is paying me for using my internet and payment is base on per user one mobile but some people want internet on 2 devices but they want to pay for one device and he told me they will use only one device at a time he will not use both devices at same time but how will i know is the both device are same person or different persons and they laying to me for paying me for only one device that why i want this they can't use both device at a same time
bandwidth issue and load is also a issue for this…....
-
So setup in your captive portal concurrent users.. Only 1 device per user should work unless you disable that. if he auths with 2nd device 1st device will not work.. That is like the default setting on the captive portal.
How exactly are you limiting what users access your network now - Im guess your not using captive portal at all, and just give the user the PSK to your wifi network?
-
TBH payment based on number of (wireless) devices isn't going to work. All the client needs to circumvent it is a cheap router that's able to run it's WAN in wireless client mode and spoof the MAC of one of the registered devices. You'll never get full control of that.
Base the payment per user and used bandwith, both should be doable with the captive portal.
-
Additionally, DHCP does not work that way. The second device will be given a random address from the pool since the first is in use.
-
Additionally, DHCP does not work that way. The second device will be given a random address from the pool since the first is in use.
Not just while the first device is in use. DHCP uses leases and until the lease expires, the device the IP address is assigned to "owns" that address until the lease expires. This means that even if that first device is shut off, the IP address will not be available to any other device, until the lease expires.