Questions

What is the difference between a switch and a Router

Tags:
+
1 Votes
Locked

What is the difference between a switch and a Router

Gopal Saini
Im liitle confused abt router and switch. Will anybody tell me the brief reason for difference in between Switch and in Router.
  • +
    1 Votes
    connectpc

    A router acts as a junction between two or more networks to buffer and transfer data packets among them. A router is different from a switch and a hub: a router is working on layer 3 of OSI model, a switch on layer 2 and a hub on layer 1. This makes them work for different situations: a switch connects devices to form a Local area network (LAN) (which might, in turn, be connected to another network via a router).

    One easy illustration for the different functions of routers and switches is to think of switches as neighborhood streets, and the router as the intersections with the street signs. Each house on the street has an address within a range on the block. In the same way, a switch connects various devices each with their own IP address(es) on a LAN. However, the switch knows nothing about IP addresses except its own management address. Routers connect networks together the way that on-ramps or major intersections connect streets to both highways and freeways, etc. The street signs at the intersection (routing table) show which way the packets need to flow.

    So for example, a router at home connects the Internet Service Provider's (ISP) network (usually on an Internet address) together with the LAN in the home (typically using a range of private IP addresses, see network address translation) and a single broadcast domain. The switch connects devices together to form the LAN. Sometimes the switch and the router are combined together in one single package sold as a multiple port router.

    In order to route packets, a router communicates with other routers using routing protocols and using this information creates and maintains a routing table. The routing table stores the best routes to certain network destinations, the "routing metrics" associated with those routes, and the path to the next hop router. See the routing article for a more detailed discussion of how this works.

    Routing is most commonly associated with the Internet Protocol, although other less-popular routed protocols are in use.

    +
    0 Votes
    osmaninaccenture

    I want to the difference between Switch and Hub.
    And Also the Difference between Windows 2000 and Windows XP.

    Do Switchs Unicast the Packets ?
    Do Hubs Broadcast the packets ?

    Please help me out on this topics... My email address is
    osmaninaccenture@gmail.com Please mail me... If U KNOW..........

    Bye and take care.

    +
    0 Votes
    amughnikhan

    A switch does essentially what a hub does but more efficiently. By paying attention to the traffic that comes across it, it can "learn" where particular addresses are. For example, if it sees traffic from machine A coming in on port 2, it now knows that machine A is connected to that port and that traffic to machine A needs to only be sent to that port and not any of the others. The net result of using a switch over a hub is that most of the network traffic only goes where it needs to rather than to every port. On busy networks this can make the network significantly faster.

    A router is the smartest and most complicated of the bunch.A simple way to think of a router is as a computer that can be programmed to understand, possibly manipulate, and route the data its being asked to handle. For example, broadband routers include the ability to "hide" computers behind a type of firewall which involves slightly modifying the packets of network traffic as they traverse the device.

    A quick note on one other thing that you'll often see mentioned with these devices and that's network speed. Most devices now are capable of both 10mps (10 mega-bits, or million bits, per second) as well as 100mbs and will automatically detect the speed. If the device is labeled with only one speed then it will only be able to communicate with devices that also support that speed. 1000mbs or "gigabit" devices are starting to slowly become more common as well. Similarly many devices now also include 802.11b or 802.11g wireless transmitters that simply act like additional ports to the device.

    +
    0 Votes
    smckannada

    any router needed between switch to switch connection. how many switches we can connect together without a router. what is the maximum number of computers that can be connected to a switch. what is the maximum number of ports that come in a switch.

    +
    0 Votes
    PurpleSkys Moderator

    wow, that sounds straight out of a textbook?

    +
    0 Votes
    charleyj98

    I agree with PurpleSkys. These questions sound like something straight out of a textbook. Quizzes at the end of the chapters?

  • +
    1 Votes
    connectpc

    A router acts as a junction between two or more networks to buffer and transfer data packets among them. A router is different from a switch and a hub: a router is working on layer 3 of OSI model, a switch on layer 2 and a hub on layer 1. This makes them work for different situations: a switch connects devices to form a Local area network (LAN) (which might, in turn, be connected to another network via a router).

    One easy illustration for the different functions of routers and switches is to think of switches as neighborhood streets, and the router as the intersections with the street signs. Each house on the street has an address within a range on the block. In the same way, a switch connects various devices each with their own IP address(es) on a LAN. However, the switch knows nothing about IP addresses except its own management address. Routers connect networks together the way that on-ramps or major intersections connect streets to both highways and freeways, etc. The street signs at the intersection (routing table) show which way the packets need to flow.

    So for example, a router at home connects the Internet Service Provider's (ISP) network (usually on an Internet address) together with the LAN in the home (typically using a range of private IP addresses, see network address translation) and a single broadcast domain. The switch connects devices together to form the LAN. Sometimes the switch and the router are combined together in one single package sold as a multiple port router.

    In order to route packets, a router communicates with other routers using routing protocols and using this information creates and maintains a routing table. The routing table stores the best routes to certain network destinations, the "routing metrics" associated with those routes, and the path to the next hop router. See the routing article for a more detailed discussion of how this works.

    Routing is most commonly associated with the Internet Protocol, although other less-popular routed protocols are in use.

    +
    0 Votes
    osmaninaccenture

    I want to the difference between Switch and Hub.
    And Also the Difference between Windows 2000 and Windows XP.

    Do Switchs Unicast the Packets ?
    Do Hubs Broadcast the packets ?

    Please help me out on this topics... My email address is
    osmaninaccenture@gmail.com Please mail me... If U KNOW..........

    Bye and take care.

    +
    0 Votes
    amughnikhan

    A switch does essentially what a hub does but more efficiently. By paying attention to the traffic that comes across it, it can "learn" where particular addresses are. For example, if it sees traffic from machine A coming in on port 2, it now knows that machine A is connected to that port and that traffic to machine A needs to only be sent to that port and not any of the others. The net result of using a switch over a hub is that most of the network traffic only goes where it needs to rather than to every port. On busy networks this can make the network significantly faster.

    A router is the smartest and most complicated of the bunch.A simple way to think of a router is as a computer that can be programmed to understand, possibly manipulate, and route the data its being asked to handle. For example, broadband routers include the ability to "hide" computers behind a type of firewall which involves slightly modifying the packets of network traffic as they traverse the device.

    A quick note on one other thing that you'll often see mentioned with these devices and that's network speed. Most devices now are capable of both 10mps (10 mega-bits, or million bits, per second) as well as 100mbs and will automatically detect the speed. If the device is labeled with only one speed then it will only be able to communicate with devices that also support that speed. 1000mbs or "gigabit" devices are starting to slowly become more common as well. Similarly many devices now also include 802.11b or 802.11g wireless transmitters that simply act like additional ports to the device.

    +
    0 Votes
    smckannada

    any router needed between switch to switch connection. how many switches we can connect together without a router. what is the maximum number of computers that can be connected to a switch. what is the maximum number of ports that come in a switch.

    +
    0 Votes
    PurpleSkys Moderator

    wow, that sounds straight out of a textbook?

    +
    0 Votes
    charleyj98

    I agree with PurpleSkys. These questions sound like something straight out of a textbook. Quizzes at the end of the chapters?