It's not possible to do this as with certain ISPs that assign dynamic IPs or inside large buildings that have multiple outgoing IPs, one user can have a different IP for different requests made at the same time.
There is no way the server would know the mac address of the client unless the browser stores and shares that information. This is not how currently implemented networking protocols work.