Simplest way would be two Ethernet cards and a crossed Ethernet cable - then run Network Wizard on XP machine. Apart from setting up its own configuration, the wizard also gives you the opportunity to create a network disk to run on the Win 98 machine so that one gets set up automatically too.
HTH