CCNP - Frame Relay

2015. 3. 9. 22:29IT/NETWORK

1. Frame Relay란?
 - ISP 업체에서 사설 네트워크간 연결하기 위해 만들어 놓은 하나의 망을 말한다.
 - Layer2계층 장비로, 서로간에 연결 시 자신을 식별하기 위해 DLCI번호를 사용한다.


2. Frame Relay 용어 정리


 용어

설명 

 Local Access rate


Frame Relay Cloud에 대한 연결(Local loop)의 클럭 속도. 장비가 지원 가능한 물리적 Bandwidth를 말한다. 다른 세팅과 관계없어 데이터가 입출력 되는 속도를 말한다.


 PVC(Permanent Virtual Circuit) 


영구 가상 회선으로 어떤 가상 회선들이 항상 존재해야 하는 상황에서 PVC는 회선 설립 및 해제에 대한 대역폭을 절약 할 수있다. 


 SVC(Switched Virtual Circuit) 


요구(on-demand)에 의해서 동적으로 설립되고 전송이 끝날 때 해제 되는 가상회선. 필요에 의해서만 연결이 이루어져야되는 상황에서 사용한다. 


 DLCI(Data Link Connection Identifier)


라우터와 프레임 릴레이 스위치 사이의 논리적인 회선을 식별하는 번호이다.


MAC주소와 같은 의미로 사용된다. DLCI는 로컬 의미를 가지기 때문에 식별자는 로컬 라우터와 프레임 릴레이 스위치 사이의 지점을 참조한다.


DLCI값은 16 ~ 1007의 값을 갖는다.

 

 CIR(Committed information Protocol)


서비스 제공 업자가 데이터가 전송되는 것을 보장하는 속도(bps)이다.


PIR : 최대 속도. 혼잡시 패킷이 드랍 될 수 있다.

CIR : 기업에서 ISP업체에게 돈 주고 산 대역폭을 말한다.

Minimum CIR : 절대적으로 보장해 주어야 하는 속도

Voice는 CIR과 Min CIR이 같아야 한다. 절대 드랍 되면 안된다.

 

 IARP(Inverse Address Resolution Interface)


네트워크 계층 주소를 DLCI와 동적으로 연관시키는 방법이다. 자신의 DLCI로 상대방 IP를 알아오는 것이다. 이것은 라우터가 VC와 연관된 디바이스의 네트워크 계층 주소를 발견하도록 한다. 60초에 한번씩 주고 받는다.

 

 FECN(Forward Explicit Congestion Notification)


프레임 릴레이 스위치가 네트워크에서 혼잡을 인식하면, 스위치는 목적지 디바이스로 포워드 되는 프레임 릴레이 패킷에 FECN비트를 지정하여 혼잡이 발생했다는 것을 알린다.

 

 

BECN(Backward Explicit Congestion Notification)



프레임 릴레이 스위치가 네트워크에서 혼잡을 인식하면, 스위치는 소스 라우터로 포워드 되는 프레임 릴레이 패킷에 BECN 비트를 지정하여 혼잡이 발생했다는 것을 알린다. 라우터는 Mini CIR값이 될때까지 선송률을 낮춘다. Mini CIR = CIR / 2


 



3. Frame Relay 설정 방법



 3-1. F/R Switch 설정


F/R(config)# frame-relay switching

F/R(config)# interface serial 0

F/R(config-if)# encapsulation frame-relay

F/R(config-if)# no frame-relay inverse-arp

F/R(config-if)# frame-relay lmi-type ansi

F/R(config-if)# frame-relay intf-type dce

F/R(config-if)# clock rate 64000

F/R(config-if)# no shutdown

F/R(config-if)# frame-relay route 102 interface s1 201

F/R(config)# interface serial 1

F/R(config-if)# encapsulation frame-relay

F/R(config-if)# no frame-relay inverse-arp

F/R(config-if)# frame-relay lmi-type ansi

F/R(config-if)# frame-relay intf-type dce

F/R(config-if)# clock rate 64000

F/R(config-if)# no shutdown

F/R(config-if)# frame-relay route 201 interface s0 102



 3-2. R1, R2 설정 – Multipoint로 설정시

R1(config)# interface s0/0
R1(config-if)# encapsulation frame-relay
R1(config-if)# no frame-relay inverse-arp
R1(config-if)# frame-relay lmi-type ansi
R1(config-if)# no shutdown
R1(config-if)# interface s0/0.12 multipoint
R1(config-subif)# ip address 1.1.12.1 255.255.255.0
R1(config-subif)# frame-relay map ip 1.1.12.2 102 broadcast


R2(config)# interface s0/0
R2(config-if)# encapsulation frame-relay
R2(config-if)# no frame-relay inverse-arp
R2(config-if)# frame-relay lmi-type ansi
R2(config-if)# no shutdown
R2(config-if)# interface s0/0.12 multipoint
R2(config-subif)# ip address 1.1.12.2 255.255.255.0
R2(config-subif)# frame-relay map ip 1.1.12.1 201 broadcast



3-3. R1, R2 설정 – point to point로 설정시


R1(config)# interface s0/0
R1(config-if)# encapsulation frame-relay
R1(config-if)# no frame-relay inverse-arp
R1(config-if)# frame-relay lmi-type ansi
R1(config-if)# no shutdown
R1(config-if)# interface s0/0.12 point-to-point
R1(config-subif)# ip address 1.1.12.1 255.255.255.0
R1(config-subif)# frame-relay interface-dlci 102


R2(config)# interface s0/0
R2(config-if)# encapsulation frame-relay
R2(config-if)# no frame-relay inverse-arp
R2(config-if)# frame-relay lmi-type ansi
R2(config-if)# no shutdown
R2(config-if)# interface s0/0.12 point-to-point
R2(config-subif)# ip address 1.1.12.2 255.255.255.0
R2(config-subif)# frame-relay interface-dlci 201


4. Frame Relay 설정확인

 4-1. Frame Relay 테이블 확인

  - show frame-relay route

  - 각각의 연결이 active로 표시되어 있는지 확인


 4-2. 인접 ping통신(R1→R2, R2→R1)

  - R1#ping 1.1.12.1

  - R2#ping 1.1.12.2