Re: switch newbie
- From: "David Schwartz" <davids@xxxxxxxxxxxxx>
- Date: 23 Feb 2007 04:38:14 -0800
On Feb 22, 6:27 pm, cmk...@xxxxxxxxxxx wrote:
My friend told me the switch will not assign IPs to clients but
router will. Is he correct?
Typically, yes. While nothing prohibits a switch from being able to
assign IP addresses or guarantees that every router will be able to do
so, typically switches have no ability to assign IP addresses and
typically routers (particularly those that do NAT) do.
What is the different between switch and router?
Typically:
A switch takes packets received on one link and send them out one or
more other links. They generally start out by sending all packets out
all links (except the one on which they received it, of course) but
begin to passively learn the network layout. For example, if they see
traffic from a particular hardware address comes from port 3, they can
send unicast packets to that hardware address out only port 3.
Switches typically operate at the ethernet layer and don't need to
know or care anything about IP.
A router, in contrast, operates at the IP level. It maintains a
routing table (that is either configured into it, learned by
exchanging routing information with other devices, or some
combination) and routes packets based on their destination IP address.
so far i know, you
can link two linksys switch to get 200% speed.
I'm not sure what you are expecting to get 200% speed of. A typical
switch can run each port at full wire speed. Why would you expect,
say, 2 8-port switches to be any faster than one 16-port switch? Why
should the number of switches matter?
DS
.
- References:
- switch newbie
- From: cmk128
- switch newbie
- Prev by Date: Re: Two default gw in kernel routing table
- Next by Date: Re: skype optimisation with iptables/tc?
- Previous by thread: Re: switch newbie
- Next by thread: Re: switch newbie
- Index(es):
Relevant Pages
|