Convert byte to hex. Please help!

If I use just DHCP, it works. Something's wrong with mac values

The MAC values define a unique address for the shield. As long as there is only one device with a given MAC address connected to a network at one time, the actual MAC addresses do not matter.

The difference between the static IP address and the dynamic IP address is that the device that assigned the dynamic IP address knows that the device it assigned it to exists and can inform other devices.

With a static IP address, the router may, or may not, know that the Arduino exists, and is using that IP address. If it knows, you can connect to the Arduino from any other device on the LAN. It it does not know that the Arduino exists, with that IP address, it will NOT route packets to that IP address, even if it exists and is working.