Discussion Locked

Few Simple Netowrk Questions

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

1. Routers are used to connected mutiply network , right? How about switch? Can it also connect mutiply network just by using the UPLINK connections?
So what are the difference in the usage of switch and router? (I know that they are base on layer2 and layer3, in which router has path determination..but so what? )

2. Can I said router is a gateway? Why do we need a gateway?

3. ppl todays mostly using routers to share Broadband to the Internet? Why can't a hub or switch in doing so?
------------------------------
I am now learning CCNA semeaster 1, but just got those silly questions. It would be great if you can help me. Thx a lot!

3 replies

by alpha-male

In a Nutshell:

Routers break up Broadcast Domains, Switches break up collision domains, hubs simply broadcast data (repeaters).

The importance of the Layer 2 and Layer 3 deals with encapsulation and addressing. In a simple form: A Router looksat the Network Layer (IP address, etc ) and directs data. The switch looks at the MAC address. The switch is basically an advanced hardware bridge (with a few extra benefits). What this means to you is that the router can route data to different networks. The switch creates multiple collision domains to enhance network bandwidth utilization. The Switch can transfer data to machines on the network that it knows the mac address info for (or can broadcast the data if it doesn't know the mac).

The router can look at the network data and send it to the appropriate network if it's not on the local one. Not meaning to make this confusing, but there are Layer 3 switches too...but they really are combo router/switches.

A gateway is basically a door to "outside" networks (like on a WAN or the internet). The idea is the Router is told "If you don't know where this network is, ship it out this port. The idea is the routers will keep relaying it until it hits the one that does know where thenetwork resides. This is in essence what the "world wide web" is....

A hub can only broadcast data to all the connected ports. It is a Layer 1 (physical) device and simply a repeater. The switch works on Data Link MAC filter tables. Neither work on the network layer which is used in transmitting the data to the internet via cable/dls etc. You *can* share your internet access without a hardware router, however. If you use ICS, or set up a second NIC with NAT translation/IP masquerading, that will act as a software router and you can then share your broadband connection.

by alpha-male

One last comment regarding the uplink ports. This will allow the switch to see another switch, but not send data between networks. The swich can bridge data with the other switch sending frames to known addresses in the broadcast domain. If devices are put into different broadcast domains, they need to be "Routed".

This discussion is closed to new replies.