itec4610 network switching and routing

38
I n f o r m a t i o n a n d C o m m u n i c a t i o n e n g i n e e r i n g MUT ITEC4610 Network Switching and Routing ดด. ดดดดดดดด ดดดดด ดดดดดดดดดดดดดดดดดดดดดดดดดดดดดดดดดดดดด ดดดดดดด(ICE) MUT Email: [email protected] ดดดดดดดดดด: F402 ดดดดดดดดดดดดดดดดดดดดดด: (02)9883655 ดดด 220 ดดดดดดดดดดดดดดดดดดดดดดด: 065343850

Upload: calvin

Post on 16-Jan-2016

46 views

Category:

Documents


1 download

DESCRIPTION

ITEC4610 Network Switching and Routing. ดร. ประวิทย์ ชุมชู หัวหน้าสาขาวิชาวิศวกรรมสารสนเทศและการสื่อสาร (ICE) MUT Email: [email protected] ห้องทำงาน : F402 เบอร์โทรศัพท์ที่ทำงาน : (02)9883655 ต่อ 220 เบอร์โทรศัพท์เคลื่อนที่ : 065343850. Class XI MPLS (Multiprotocol Label Switching). - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

ITEC4610Network Switching and Routing

ดร . ประวิ�ทย์ ชุ�มชุ�หั�วิหัน้�าสาขาวิ�ชุาวิ�ศวิกรรมสารสน้เทศและการส��อสาร(ICE)MUTEmail: [email protected]หั�องท�างาน้: F402เบอรโทรศ�พทท#�ท�างาน้: (02)9883655 ต่%อ 220เบอรโทรศ�พทเคล��อน้ท#�: 065343850

Page 2: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Class XI MPLS (Multiprotocol Label

Switching)

ดร . ประวิ�ทย์ ชุ�มชุ�หั�วิหัน้�าสาขาวิ�ชุาวิ�ศวิกรรมสารสน้เทศและการส��อสาร(ICE)MUTEmail: [email protected]หั�องท�างาน้: F402เบอรโทรศ�พทท#�ท�างาน้: (02)9883655 ต่%อ 220เบอรโทรศ�พทเคล��อน้ท#�: 065343850

Page 3: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Outlines

MotivationMPLS OverviewMPLS Operation and Components

Page 4: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Motivation

• IPThe first defined and used protocol De facto the only protocol for global internet working

… but there are disadvantages

Page 5: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Motivation

• IP Routing disadvantages:– Connectionless

e.g. no QoS– Each router has to make independent

forwarding decisions based on the IP-address

– Large IP Header At least 20 byte outing in Network Layer

– Slower than Switching

Page 6: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Motivation

• ATM– connection oriented– Supports QoS– fast packet switching with fixed length

packets(cells)– integration of different traffic types

(voice, data,video)

…but there are also disadvantages

Page 7: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Motivation

• ATM disadvantages– Complex– Expensive– Not widely adopted

Page 8: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Motivation

• Traditional Routing and packet switching– A simple-software-based router platform– L2 switching (Hardware) for local

network

Page 9: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Motivation

Combine the forwarding algorithm usedin ATM with IP.

Page 10: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Outlines

MotivationMPLS OverviewMPLS Operation and Components

Page 11: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

MPLS Overview

IP

ATM, FR, Ethernet, PPP

SDH, ODH,WDM,CSMA

MPLS

Layer 3

Layer 2

Layer 1

MPLS is arranged between Layer 2 and Layer 3

Page 12: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

MPLS Functions

• Specified mechanisms to manage traffic flows of various granularities, such as flows between different hardware, machines, or even flow between different applications

• Remains independent of the Layer-2 and Layer-3 Protocols

• Provides a means to map IP addresses to simple, fixed-length labels used by different packet-forwarding and packet-switching technologies

• Interfaces to existing routing protocols such as resource reservation protocol (RSPV) and open shortest path first (OSPF)

• Supports the IP, ATM, and Frame-relay Layer 2 protocols

Page 13: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

MPLS Example

Page 14: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

MPLS Example

Page 15: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Outlines

MotivationMPLS OverviewMPLS Operation and Components

Page 16: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

MPLS Operation

• Label Creation and Distribution• Table Creation at each router• Label-switched path creation• Label insertion/table lookup• Packet forwarding

Page 17: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

MPLS components

• LSRs (Label Switching Router) & LERs (Label Edge Routers)

• FEC (Forward Equivalence Class)• Label &Label Blinding

Page 18: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

MPLS components

• LER (Label Edge Router)– Resides at the edge of an MPLS network

and assigns and removes the labels from the packets.

• LSR (Label Switching Router)– Is a high speed router in the core on an

MPLS network.– ATM switches can be used as LSRs without

changing their hardware. Label switching is equivalent to VP/VC switching.

Page 19: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label

• The labels are used to forward the packets on their way ( switching).

• The labels change during transmission.

• Hardware can be used to switch packets quickly between links.

Page 20: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label Format

Page 21: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label Details

Page 22: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label Creation

• Topology-based method – Uses normal processing of routing

protocol (such as OSPF and BGP)

• Request-based method – Uses processing of request-based control

traffic (such as RSVP)

• Traffic-based method – Uses The reception of a packet to trigger

the assignment and distribution of a lable

Page 23: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label Distribution

• LDP (Label Distribution Protocol)– Maps unicast destination into labels

• RSVP, CR-LDP– Used for traffic engineering and resource

