1. Frame-Relay ---> 기술이 발전해서 노후화
- 하나의 물리적인 회선에 여러 가상회선으로 전용선처럼 사용하는데 DSU/CSU장비보다 비용적인 면에서 저렴하다.
그러나 그만큼 저렴하기 때문에 품질이 떨어진다.
- Layer 2 계층 WAN 구간 서비스(◦물리계층, 데이터링크계층에서 동작하는 WAN 프로토콜)
- Multi Access 지원(다중 연결 서비스 지원) & 전용 회선 보다 통신 비용이 저렴하다.
대기업,국가기관 > 중소기업 많이 사용 현재는 거의 사용하지 않는다.
- x.25 프로토콜 사용
- 장비는 라우터를 사용하며 시리얼 인터페이스로 연결
- 패킷에 오류가 검출되면 오류복원을 제공하는 것이 아니라 패킷을 폐기해 버린다.
- PVC(permanent Virtual Circuit): 통신 처리가 실시되는 가상 회선 가입자마다 고유 식별번호(DLCI)가 제공됨
DLCI (Data Link Connection Identifier): 프레임릴레이에서 각 PVC들을 구별하기 위한 식별주소
- CIR: frame-Relay 망에서 가입자에게 제공하는 전송 보장 속도
-
- 패켓 스위칭 서비스(전송효율을 극대화) : IP 라우팅 서비스(L3)가 아닌, L2 스위칭 방식
- Ex) Frame-Relay | IP | TCP | DATA
---------------- DLCI 주소 : Frame-Relay 주소
프레임릴레이 토폴로지
- 프레임 릴레이 스위치: 프레임 릴레이에서 프레임 전달하기 위해 중간에 위치해 있는 라우터, 스위치가 아니다.
각 라우터에 할당된 DLCI번호를 기반으로 프레임을 전달한다.
1. 허브 - 앤 -스포크 토폴로지:
가장 일반적(star)형
2. 완전 그물망
허브-앤-스포크 토폴로지보다 많은 연결, 이중화 기능이 있어 네트워크 안정에는 도움이 될수 있으나 PVC회선 비용 증가
3. 부분 그물망 토폴로지
완전그물망처럼 다 연결하는것이 아니라 특정 부분만 연결하는 구조, 트래픽 분산시키기 위한 방법으로 사용된다.
스플릿 호라이즌 (Spilt Horizon) 실습
@R1
int s0/2/0
ip add 203.230.7.1 255.255.255.0
encapsulation frame-relay
frame-relay map ip 203.230.7.2 102 broadcast
frame-relay map ip 203.230.7.3 102 broadcast
no shut
exit
@R2
int s0/2/0
ip add 203.230.7.2 255.255.255.0
encapsulation frame-relay
frame-relay map ip 203.230.7.1 201 broadcast
frame-relay map ip 203.230.7.3 203 broadcast
no shut
exit
@R3
int s0/2/0
ip add 203.230.7.3 255.255.255.0
encapsulation frame-relay
frame-relay map ip 203.230.7.2 302 broadcast
frame-relay map ip 203.230.7.3 302 broadcast
no shut
exit
R1 ,R3 라우팅 테이블
R1#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.10.10.0/24 is directly connected, GigabitEthernet0/0
L 10.10.10.1/32 is directly connected, GigabitEthernet0/0
203.230.7.0/24 is variably subnetted, 2 subnets, 2 masks
C 203.230.7.0/24 is directly connected, Serial0/2/0
L 203.230.7.1/32 is directly connected, Serial0/2/0
---------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
R3#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
30.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 30.30.30.0/24 is directly connected, GigabitEthernet0/0
L 30.30.30.1/32 is directly connected, GigabitEthernet0/0
203.230.7.0/24 is variably subnetted, 2 subnets, 2 masks
C 203.230.7.0/24 is directly connected, Serial0/2/0
L 203.230.7.3/32 is directly connected, Serial0/2/0
Ripv2 라우팅을 했지만 R3의 정보는 올라오지 않았다. R3-> R2의 s0/2/0로 보냈지만 split-horizon때문에 라우팅 정보가 업데이트 되지않았다. R3도 마찬가지이다. split-horizon은 앞서 rip프로토콜의 루프 방지를 위해 사용한다고 했었다. 라우팅 업데이트가 나가는 것을 차단하기 때문이다.
R2 테이블
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
R 10.10.10.0/24 [120/1] via 203.230.7.1, 00:00:15, Serial0/2/0
20.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 20.20.20.0/24 is directly connected, GigabitEthernet0/0
L 20.20.20.1/32 is directly connected, GigabitEthernet0/0
30.0.0.0/24 is subnetted, 1 subnets
R 30.30.30.0/24 [120/1] via 203.230.7.3, 00:00:11, Serial0/2/0
203.230.7.0/24 is variably subnetted, 2 subnets, 2 masks
C 203.230.7.0/24 is directly connected, Serial0/2/0
L 203.230.7.2/32 is directly connected, Serial0/2/0
R2는 R1과 R3로부터 라우팅 정보를 받으므로 완전한 라우팅 정보가 있다.
위와 같은 문제를 해결하기 위해 R2의 s0/2/0 인터페이스에 no ip split-horizon 명령어를 입력하여 스플릿 호라이즌이 동작하지 않도록 설정한다.
no ip split-horizon
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 1.1.1.0/24 is directly connected, Loopback0
L 1.1.1.1/32 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
R 2.2.2.0/24 [120/1] via 203.230.7.2, 00:00:24, Serial0/2/0
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.10.10.0/24 is directly connected, GigabitEthernet0/0
L 10.10.10.1/32 is directly connected, GigabitEthernet0/0
20.0.0.0/24 is subnetted, 1 subnets
R 20.20.20.0/24 [120/1] via 203.230.7.2, 00:00:24, Serial0/2/0
203.230.7.0/24 is variably subnetted, 2 subnets, 2 masks
C 203.230.7.0/24 is directly connected, Serial0/2/0
L 203.230.7.1/32 is directly connected, Serial0/2/0
-----------------------------------------------------
R3#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
R 1.1.1.0/24 [120/2] via 203.230.7.2, 00:00:11, Serial0/2/0
2.0.0.0/24 is subnetted, 1 subnets
R 2.2.2.0/24 [120/1] via 203.230.7.2, 00:00:11, Serial0/2/0
3.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 3.3.3.0/24 is directly connected, Loopback0
L 3.3.3.1/32 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 1 subnets
R 10.10.10.0/24 [120/2] via 203.230.7.2, 00:00:11, Serial0/2/0
20.0.0.0/24 is subnetted, 1 subnets
R 20.20.20.0/24 [120/1] via 203.230.7.2, 00:00:11, Serial0/2/0
30.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 30.30.30.0/24 is directly connected, GigabitEthernet0/0
L 30.30.30.1/32 is directly connected, GigabitEthernet0/0
203.230.7.0/24 is variably subnetted, 2 subnets, 2 masks
C 203.230.7.0/24 is directly connected, Serial0/2/0
L 203.230.7.3/32 is directly connected, Serial0/2/0
다시 라우팅 테이블을 확인해보면 잘 올라온다.
show interfance 명령어를 사용하여 s0/2/0 인터페이스가 프레임 릴레이로 잘 동작하고 있는지 확인한다.
Serial0/2/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 203.230.7.2/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
3.Encapsulation Frame Relay(캡슐화방식이 프레임인지), loopback not set, keepalive set (10 sec)
LMI enq sent 187, LMI stat recvd 186, LMI upd recvd 0, DTE LMI up
LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0
LMI DLCI 1023 2.LMI type is CISCO frame relay DTE
Broadcast queue 0/64, broadcasts sent/dropped 0/0, interface broadcasts 0
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 32 bits/sec, 0 packets/sec
5 minute output rate 4 bits/sec, 0 packets/sec
1.74 packets input(패킷을 얼마나 주고받았는지), 3848 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
show frame-relay pvc : pvc 상태를 알 수 잇다. DLCI번호와 PVC상태 그리고 사용하고 잇는 인터페이스도 알수있다.
inactive 또는 deleted가 나오면 프레임 릴레이가 관련된 설정이 잘못된 것이다.
DLCI = 201, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/2/0
input pkts 14055 output pkts 32795 in bytes 1096228
out bytes 6216155 dropped pkts 0 in FECN pkts 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 32795 out bcast bytes 6216155
DLCI = 203, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/2/0
input pkts 14055 output pkts 32795 in bytes 1096228
out bytes 6216155 dropped pkts 0 in FECN pkts 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
show frame-relay lmi : lmi 통계 정보확인
LMI Statistics for interface Serial0/2/0 (Frame Relay DTE) LMI TYPE = CISCO
Invalid Unnumbered info 0 Invalid Prot Disc 0
Invalid dummy Call Ref 0 Invalid Msg Type 0
Invalid Status Message 0 Invalid Lock Shift 0
Invalid Information ID 0 Invalid Report IE Len 0
Invalid Report Request 0 Invalid Keep IE Len 0
Num Status Enq. Sent 243 Num Status msgs Rcvd 242
Num Update Status Rcvd 0 Num Status Timeouts 16
show frame-relay map : DLCI가 올바르게 맵핑이 되어있는지 확인
Serial0/2/0 (up): ip 203.230.7.1 dlci 201, static,
broadcast,
CISCO, status defined, active
Serial0/2/0 (up): ip 203.230.7.3 dlci 203, static,
broadcast,
CISCO, status defined, active
'네트워크/서버/모의해킹 > 네트워크' 카테고리의 다른 글
17.3.14 22일차 (Syslog, SNMP) (504) | 2017.03.15 |
---|---|
17.3.13 20일차(윈도우서버구성:dhcp,http,ftp,e-mail,dns) (513) | 2017.03.13 |
17.3.03 14일차(유지보수 보고서작성 및 dhcp,nat복습) (497) | 2017.03.03 |
17.3.02 13일차(라우터 dhcp,NAT,PAT) (477) | 2017.03.02 |
17.2.28 12일차(ACL) (1183) | 2017.02.28 |