To get the best speeds the master is the best place for the modem, options
1. Keep option at modem, but run an Ethernet cable upstairs to connect to the router (maximum distance 100m)
2. More common, make sure provider orders the free data extension kit when ordering and have a data extension socket installed up to 30m from the master socket.