What does an ps3 Ethernet cable connect to?

If you have a router the ethernet cable connects to it. If you have another item like a PC connected to a modem you could disconnect the ethernet cable from it and plug in the PS3 until you purchase a router.