A gateway connects a modem and router but doesn’t serve as a digital translator. On the other hand, a modem is an appliance that translates digital signals to the analog format needed for DSL and cable internet connections.