bxm's IT Story
Full-mesh에서의 Frame-relay 본문
공통]
ena
conf t
no ip domain lookup
line c 0
logg sy
exec-timeout 0
exit
line vty 0 4
pass cisco
exit
int s1/0
no shut
encapsulation frame-relay
no frame-relay inverse-arp
clock rate 64000
end
## Mapping ##
R1]
conf t
int lo0
ip add 1.1.1.1 255.255.255.0
exit
int s1/0.123 m
ip add 1.1.123.1 255.255.255.0
fram map ip 1.1.123.2 102 br
fram map ip 1.1.123.3 103 br
end
wr
R2]
conf t
int lo0
ip add 1.1.2.2 255.255.255.0
exit
int s1/0
ip add 1.1.123.2 255.255.255.0
fram map ip 1.1.123.1 201 br
fram map ip 1.1.123.3 201 br
end
wr
R3]
conf t
int lo0
ip add 1.1.3.3 255.255.255.0
exit
int s1/0.123 m
ip add 1.1.123.3 255.255.255.0
fram map ip 1.1.123.1 301 br
fram map ip 1.1.123.2 301 br
int s1/0.34 p
ip add 1.1.34.3 255.255.255.0
fram inter 304
end
wr
R4]
conf t
int lo0
ip add 1.1.4.4 255.255.255.0
exit
int s1/0.34 p
ip add 1.1.34.4 255.255.255.0
fram inter 403
end
wr
R1]
conf t
router ospf 1
router-id 1.1.1.1
network 1.1.1.1 0.0.0.0 area 0
network 1.1.123.1 0.0.0.0 area 0
exit
int lo0
ip os net point-to-p
end
R2]
conf t
router ospf 1
router-id 1.1.2.2
network 1.1.2.2 0.0.0.0 area 0
network 1.1.123.2 0.0.0.0 area 0
exit
int lo0
ip os net point-to-p
end
R3]
conf t
router ospf 1
router-id 1.1.3.3
network 1.1.3.3 0.0.0.0 area 0
network 1.1.123.3 0.0.0.0 area 0
network 1.1.34.3 0.0.0.0 area 0
exit
int lo0
ip os net point-to-p
end
R4]
conf t
router ospf 1
router-id 1.1.4.4
network 1.1.4.4 0.0.0.0 area 0
network 1.1.34.4 0.0.0.0 area 0
exit
int lo0
ip os net point-to-p
end
R1]
conf t
int s1/0.123
ip ospf net broadcast
end
## 이제 broadcast임.
show int s1/0.123
show ip os int s1/0.123
R2]
show ip os int s1/0.123
## NBMA 이므로 Broadcast로 바꿔야함.
conf t
int s1/0
ip os net br
end
r3]
conf t
int s1/0.123 m
ip os net br
end
## 이제 Neighbor가 맺어졌을 것임.
R1, R2, R3]
show ip os nei
## OSPF의 Priority 기본값은 1이다.
## 물리적으로 중앙인 R1이 'DR'이 되어야하고, R2, R3는 R1이 끊어지면 그냥 끝이므로 DR과 BDR 둘 다 되면 안된다.
## Partial mesh에서 OSPF를 맺을 때는 물리적으로 중앙인 라우터만 DR(Priority = 1 기본값)이 되어야 하고,
나머지 다른 라우터는 DR과 BDR이 되면 안되고 The other(Priority = 0)이 되어야 한다.
R2]
conf t
int s1/0
ip os priority 0
end
R3]
conf t
int s1/0.123
ip ospf priority 0
end
R1, R2, R3]
clear ip os pro : [yes]
show ip ospf nei
끝!
'Network > Cisco (KEDU)' 카테고리의 다른 글
IPv6와 Link-local (3) | 2021.07.01 |
---|---|
가상 링크 (Virtual Link) (0) | 2021.07.01 |
Ether Channel을 통한 Total MAP 구성 (0) | 2021.06.30 |
Open_Source_NET_ NAT (0) | 2021.06.30 |
VTP (Vlan Trunking Protocol) // DTP (Dynamic Trunking Protocol) (0) | 2021.06.30 |