The modem should be plugged into the "UP LINK" port on the switch.
Computers should be plugged into the ports 1-6.
Then he'll need to check the network settings on the XP machine. You/he can follow the instructions here:
https://www.microsoft.com/windowsxp/...ussel_hni.mspx