CSM 478 lecture2-NEW
CSM 478 lecture2-NEW
CSM 478 lecture2-NEW
LECTURE 2: INTERNETWORKING
BASICS
FRIMPONG TWUM
Networking
overview
Recap from Lecture 1
What is an internetwork? How is it created?
What is the difference between the Internet
and www?
Define 3 types of network nodes
(workstations, hosts, Servers)
How does nodes attach to network?
4
-
1
Star Or Hub Topology
(One Collision Domain and One
Broadcast Domain)
NETWORK SEGMENTATION
As the number of hosts on a hub network
increases, the network performance
deteriorate. Hub networks are usually limited
to a maximum of up to ten (10) hosts.
Functions of a Router
Packet Switching
Packet filtering
Internetwork communication
Path selection
ROUTERS
Routers connect two or more networks and forward data
packets between them. When data arrives from one of
the segments, the router decides, according to it's
routing table, to which segment to forward that data.
Router vrs. Switch
Routers are really Switches. Routers are actually known and
called Layer 3 switches
Routers operate at layer 3 of the OSI model, & TCP/IP model
Switches (a.k.a. Layer 2 Switches) operate at layer 2 of the
OSI model, and TCP/IP model
Switches do not create internetworks
Switches do not break up broadcast domains by default but
break up collision domains by default
Switches main purpose is to make a LAN work better by
providing more bandwidth to LAN users
Switches do not forward packets as do Routers. They instead,
switch frames from one port to another within a switched
network
Switches creates separate collision domains but a single
broadcast domain. Routers on the other hand provide a
separate broadcast domain for each of its interface
BRIDGES
A bridge is a network device that filters data traffic from one
network to another network
Bridges reduce the amount of traffic on a LAN (fig.1) by
dividing the LAN into 2 network segments as shown (fig.2)
fig. 1
fig.2
BRIDGES ctnue…
Bridges operate at the data link layer (Layer 2) of the
OSI model.
Bridges inspect incoming traffic and decide whether
to forward or discard it.
A bridge examines each data frame on a LAN,
"passing" those known to be within the same LAN
segment , and forwarding those known to be on the
other interconnected LAN segment.
In bridging networks, computer or node addresses
(MAC addresses) have no specific relationship to
location. For this reason, messages are sent out to
every address on the network and accepted only by
the intended destination node.
BRIDGES ctnue…
Bridges learn which MAC addresses are on which
network and develop a learning table (aka. Bridging
Table so that subsequent messages can be forwarded
to the right network.
Bridges interconnects LANs and prevent broadcasting
of data frames to all possible destinations as this
would flood a larger LAN with unnecessary traffic.
Unlike bridging networks, router networks such as the
Internet use an addressing scheme (IP addresses)
that have specific relationship to location. Routers
assigns addresses to nodes so that packets can be
forwarded only in one general direction rather than
forwarded in all directions.
BRIDGES ctnue…
A bridge is sometimes combined with a router in a
product called a brouter.
Bridges serve a similar function as switches, that
also operate at Layer 2. Traditional bridges, though,
support one network boundary, whereas switches
usually offer four or more hardware ports. Switches
are sometimes called "multi-port bridges" for this
reason.
You would use a bridge in a network to reduce
collisions within broadcast domains and to increase
the number of collision domains in your network.
Doing this provides more bandwidth for users.
An example network with
all Internetwork devices