Extending LANs Fiber modems Repeaters Bridges Switches.

18
Extending LANs • Fiber modems • Repeaters • Bridges • Switches

Transcript of Extending LANs Fiber modems Repeaters Bridges Switches.

Page 1: Extending LANs Fiber modems Repeaters Bridges Switches.

Extending LANs

• Fiber modems• Repeaters• Bridges• Switches

Page 2: Extending LANs Fiber modems Repeaters Bridges Switches.

Distance limitation in LANs

• MAC protocols such as CSMA/CD require time proportional to the length of the cable

• Electrical signal weakens with distance• Network designers choose a combination of

capacity, delay and distance that can be achieved within a given cost

Page 3: Extending LANs Fiber modems Repeaters Bridges Switches.

Fiber optic extensions

• Fiber modems extend connection between computer and transceiver

Page 4: Extending LANs Fiber modems Repeaters Bridges Switches.

Repeaters

• Join Ethernet cables (segments) together• Amplified signal - no knowledge of frames• Deals with signal strength, but not delay

Page 5: Extending LANs Fiber modems Repeaters Bridges Switches.

Multiple repeaters

• Ethernet standard says no more than four repeaters between two computers

Page 6: Extending LANs Fiber modems Repeaters Bridges Switches.

• Fiber modems can be used between repeaters for long distance extensions

• Biggest problem with repeaters is that they transmit all signals including collisions and noise which limits scalability

Page 7: Extending LANs Fiber modems Repeaters Bridges Switches.

Bridges• Connect two segments, but work at the

frame level• Use promiscuous mode and forward all

frames• Don’t forward erroneous frames (e.g.,

collisions and noise)

Page 8: Extending LANs Fiber modems Repeaters Bridges Switches.

Frame filtering

• Only forward a frame if necessary– destination is on the other segment– broadcast address is used

• Bridge learns which segment a computer is on when that computer sends a frame

• When a frame arrives the bridge– extracts source address and updates knowledge– inspects destination address for forwarding

Page 9: Extending LANs Fiber modems Repeaters Bridges Switches.

Example of learning in a bridge

Page 10: Extending LANs Fiber modems Repeaters Bridges Switches.

Planning a bridged network• Propagation principle - a bridge will only

forward frames as far as is necessary• Bridges allow communication on separate

segments to occur at the same time• Plan the network so that computers that

communicate frequently are on the same segment

• May be possible to improve an existing LAN’s performance by adding a bridge

Page 11: Extending LANs Fiber modems Repeaters Bridges Switches.

Bridging between buildings

Page 12: Extending LANs Fiber modems Repeaters Bridges Switches.

Bridging longer distances

Page 13: Extending LANs Fiber modems Repeaters Bridges Switches.

A cycle of bridges

• Compute a distributed spanning tree

Page 14: Extending LANs Fiber modems Repeaters Bridges Switches.

Switching• Switch - a single electronic device that transfers

frames between computers• Whereas a hub simulates a shared medium, a

switch simulates a bridged LAN with one computer per segment

• Advantage is greater data rate due to parallelism• Some organisations combine hubs and switches

to reduce cost

Page 15: Extending LANs Fiber modems Repeaters Bridges Switches.

The concept of a switched LAN

Page 16: Extending LANs Fiber modems Repeaters Bridges Switches.

Summary

• Fiber optic extensions• Repeaters and multiple repeaters• Bridges– frame filtering– bridging distances

• Switches

Page 17: Extending LANs Fiber modems Repeaters Bridges Switches.

Summary of LANs

• Locality of reference• LAN topologies• MAC protocols, especially CSMA/CD• Hardware addressing and frame types• LAN wiring• Extending LANs

Page 18: Extending LANs Fiber modems Repeaters Bridges Switches.

Exam question

• http://www.cs.nott.ac.uk/~mvr/2-CCN.doc