I am developing an application in which it is very important that I can know the mac address of the client hitting the server.
- Clients are connected to
wifi router (W).
wifi routers (W)are connected to a
server (SE)is connected to the
switch (SW)which acts as internet gateway for all the
wifi routers (W).
- The application I am developing is hosted on the
After multiple clients have made the requests, I check
arp -a to get the mac address.
What I want is, in
arp cache each client IP should be associated with its mac address.
I know that client mac doesn't survive the routing. But is there any way that I can configure the router such that mac address survives the routing?