What method are you using to share your internet through the mac?
I'm assuming you might have some internet sharing software/thing running, giving out dhcp (private addresses). Did You need to configure your XP box in any way to make it see the connection?
If not, it probably picked up an ip and gateway by dhcp. If that is the case, a simple dhcpcd eth0 should get you on your way.