• PIM (Protocol-Independent multicast (PIM))– Used for multicast states label mapping

• BGP– External Label (VPN)

Page 24: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label-Switched Path (LSPs)

• Hop-by-hop routing– Each LSR independent selects the next hop for a

given FEC. This methodology is similar to that currently used in IP networks. The LSR uses any a viable routing protocols, such as OSPF, ATM private network-to-network interface (PNNI), etc.

• Explicit routing– Explicit Routing is similar to source routing. The

ingress LSR specifies the list of nodes through which the ER-LSP traverses. The path specified could be nonoptimal, as well.

Page 25: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

LSP Details• MPLS provides two options to set up an

LSP– hop-by-hop routing:– Each LSR independently selects the next hop

for a given FEC. LSRs support any available routing protocols ( OSPF, ATM …).

– explicit routing: Is similar to source routing. The ingress LSR specifies the list of nodes through which the packet traverses.

– The LSP setup for an FEC is unidirectional.– The return traffic must take another LSP!

Page 26: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

LSP

A path is established before the data transmission starts.

A path is a representation of a FEC. FEC The Forward Equivalence Class is a

representation of a group of packets that share the same requirements for their transport.

The assignment of a particular packet to a particular FEC is done just once (when the packet enters the network).

Page 27: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label Space

• Per Platform– The label values are unique across the whole

LSR. The Label are allocated from a common pool. No two labels distributed on different have the same value.

• Per Interface– The label ranges are associated with interfaces.

Multiple label polls are defined for interface, and the labels provided on those interfaces are allocated from the separate polls. The label values provided on different interfaces could be the same.

Page 28: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label Merging

• The incoming Streams of traffic from different interface can be merged together and switched using a common label if they are traversing the network toward the same final destination. This is known as strem merging or aggregation of flows

• If the underlying transport network is an ATM networks, LSRs could employ virtual path (VP) or virtual channel (VC) merging

Page 29: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label Retention

• Conservative– The binding between a label and an FEC received

from LSRs that are not the next hop for a given FEC are discarded. This mode requires an LSR to maintain fewer Lables.

• Liberal– The binding between a label and an FEC received

from LSRs that are not the next hop for a given FEC are retained. This Mode allows for quicker adaptation to topology changes and allows for the switching of traffic to other LSPs in case of changes

Page 30: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label Control

• Independent– An LSR recognizes a particular FEC and makes

the decision to bind a label to the FEC independently to distribute the binding to its peers. The new FECs are recognized whenever new routes become visible to the router

• Ordered– An LSR binds a label to a prticular FEC if and

only if it is the egress router or it has received a label binding fro the FEC from its next hop LSR.

Page 31: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Signaling Mechanisms

• Label Request– An LSR requests a label from its

downstream neighbor so that it can bind to a specific FEC

• Label Mapping– In response to a label request, a

downstream LSR will send a label to the upstream initiator using the label mapping mechanism

Page 32: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label Distribution Protocol

• Discovery Messages– Announce and maintain the presence of an LSR in a

network

• Session Messages– Establish, maintain and terminate sessions between

LDP peers

• Advertisement Messages– Create, change and delete label mapping for FECs

• Notification Messages– Provide advisory information and signal error

information

Page 33: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Label Stack

• The label stack mechanism allows for hierarchical operation in the MPLS domain. It basically allows MPLS to be used simultaneously for routing at the fine-grain level

• Each level in a label stack pertains to some hierarchical level. This facilitates a tunneling mode of operation in MPLS

Page 34: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

CR (Constraint-based routing)

• CR takes into account parameters such as link characterisitcs (bandwidth, delay, etc. ), hop count and QoS

• The LSP that are established could be CR-LSPs, where the constraints could be explicit hops or QSOS requirements

Page 35: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Advantages of MPLS

Routing takes place only in the LERs (Label Edge Router)

Label switching increases speedProvides Quality of Service It hides the link layer and the differences between different Layer 2 protocols

Page 36: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

Disadvantages of MPLS

An additional layer is addedThe router has to understand MPLS

Page 37: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

แบบสอบถามเพ��อการร%างหัล�กส�ต่ร ปร�ญญาโทร สาขา Network

engineering• เร#ย์น้วิ�ชุาอะไรบ�างต่ลอด 2 ป* • อย์ากเร#ย์น้วิ�ชุาหัร�อเน้�+อหัาอะไรเพ��ม• อย์ากใหั�ต่�ดเน้�+อหัาอะไรออก• ล�าด�บวิ�ชุาท#�เร#ย์น้ควิรเปล#�ย์น้หัร�อไม%• ควิรม# Lab อะไรเพ��มหัร�อเปล%า• ควิรป�พ�+น้วิ�ชุาอะไรหัร�อเน้�+อหัาอะไร

Page 38: ITEC4610 Network Switching and Routing

Info

rmatio

n a

nd

C

om

munica

tion e

ng

ineerin

g

(ICE)

MUT

โครงสร�างหัล�กส�ต่รใหัม%

Transmission system+Data

Communication (L1->L2)

Computer Network (L3->L7)

Operating System

CCNA1-2

C, C+, Script( perl, bash, etc.)

Network Switching and Routing

Network Management

Project IWireless Networks Network security

Project II

CCNA3-4

Information Technology for

Organization Management

Wireless Network Lab

11

8

10

8

11+8+10+8=37

Telecommunication Networks

Term 1

Term 2

Term 3

Term 4