connecting lans, backbone networks, and virtual lans 01204325: data communication and computer...

27
Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. [email protected] http://www.cpe.ku.ac.th/~cpj Computer Engineering Department Kasetsart University, Bangkok, Thailand Adapted from lecture slides by Behrouz A. Forouzan © The McGraw-Hill Companies, Inc. All rights reserved

Upload: griffin-burke

Post on 13-Dec-2015

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

Connecting LANs, Backbone Networks, and

Virtual LANs

01204325: Data Communication and Computer Networks

Asst. Prof. Chaiporn Jaikaeo, [email protected]

http://www.cpe.ku.ac.th/~cpjComputer Engineering Department

Kasetsart University, Bangkok, ThailandAdapted from lecture slides by Behrouz A. Forouzan© The McGraw-Hill Companies, Inc. All rights reserved

Page 2: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

2

Outline Network connecting devices Backbone networks Virtual LANs

Page 3: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

3

Network Connecting Devices

Page 4: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

4

Layer-1 Connecting Devices

Page 5: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

5

Repeaters Connected segments become single

collision domain

Page 6: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

6

Repeater Function

Page 7: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

7

Hubs Similar to multiport repeaters All segments belong to the same

collision domain

Page 8: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

8

Layer-2 Connecting Devices

Page 9: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

9

Bridges Bridges process information up to the

frame-level (layer 2)

Page 10: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

10

Bridges Connecting LANs while separating collision

domains MAC addresses are used for filtering Connected segments form a single network

(same broadcast domain)

Page 11: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

11

Learning Bridges

A D

E A

B C

Page 12: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

12

Loop Problem

Page 13: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

13

Graph Representation

Page 14: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

14

Creating Spanning Tree

Page 15: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

15

Blocking Ports

Page 16: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

16

Switches Similar to multiport bridges Also run Spanning-Tree Protocol

Page 17: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

17

Layer-3 Connecting Devices

Page 18: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

18

Routers Capable of connecting networks of

different types Routers separate networks into

different broadcast domains

Page 19: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

Backbone Networks

Page 20: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

20

Bus Backbone

Page 21: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

21

Star Backbone

Page 22: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

22

Connecting Remote LANs

Page 23: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

Virtual LANs

Page 24: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

24

Regular Switch Three LANs are connected by a regular

switch, forming one LAN (one broadcast domain)

Page 25: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

25

Switch with VLAN Feature Different VLANs belong to different broadcast

domains They are considered isolated networks

Page 26: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

26

Multiple VLAN Switches

Trunk Trunk

Page 27: Connecting LANs, Backbone Networks, and Virtual LANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th

27

Routing Across VLANs Router is required to connect

different VLANs

Trunk Trunk

Trunk