
R1 - ASBR : 2개의 라우팅 정보를 갖고 있는 라우터)
conf t
int fa0/0
description R1-SW1
ip add 172.163.1.254 255.255.255.0
no sh
int s1/1
description R1-R2
ip add 172.16.12.1 255.255.255.0
no sh
int s1/0
description R-INTERNET
ip add 192.168.110.1 255.255.255.0
no sh
router ospf 1
net 172.16.1.0 0.0.0.255 area 1
net 172.16.12.0 0.0.0.255 area 1
router eigrp 100
net 192.168.110.0 0.0.0.255
no auto-summary
end
copy run start
R2 - Inter Router : 단일 에어리어만 속해 있는 라우터)
conf t
int f0/0
description R2-SW
ip add 172.16.2.254 255.255.255.0
no sh
int s1/1
description R2-R1
ip add 172.16.12.2 255.255.255.0
no sh
int s1/2
description R2-R3
ip add 172.16.23.2 255.255.255.0
no sh
router ospf 2
net 172.16.2.0 0.0.0.255 area 1
net 172.16.12.0 0.0.0.255 area 1
net 172.16.23.0 0.0.0.255 area 1
end
copy running-config startup-config
R3 - ABR : 두개 이상의 area에 속한 라우터)
conf t
int f0/0
description R3-SW
ip add 172.16.3.254 255.255.255.0
no sh
int s1/2
description R3-R2
ip add 172.16.23.3 255.255.255.0
no sh
int s1/3
description R3-R4
ip add 172.16.34.3 255.255.255.0
no sh
router ospf 3
net 172.16.3.0 0.0.0.255 area 1
net 172.16.23.0 0.0.0.255 area 1
net 172.16.34.0 0.0.0.255 area 0
end
copy run start
R4)
conf t
int f0/0
description R4-SW
ip add 172.16.4.254 255.255.255.0
no sh
int s1/3
description R4-R3
ip add 172.16.34.4 255.255.255.0
no sh
int s1/0
description R4-R5
ip add 172.16.45.4 255.255.255.0
no sh
int s1/1
description R4-R6
ip add 172.16.46.4 255.255.255.0
no sh
int s1/2
description R4-R7
ip add 172.16.47.4 255.255.255.0
no sh
router ospf 4
net 172.16.4.0 0.0.0.255 area 0
net 172.16.34.0 0.0.0.255 area 0
net 172.16.45.0 0.0.0.255 area 0
net 172.16.46.0 0.0.0.255 area 0
net 172.16.47.0 0.0.0.255 area 0
end
copy run start
R5)
conf t
int f0/0
description R5-SW
ip add 172.16.5.254 255.255.255.0
no sh
int s1/0
description R5-R4
ip add 172.16.45.5 255.255.255.0
no sh
router ospf 5
net 172.16.5.0 0.0.0.255 area 0
net 172.16.45.0 0.0.0.255 area 0
end
copy run start
R6)
conf t
int f0/0
description R6-SW
ip add 172.16.6.254 255.255.255.0
no sh
int s1/1
description R6-R4
ip add 172.16.46.6 255.255.255.0
no sh
router ospf 6
net 172.16.6.0 0.0.0.255 area 0
net 172.16.46.0 0.0.0.255 area 0
end
copy run start
R7)
conf t
int f0/0
description R7-SW
ip add 172.16.7.254 255.255.255.0
no sh
int s1/2
description R7-R4
ip add 172.16.47.7 255.255.255.0
no sh
int s1/0
description R7-R11
ip add 192.168.117.7 255.255.255.0
no sh
int s1/1
description R7-R8
ip add 172.16.78.7 255.255.255.0
no sh
router ospf 7
net 172.16.7.0 0.0.0.255 area 2
net 172.16.47.0 0.0.0.255 area 0
net 172.16.78.0 0.0.0.255 area 2
router rip
net 192.168.117.0
version 2
no auto-summary
end
copy run start
R8)
conf t
int f0/0
description R8-SW
ip add 172.16.8.254 255.255.255.0
no sh
int s1/1
description R8-R7
ip add 172.16.78.8 255.255.255.0
no sh
int s1/0
description R8-R9
ip add 172.16.89.8 255.255.255.0
no sh
router ospf 8
net 172.16.8.0 0.0.0.255 area 2
net 172.16.78.0 0.0.0.255 area 2
net 172.16.89.0 0.0.0.255 area 2
end
copy run start
R9)
conf t
int f0/0
description R9-SW
ip add 172.16.9.254 255.255.255.0
no sh
int s1/0
description R9-R8
ip add 172.16.89.9 255.255.255.0
no sh
router ospf 9
net 172.16.9.0 0.0.0.255 area 2
net 172.16.89.0 0.0.0.255 area 2
end
copy run start
R10)
conf t
int f0/0
description R10-SW
ip add 192.168.10.254 255.255.255.0
no sh
int s1/0
description R10-R1
ip add 192.168.110.10 255.255.255.0
no sh
router eigrp 100
network 192.168.110.0 0.0.0.255
network 192.168.10.0 0.0.0.255
no auto-summary
end
copy run start
R11)
conf t
int f0/0
description R11-SW
ip add 192.168.11.254 255.255.255.0
no sh
int s1/0
description R11-R7
ip add 192.168.117.11 255.255.255.0
no sh
router rip
ver 2
network 192.168.11.0
network 192.168.117.0
no auto-summary
end
copy run start
재분배
R1)
conf t
router eigrp 100
redistribute ospf 1 metric 1544 2000 255 1 1500
router ospf 1
redistribute eigrp 100 subnets
R7)
conf t
router rip
redistribute ospf 7 metric 1
router ospf 7
redistribute rip metric 1 subnets
