1 atm lan emulation - courtesy of 黃能富教授 atm lan emulation all rights reserved. no part of...
Post on 19-Dec-2015
236 views
TRANSCRIPT
Courtesy of 黃能富教授 1ATM LAN Emulation -
ATM LAN Emulation
All rights reserved. No part of this publication and file may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise,
without prior written permission of Professor Nen-Fu Huang (E-mail: [email protected]).
Courtesy of 黃能富教授 2ATM LAN Emulation -
ATM LAN Emulation
An Implementation Agreement Defined by the ATM Forum to Interconnect Legacy LANs with ATM Networks for Data Transport Service.
Courtesy of 黃能富教授 3ATM LAN Emulation -
Interconnection Approaches
Backbone Approach (Encapsulation Bridge)
Router Approach (IP over ATM)
Courtesy of 黃能富教授 4ATM LAN Emulation -
Backbone Approach
Using bridge to translate frames between ATM and Legacy LAN, keep servers on legacy LANs, no application modifications. IETF RFC 1483 or Proprietary Encapsulations.
Problems to be solved Can not utilize ATM high bandwidth for the servers Address resolution (Using PVCs) Broadcast and multicast (Using fully connected point-to-multipoint VCCs)
ATM Network BridgeBridge LANLAN
Server
Server
Courtesy of 黃能富教授 5ATM LAN Emulation -
Router Approach
Using Router to translate packets between ATM and Legacy LAN Classical IP Model -- IETF RFC 1483 and RFC 1577 Multiprotocol Over ATM - ATM Forum
Problems to be solved Applications do not have network layer (NetBios) Many applications on ATM servers need modification (applications expect MAC lay
er underneath) Address resolution (IP to ATM ARP Server) Broadcast and multicast
ATM Network Router LAN
ATM Server (e.g., VoD server)
Client ATM Server
Client
Courtesy of 黃能富教授 6ATM LAN Emulation -
What is ATM LAN Emulation ?
Based on ATM Forum UNI specification 3.0. Using AAL 5. A service to interconnect existing "legacy" LANs with ATM. A service to allow all existing LAN applications to run over ATM. A service without any change on legacy LANs and end stations. A service needs LAN emulation to be run on an end system directly
connected to the ATM network ATM bridges and ATM end systems
A service to resolve connection-oriented networks to connectionless networks. Problems to be solved:
Address Resolution Broadcast and Multicast
A service to support multiple logical LANs within a physical ATM network
Using Available Bit Rate (ABR) service Using PVC, SVC, or combination
Courtesy of 黃能富教授 7ATM LAN Emulation -
Run all existing LAN applications over ATM without modification, including hardware and software.
Provide bridging function between LANs and ATM network.
Utilize ATM high bandwidth and multiple direct virtual connections.
Speed up ATM deployment.
Why ATM LAN Emulation ?
Courtesy of 黃能富教授 8ATM LAN Emulation -
Non-Goal for LAN Emulation
Solve existing Ethernet/Token/FDDI bridging problems.
Allow a station to receive all frames on a logical LAN.
Support existing MAC-layer protocols SMT (Station Management protocol) Token Ring (TR) management TR token TR Beacon
Courtesy of 黃能富教授 9ATM LAN Emulation -
LAN Emulation Service --Backbone for Legacy LANs
ATM Network BridgeBridge LANLAN
Server
LAN Emulation
Courtesy of 黃能富教授 10ATM LAN Emulation -
LAN Emulation Service --Client Server Computing
ATM Network Bridge LAN
ATM ServerClient
LAN Emulation
Client
LAN Emulation
ATM workstation
Courtesy of 黃能富教授 11ATM LAN Emulation -
LAN Emulation Service --Multiple Logical (Virtual) LANs
ATM Network BridgeBridge LANLAN
ATM Server
ATM ServerATM
Server
ATM workstations
Client
Client
Client
Client
Logical LAN 1
Logical LAN 2
Logical LAN 3
Courtesy of 黃能富教授 12ATM LAN Emulation -
Why ATM LAN Emulation ?
Major differences between ATM and Legacy LANs
Connection vs. connectionlessATM does not have MAC layerAddressingBroadcast and multicast
ATM Layer
Physical
PMD
TransmissionConvergence Sublayer
Convergence Sublayer (CS)
SARAAL
ATM Applications
Courtesy of 黃能富教授 13ATM LAN Emulation -
LAN Emulation Protocol Stack (A Bridging Protocol)
ExistingApplications(e.g.,NetBios)NDIS/ODI Driver I/F
MACLayer
Physical Layer
ExistingApplications(e.g.,NetBios)NDIS/ODI Driver IF
ATM Layer
Physical Layer
AAL 5
LAN EmulationEmulate Ethernet/Token Ring/FDDI MAC
MAC
BridgingLAN
Emulation
AAL 5
ATM
PHY PHY
ATM
PHY PHY
Ethernet/Token Ring/FDDI Legacy LAN Host
ATM-LAN Bridge
ATM Switch
ATM Host
Courtesy of 黃能富教授 14ATM LAN Emulation -
Emulated LAN Types and Formats
An Emulated LAN provides the functionality of a single LAN segment: 802.3 or 802.5, but not both.
Not emulate all the details of the emulated LAN. e.g., Ethernet collision, token, and beacon frames.
Using the same frame format for RFC 1483 VC-multiplexing/bridging format.
Client-ID is used for echo suppression. No FCS for emulated MAC frames.
LAN Emulation HeaderClient-ID (2 octets)
802.3 Ethernet frame Destination MAC Source MAC Type/Length Data
No FCS
LAN Emulation Header
802.5 frame Frame ControlDestination MAC Source MAC Type/Length Data
No FCS
Client-ID (2 octets)
Courtesy of 黃能富教授 15ATM LAN Emulation -
LAN Emulation Components
LAN Emulation Client (LEC) Provide a MAC level emulated 802.3 or 802.5 service interface Each client has a LAN MAC address and an ATM MAC address
LAN Emulation Server (LES) Provide clients registration Resolving MAC addresses to ATM addresses Each emulated LAN has one LES
Broadcast and Unknown Server (BUS) Send the broadcast MAC frames Send all multicast MAC frames Send unicast frames (before data direct VCC is established) Each emulated LAN has at least one BUS
LE Configuration Server (LECS) Directing LECs to the corresponding LES Optional
Courtesy of 黃能富教授 16ATM LAN Emulation -
LAN Emulation Functions
Initialization: Client gets Server's address from a well known ATM
address. Registration:
Client sends a list of its MAC addresses to Server. Address Resolution:
Client sends ARP request to Server. Server, Clients, or Bridges answer the ARP. Client setups a direct connection to the destination
address. Data forwarding:
Multicast and Broadcast traffic are forwarded to all members.
Courtesy of 黃能富教授 17ATM LAN Emulation -
LAN Emulation Architecture
ATM NetworkBridge
LAN
ATM Server
LAN Emulation UNI (LUNI)
ATM workstation
LAN Emulation Service Initialization Registration Address Resolution Data Forwarding
LAN Emulation Clients
Courtesy of 黃能富教授 18ATM LAN Emulation -
LES # 2 Initialization Registration Address Resolution
LAN Emulation Architecture
ATM NetworkBridgeLAN
ClientATM workstation
ATM Server
LAN Emulation Clients
LES # 1 Initialization Registration Address Resolution
Data ForwardingBUS
LECS
LUNI
LAN Emulation Servers
LNNI
Courtesy of 黃能富教授 19ATM LAN Emulation -
Connection Types in LAN Emulation
Control Connections (LE-ARP & control frames) Control direct VCC (Bidirectional Point-to-point VCC between
LEC and LES). Control distribute VCC (Unidirectional Point-to-Multipoint VC
C from LES to LECs, optional) Data Connections (LECs-LECs and LECs-BUS)
Data direct VCC (Bidirectional Point-to-point VCC between LECs).
Multicast send VCC (Unidirectional Point-to-point VCC from LEC to BUS)
Multicast forward VCC (Unidirectional Point-to-Multipoint VCC from BUS to LEC)
Configuration direct VCC
Courtesy of 黃能富教授 21ATM LAN Emulation -
Address Resolution Frames
IP_ARP frames (RFC 826, November 1982) IP --> 48-bit MAC address
LE_ARP frames (ATM-Forum/LAN Emulation over ATM Spec.)
48-bit MAC address --> 20-byte ATM address
ATM_ARP frames (RFC 1577, January 1994)IP --> 20-byte ATM address
Courtesy of 黃能富教授 22ATM LAN Emulation -
ARP Frame Format (IP_ARP)
Name Len Meaningar$hrd 2 hardware typear$pro 2 protocol type using ATMARP (IP is 0x0800)ar$hwlen 1 hardware address length ar$prlen 1 protocol address length (IP is 4)ar$op 2 operation code. ARP-req = 1, ARP-reply = 2, InARP-req = 8, InARP-reply = 9, ARP-nak = 10ar$sha 6 sender hardware addressar$spa 4 sender protocol address (IP)ar$tha 6 target hardware address ar$tpa 4 target protocol address (IP)
Courtesy of 黃能富教授 23ATM LAN Emulation -
ARP Frame Format (LE_ARP)
Name Len Meaningcntl_marker 2 control frame = 0xFF00cntl_pro 1 ATM LAN Emulation protocol = 0x01cntl_ver 1 ATM LAN Emulation protocol version = 0x01ar_opcode 2 type of request cntl_sts 2 0x0000 in request; In response: 0-10cntl_tranid 2 transaction IDcntl_reqlecid 2 lecid of le client (0x00 if unknown)ar_flags 2 indication of local or remotear_smac 8 source MAC addressar_tmac 8 target unicast MAC addressar_satm 20 ATM address of originator of le-arp requestreserved 4 always 0x00ar_tatm 20 target ATM addressreserved 32 always 0x00
Courtesy of 黃能富教授 24ATM LAN Emulation -
ARP Frame Format (ATM_ARP)
Name Len Meaningar$hrd 2 hardware type (0x0013)ar$pro 2 protocol using ATMARP (IP is 0x0800)ar$shtl 1 type and length of source ATM number (q)ar$sstl 1 type and length of source ATM subaddress (r)ar$op 2 operation code. ARP-req = 1, ARP-reply = 2, InARP-req = 8, InARP-reply = 9, ARP-nak = 10ar$spln 1 length of source protocol address (s) (IP is 4)ar$thtl 1 type and length of target ATM number (x)ar$tstl 1 type and length of target ATM subaddress (y)ar$tpln 1 length of target protocol address (z) (IP is 4)ar$sha q source ATM number (E.164 or NSAP)ar$ssa r source ATM subaddress (NSAP)ar$spa s source protocol addressar$tha x target ATM number (E.164 or NSAP)ar$tsa y target ATM subaddress (NSAP)ar$tpa z target protocol address
Courtesy of 黃能富教授 25ATM LAN Emulation -
Initialization
LECS Connect Phase Configuration Phase Join Phase Initial Registration Phase BUS Connect Phase
LAN Emulation UNI (LUNI)
ATM Emulation Clients
LAN Emulation Service Initialization Registration Address Resolution Data Forwarding
Courtesy of 黃能富教授 26ATM LAN Emulation -
Connect, Configuration and Join Phase
Get LECS ATM address via ILMI; using well-known address to LECS; or using well known permanent connection (VPI/VCI = 0/17)
Get LES address, LAN type, Max Frame size from LECS via Configuration direct SVC or PVC (VPI/VCI) = 0/17.
Every LAN Emulation client must be configured with an ATM address and a MAC address to itself.
LE Clients set up Control direct VCCs to LAN Emulation Server. Join an emulated LAN and obtain
LAN Emulation client-ID (LEC-ID)Frame size A token ring number if 802.5 source routing is used
The LES sets up a Control distribute VCC to all proxy LECs.
Courtesy of 黃能富教授 27ATM LAN Emulation -
Configuration and Join Phases
ProxyLAN
ATM workstation
ATM Server
LECs
LES LAN Type Max Frame size Ring # if 802.5 is used
BUS
LECS • MACa addr• ATMa addr
LEC
ProxyLEC
Config. Direct VCC
Get LES Addr
Join
Join
Join
LEC-ID
LEC-ID
LEC-ID
Control Direct VCC
Control Distribute VCC
Courtesy of 黃能富教授 28ATM LAN Emulation -
Initial Registration and BUS Connect
Clients register 1st pair of ATM address and MAC address to LES.
Clients send LE_ARP via control direct VCC to LES to obtain the ATM address of the BUS.
Clients set up a Multicast send VCC to the Broadcast and Unknown Server (BUS). The BUS sets up a point-to-multipoint Multicast forward VCC to all the LE Clients.
Courtesy of 黃能富教授 29ATM LAN Emulation -
Initial Registration and BUS Connect
ProxyLAN
ATM workstation
ATM Server
LECs
LES
BUS
• MACa • ATMa • MACm
LEC
Join-initial registration
Control Direct VCCs
• MACb • ATMb• MACm
• MACc • ATMc
Multicast Send VCC
Multicast Forward VCC
MACa ATMa MACb ATMb MACc ATMc Proxy LEC
Courtesy of 黃能富教授 30ATM LAN Emulation -
LAN Emulation Service Initialization Registration Address Resolution Data Forwarding
Registration
Clients register their additional ATM addresses and MAC addresses to LES.
Bridges may or may not need to register all "legacy" LAN MAC addresses behind them. If it joins the LANE with Proxy flag set, they may not register all the MACs behind them. A Control Distributed VCC is established to them to get LE_ARP_REQUEST.
LAN Emulation UNI (LUNI)
ATM Emulation Clients
Courtesy of 黃能富教授 31ATM LAN Emulation -
Registration
ProxyLAN
ATM workstation
ATM Server
LECs
LES
BUS
• MACa • ATMa • MACm
LEC
Registration
Control Direct VCCs
• MACb • ATMb• MACm
• MACc • ATMc
Multicast Send VCC
Multicast Forward VCC
MACa ATMa MACb ATMb MACc ATMc Proxy LEC
Courtesy of 黃能富教授 32ATM LAN Emulation -
Address Resolution
Resolve the ATM address corresponding to a given destination MAC address. Client generates an ARP request and send to LES via Control Direct VCC. BUS forwards unicast frames to all clients before the Data Direct VCC is establi
shed. Proxy LECs response ARP requests for known MAC addresses on their segment
s. After ARP response is received, a Data Direct VCC is established between sourc
e and destination clients.
LAN Emulation Service Initialization Registration Address Resolution Data Forwarding
LAN Emulation UNI (LUNI)
ATM Emulation Clients
Courtesy of 黃能富教授 33ATM LAN Emulation -
Address Resolution (ATM Station to ATM Station)
ProxyLAN
ATM workstation
ATM Server
LECs
LES
BUS
• MACa • ATMa • MACm
LEC
ARP_request (1)
Control Direct VCCs
• MACb • ATMb• MACm
• MACc • ATMc
Multicast Send VCC
Multicast Forward VCC
ARP_response (2)
Data Direct VCC (3)
Data (1a)
Data (2a)
Proxy LANs
MACa ATMa MACb ATMb MACc ATMc Proxy LEC
Courtesy of 黃能富教授 34ATM LAN Emulation -
Address Resolution(ATM to Legacy LAN and Legacy LAN to Legacy LAN)
ProxyLAN
ATM workstation
ATM Server
LECs
LES
BUS
• MACa • ATMa
LEC
ARP_request (1)
Control Direct VCCs
• MACb • ATMb
• MACx
Multicast Send VCC
Multicast Forward VCC
ARP_response (4)
Data (1a)
Proxy LANs ProxyLEC
ARP_request (2)
ARP_response (3)
Data (2a)
Data Direct VCC (5)
Control Distribute VCC
Frames to MACx
MACa ATMa MACb ATMb MACc ATMc Proxy LEC
Courtesy of 黃能富教授 35ATM LAN Emulation -
Data Forwarding Send unicast frames to the BUS and broadcast to all the clients b
efore the Data direct VCC is established. (Intelligent BUS?) Send multicast (broadcast) frames to the BUS and broadcast to a
ll the clients via the Multicast forward VCC. MAC packets must be prefixed with LECID
The LANE clients filter out frames not destined to them. Use direct VCC for unicast when it is established. Frame ordering problem when switch from the Multicast forwar
d VCC to a Data direct VCC.
LAN Emulation Service Initialization Registration Address Resolution Data Forwarding
LAN Emulation UNI (LUNI)
ATM Emulation Clients
Courtesy of 黃能富教授 36ATM LAN Emulation -
Broadcast & Multicast Frames
ProxyLAN
ATM workstation
ATM Server
LECs
LES
BUS
• MACa • ATMa • MACm
LEC
Control Direct VCCs
• MACb • ATMb• MACm
• MACc • ATMc•MACm
Multicast Send VCC
Multicast Forward VCC
Data (1)
Data (2)
Proxy LANs
Frame to MACm
MACa ATMa MACb ATMb MACc ATMc Proxy LEC
Courtesy of 黃能富教授 37ATM LAN Emulation -
Frame Ordering
ATM workstation
ATM Server
LECs
LES
BUS
• MACa • ATMa
Control Direct VCCs
• MACb • ATMb Multicast Forward VCC
flush(1)
Data Direct VCC (3) Data (1a)
Data (2a)
flush(4)
flush(3)
Data (3)
flush(2)
Two paths from MACa to MACb Frames can be delivered out of order Send flush message over old data path When the flush acknowledgement ie received from the receiver (via the Control Direct VCC), switch to the new path
Frames to MACb
MACa ATMa MACb ATMb MACc ATMc Proxy LEC
Courtesy of 黃能富教授 38ATM LAN Emulation -
Data Clipping 1stSwitch
LastSwitch
Calling Party
Called Party
Call Request
Connect
Connect ACK
Initialize VCC & SAR
(Start timer)
Sending datawill be lost
Safe to send data
Ready Query (timeout)
Initialize VCC & SAR
Ready Ind.
Ready Ind.
Courtesy of 黃能富教授 39ATM LAN Emulation -
IP Applications over ATM Emulation Network-- ES (End System) X wants to send frames to ES Y. -- ES X only knows IPy.
(1) ES X sends out an IP ARP request, looking for IPy's MAC addr. (2) ES X sends IP ARP to the broadcast server. (3) the broadcast server forwards the frames to the Bridge. (4) The Bridge broadcast the frames to all ESs connected to it. (5) ES Y sends back an IP ARP response to IPx/MACx with its MACy. (6) Bridge sends LE_ARP to LES to find MACx's ATM addr. (7) LES responses with ATMx (in LE_ARP response) (8) Bridge sets up a direct VCC to ES X.
(8a) The IP ARP response from ES Y is sent to ES X via broadcast server. (9) ES X records MACy. (10) ES X begins to use IPy and MACy to send data. (11) LES sends LE _ARP response with MACy's ATM addr. (12) Bridge responses with its ATM addr (LE_ ARP response). (13) ES X knew it has a direct VCC to Bridge and uses it to send data.
Courtesy of 黃能富教授 40ATM LAN Emulation -
IP Applications over ATM Emulation Network-- ES (End System) X wants to send frames to ES Y. -- ES X only knows IPy.
Bridge LAN
ATM workstation X
LES
BUS
• ATMb
• IPy• MACy
1
2
3
5
6
7
1211
8a
8 13
8a
11
12
9 10
4
4
Y
• IPx• MACx • ATMx
Courtesy of 黃能富教授 41ATM LAN Emulation -
LAN Emulation vs. ATM API In order to use the power of ATM, new applications should use ATM Forum
SAA ATM API to interface directly with ATM layers. A logical "subnet" is either an Emulated LAN or an ATM API subnet. Logical subnets are interconnected via brouters. ATM adapter card needs to support the relevant type of logical subnet.
NewApplications
ATM API
Physical Layer
ExistingApplications(e.g.,NetBios)NDIS/ODI Driver IF
ATM Layer
Physical Layer
AAL 5
LAN Emulation
ATM Layer
AAL1,2,3/4, 5
Courtesy of 黃能富教授 42ATM LAN Emulation -
LAN Emulation Summary
LAN Emulation allows all existing legacy LAN applications run over ATM.
LAN Emulation can carry IP applications but IETF IP over ATM may not be able to carry all different LAN applications.
LAN Emulation is first major ATM application and its success is very crucial for ATM's success.
To exploit the power of ATM, new applications should use ATM API rather than LAN Emulation.
Broadcast storm of LAN Emulation on ATM WAN is a potential problem.
LAN Emulation may overlay with multiprotocol routing over ATM.