The laptop is obviously having problems getting address from the dhcp server (you have such configured, right?).
If it's supposed to be private ip it gets, perhaps reinstall tcpip-stack, if it's supposed to be public address, try connecting the laptop to the same cable as the desktop is connected.