internet access via server

i have installed openSUSE 11. i need to access the net in two ways: sometimes by (1)directly logging on the the net via a service-provider’s server, and at other times by (2)accessing another pc (temporarily acting as a server) which has windows running on it.
How do i get this arrangement up and running?