Contents

Multiponit Frame-Relay, Point&Multi, no ip split-horizon

   Jan 5, 2023     8 min read

Ex. Build Up (ft.Frame-Relay)

Untitled

DLCI 102의 의미 R1에서 FR까지의 길을 의미함. (논리적인 길)

방법

1.ip주소

2.FR

R1)

interface s1/0
encapsulation frame-relay
no shutdown

interface s1/0.12 point-to-point
ip address 1.1.12.1 255.255.255.0
frame-relay interface-dlci 102



R2)

interface s1/0
encapsulation frame-relay
no shutdown

interface s1/0.12 point-to-point
ip address 1.1.12.2 255.255.255.0
frame-relay interface-dlci 201

interface s1/0.23 point-to-point
ip address 1.1.23.2 255.255.255.0
frame-relay interface-dlci 203



R3)

interface s1/0
encapsulation frame-relay
no shutdown

interface s1/0.23 point-to-point
ip address 1.1.23.3 255.255.255.0
frame-relay interface-dlci 302

interface s1/0.34 point-to-point
ip address 1.1.34.3 255.255.255.0
frame-relay interface-dlci 304



R4)

interface s1/0
encapsulation frame-relay
no shutdown

interface s1/0.34 point-to-point
ip address 1.1.34.4 255.255.255.0
frame-relay interface-dlci 403



FR)

frame-relay switching

interface s1/1
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 102 interface serial 1/0 201
no shutdown

interface s1/0
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 201 interface serial 1/1 102
frame-relay route 203 interface serial 1/2 302
no shutdown

interface s1/2
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 302 interface serial 1/0 203
frame-relay route 304 interface serial 1/3 403
no shutdown

interface s1/3
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 403 interface serial 1/2 304
no shutdown



3.ip route

결과

Untitled (1)

Multipoint Frame-Relay

  • Multipoint의 경우 여러 개가 연결 될 수 있다.
  • Multipoint는 동적 라우팅에 신경을 써 줘야 한다.

R2)

no interface s1/0.12
no interface s1/0.23



R2를 Multipoint로 하기

Untitled (2)

방법

R2)

interface s1/0.123 multipoint
no frame-relay inverse-arp
ip address 1.1.12.2 255.255.255.0
frame-relay map ip 1.1.12.1 201 broadcast
frame-relay map ip 1.1.12.3 203 broadcast



결과

R1에서 1.1.12.2랑 1.1.12.3에 ping이 가야 됨.

Untitled (3)

이거 확인 했으면 PC끼리 통신 되는지 확인.
(순서 꼭 지킬 것)

추가

R2)

no ip route 192.168.30.0 255.255.255.0 1.1.23.3
no ip route 192.168.40.0 255.255.255.0 1.1.23.3
ip route 192.168.30.0 255.255.255.0 1.1.12.3
ip route 192.168.40.0 255.255.255.0 1.1.12.3



R3)

no ip route 192.168.10.0 255.255.255.0 1.1.23.2
no ip route 192.168.20.0 255.255.255.0 1.1.23.2
ip route 192.168.10.0 255.255.255.0 1.1.12.2
ip route 192.168.20.0 255.255.255.0 1.1.12.2



ip route 후 결과

Untitled (4)

ping이 다 가는 것을 확인할 수 있다.

Point & Multi 혼합

Untitled (5)

방법

R1)

interface s1/0
encapsulation frame-relay
no shutdown

interface s1/0.123 point-to-point
ip address 1.1.123.1 255.255.255.0
frame-relay interface-dlci 102



R3)

interface s1/0
encapsulation frame-relay
no shutdown

interface s1/0.34 point-to-point
ip address 1.1.34.3 255.255.255.0
frame-relay interface-dlci 304



R4)

interface s1/0
encapsulation frame-relay
no shutdown

interface s1/0.34 point-to-point
ip address 1.1.34.4 255.255.255.0
frame-relay interface-dlci 403



R2)

interfae s1/0
encapsulation frame-relay
no shutdown

interface s1/0.123 multipoint
no frame-relay inverse-arp
ip address 1.1.123.2 255.255.255.0
frame-relay map ip 1.1.123.3 203 broadcast
frame-relay map ip 1.1.123.1 201 broadcast



R3)

