Why do you have a switch and a hub? You really should have a router. If you just have a dumb hub you may need to pay for another IP address. If you have a router there is no need, you can hook up as many computers as there are ports (more if you connect hubs/switches to the router).
Can you tell us what model of switch you have? Maybe it can act as a router.
All of the above refers to getting them both on the internet at once, if you want to share files between the two somone else will have to help you with that.
I believe that one of your platforms will need to be running a server version (i.e., Win2K Server or OSX Server) in order to get any cross-platform connectivity. I have a Win2K Server PC that my Macs can access, but with OS9 the PCs can’t access files on the Macs.
No experience with OSX so I can’t offer any specific help on that end. But you can try searching on MacWindows and see if they can offer any specifics in setting up your network.
I’d recommend you dump the switch (which isn’t really necessary), plug a second ethernet card into the mac and use the mac as a gateway to the internet (Helpful Tutorial ).
So basically it’d be set up like this:
Mac:
ethernet1: hub
ethernet2: cable modem
PC:
ethernet1: hub
This will let you configure a firewall, and also let you assign IP addresses on your local network. Then you can simply FTP files within the network.
Check out THIS tutorial on other ways (besides running FTP, etc) to get Mac and PC talking to one another.