Difference between Modem and Router

Difference between Modem and Router

It is very important to know the difference between the router and the modem because if there any problem occur in your internet connection, then you will have to troubleshoot and for doing so it is necessary to know the difference between router and modem. Nowadays there are so many advanced routers that do the work of wifi, switch, modem etc. due to which people think that modem and router are the same thing.

What is a Modem?

The term modem is a short word of the terms “modulation” and “demodulation”. Modulation and demodulation is a process in which signals traveling across multiple networks are converted into different forms according to requirement. The modem is a hardware device which helps to router, switches and other devices to connect to the internet. Computers don’t understand an analog signals so Modem converts an analog signal to digital signal via telephone or cable wire. Similarly, it converts the digital signal coming from a computer to analog signal.

Apart from modulation and demodulation it also corrects errors, compress the data and controls the flow of information.

How does Modem work

Suppose you have connected your computer with ISP (internet service provider) using a normal phone line. Now you will need a modem so that it can modulate the digital signal and your computer’s signals will be able to travel down the phone line. Once the signals reach the other side, the signals must pass through another modem to convert the analog signal back into the digital signal so the ISP computer can understand them and send back the informations. The Modem works as both modulator and demodulator. When you send a signal from your computer, it converts that digital signal into analog. While receiving the signals that your computer receives comes in a analog form it converts the signal into digital.

What is a router?

The Router is a networking device that receives, analysing, and forwarding data packets among the connected computer networks. When your router receives the data it calculates the best route to send the data and sends the data using the same route. Most of the router also performs NAT (network address translation) in which it protects the private IP addresses of a LAN (local area network) readdressing all outgoing traffic with a single shared public IP address.

There are five types of the router:

  1. Edge Routers
  2. Virtual routers
  3. Core routers
  4. Virtual routers

How does router work

A router checks the destination IP address of a packet header and compares it with a routing table to decide the best next path for the packet. The Router works as a distributor that distributes the internet connection from your modem to all of your devices, such as mobile phones, laptops etc. It connects the multiple networks together and transfers the data packets from one network to another network. When a router fails to specify the best way to send the data packets then it uses a default route to send the data packets.