Another option is to run Ethernet cables through the walls of your office to the chosen central location for the router. To solve the 'long-distance' problem when connecting a router, you can use a CAT5e or CAT6 cable to connect the router to the ISP gateway's Ethernet port. Step 2: Connect to the Internet Attach the router to a cable - or choose a mesh router