interface s1/0.123 multipoint
no frame-relay inverse-arp
ip address 1.1.123.3 255.255.255.0
frame-relay map ip 1.1.123.2 302 broadcast



FR)

frame-relay switching

interface s1/0
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 102 interface serial 1/1 201
no shutdown

interface s1/1
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 201 interface serial 1/0 102
frame-relay route 203 interface serial 1/2 302
no shutdown

interface s1/2
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 302 interface serial 1/1 203
frame-relay route 304 interface serial 1/3 403
no shutdown

interface s1/3
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 403 interface serial 1/2 304
no shutdown



no ip split-horizion

  • 명령어 : ip split-horizon

router에 rip해서 show ip route 해 보기
Router)

router rip
version 2
network 1.0.0.0
no auto-summary



Untitled (6)

Untitled (7)
R3, R4가 안 나오는 것을 확인할 수 있음.

R2)

interface s1/0.123 multipoint
no ip split-horizon



Untitled (8)
모두 들어온 것을 확인할 수 있다.

부분 메시 구조 = hub and spoke 구조

Untitled (9)

이런 구조를 부분메시 구조라고 한다.
하나의 인터페이스에 여러 개가 연결되어 있는 것 : 부분 메시 구조, hub and spoke 구조
그래서 rip으로 할 때는 in split-horizon을 비활성화해야 무조건 교환이 된다.

Eigrp로 해 보기

Router)

router eigrp 100
network 1.0.0.0
no auto-summary



R2)

interface s1/0.123 multipoint
no ip split-horizon eigrp 100



R2 명령어 전

Untitled (10)

R2 명령어 후

Untitled (11)

추가 된 것을 확인할 수 있다.

-> 전부 지우기 (eigrp 100, split-horizon)

  • DR 선출 = Broadcast, NonBroadcast
    NonBroadcast는 자동으로 neighbor가 안 됨.

NonBroadcast Type

  • 네트워크 타입 확인

R1)

router ospf 1
network 1.1.1.1 0.0.0.0 area 0
network 1.1.123.1 0.0.0.0 area 0



R2)

router ospf 1
network 1.1.123.2 0.0.0.0 area 0
network 1.1.2.2 0.0.0.0 area 0



R3)

router ospf 1
network 1.1.123.3 0.0.0.0 area 0
network 1.1.3.3 0.0.0.0 area 0
network 1.1.34.3 0.0.0.0 area 0



R4)

router ospf 1
network 1.1.34.4 0.0.0.0 area 0
network 1.1.4.4 0.0.0.0 area 0



R2)

# show ip ospf interface s1/0.123



결과 - NON_BROADCAST TYPE

Untitled (12)

Untitled (13)
R1에서 routing table이 제대로 안 들어오는 것을 확인 할 수 있음.

해결

  • R1에서 네트워크 타입을 논브로드로 바꿔주면 됨.

R1)

interface s1/0.123 point-to-point
ip ospf network non-broadcast



그리고 R2가 반드시 DR이 되어야 함.

R1)

(계속 이어서)
ip ospf priority 0



R3)

interface s1/0.123 multipoint
ip ospf priority 0



그리고 나서 이제 수동으로 적용해줘야 함.

R2)

router ospf 1
neighbor 1.1.123.1
neighbor 1.1.123.3



결과

Untitled (14)

정상적으로 loopback들이 다 들어온 것을 확인할 수 있음.

Broadcast Network Type

  • Broadcast 환경에서 주의

일단 타입 변경,

R1)

interface s1/0.123 point-to-point
ip ospf network broadcast



R2, R3)

interface s1/0.123 multipoint
ip ospf network broadcast

# show ip ospf interface s1/0.123



Untitled (15)

Untitled (16)

Untitled (17)

브로드캐스트로 바뀐 것을 확인할 수 있음.

브로드 캐스트 환경에서는 neighbor가 자동으로 형성되어 지기 때문에 있을 필요는 없다.

R2)

router ospf 1
no neighbor 1.1.123.1
no neighbor 1.1.123.3



Point-to-Multipoint 환경에서 주의

  • 모양 자체가 point-to-multipoint
    네트워크 타입만 바꿔주면 됨.

R1)

interface s1/0.123 point-to-ponit
ip ospf network point-to-multipoint



R2, R3)

interface s1/0.123 multipoint
ip ospf network point-to-multipoint



Untitled (18)

Untitled (19)

Untitled (20)