총 복습
Ex. 총 복습
조건)
R13이나 R12에서 모든 R로 ping이 다 가면 됨.
R11쪽이 multipoing
방법
1. ip 주소 주기
2. Frame-Relay
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 301 interface serial 1/2 103
no shutdown
interface s1/2
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 103 interface serial 1/0 301
no shutdown
R11)
interface s1/2
encapsulation frame-relay
no shutdown
interface s1/2.123 multipoint
ip address 10.10.123.11 255.255.255.0
ip ospf network point-to-multipoint
frame-relay map ip 10.10.123.12 301 broadcast
frame-relay map ip 10.10.123.13 201 broadcast
no frame-relay inverse-arp
R12)
interface s1/0
encapsulation frame-relay
no shutdown
interface s1/0.12 point-to-point
ip address 10.10.123.12 255.255.255.0
frame-relay interface-dlci 103
R13)
interface s1/0
encapsulation frame-relay
no shutdown
interface s1/0.13 point-to-point
ip address 10.10.123.13 255.255.255.0
frame-relay interface-dlci 102
3. EIGRP / OSPF / RIP / 재분배
R11)
interface s1/2.12 multipoint
ip ospf network point-to-multipoint
interface s1/2.13 multipoint
ip ospf network point-to-multipoint
4. BGP 기본구성 + 조건
R1)
router bgp 100
bgp router-id 1.1.1.1
neighbor 1.1.12.2 remote-as 100
neighbor 2.2.12.3 remote-as 100
network 192.168.1.0 mask 255.255.255.0
R2)
router bgp 100
bgp router-id 2.2.2.2
neighbor 1.1.12.1 remote-as 100
neighbor 2.2.12.3 remote-as 100
network 192.168.2.0 mask 255.255.255.0
R3)
router bgp 100
bgp router-id 3.3.3.3
neighbor 2.2.12.2 remote-as 100
neighbor 3.3.12.4 remote-as 200
neighbor 1.1.12.1 remote-as 100
network 192.168.3.0 mask 255.255.255.0
R4)
router bgp 200
bgp router-id 4.4.4.4
neighbor 3.3.12.3 remote-as 100
neighbor 4.4.12.5 remote-as 200
neighbor 3.3.12.3 next-hop-self
neighbor 4.4.12.5 next-hop-self
network 192.168.4.0 mask 255.255.255.0
R5)
router bgp 200
bgp router-id 5.5.5.5
neighbor 4.4.12.4 remote-as 200
neighbor 5.5.12.6 remote-as 200
neighbor 4.4.12.4 route-reflector-client
neighbor 5.5.12.6 route-reflector-client
network 192.168.5.0 mask 255.255.255.0
R6)
router bgp 200
bgp router-id 6.6.6.6
neighbor 5.5.12.5 remote-as 200
neighbor 6.6.12.7 remote-as 200
neighbor 5.5.12.5 route-reflector-client
neighbor 6.6.12.7 route-reflector-client
network 192.168.6.0 mask 255.255.255.0
R7)
router bgp 200
bgp router-id 7.7.7.7
neighbor 6.6.12.6 remote-as 200
neighbor 7.7.12.8 remote-as 300
neighbor 6.6.12.6 next-hop-self
neighbor 7.7.12.8 next-hop-self
network 192.168.7.0 mask 255.255.255.0
R8)
router bgp 30
bgp router-id 8.8.8.8
bgp confederation identifier 300
bgp confederation peers 20
neighbor 7.7.12.7 remote-as 200
neighbor 8.8.12.9 remote-as 20
network 192.168.8.0 mask 255.255.255.0
R9)
router bgp 20
bgp router-id 9.9.9.9
bgp confederation identifier 300
bgp confederation peers 10 30
neighbor 8.8.12.8 remote-as 30
neighbor 9.9.12.10 remote-as 10
network 192.168.9.0 mask 255.255.255.0
R10)
router bgp 10
bgp router-id 10.10.10.10
bgp confederation identifier 300
bgp confederation peers 20
neighbor 9.9.12.10 remote-as 10
network 192.168.10.0 mask 255.255.255.0
추가
R1에 11, 12, 13 루프백 bgp 네트워크 추가
R10에 11, 12, 13 루프백 bgp 네트워크 추가
왼쪽 FR 부분 OSPF 해주기
추가 02
R1, R10)
router ospf 1
default-information originate always
결과
ping도 다 가면 된다.