Terriermon - Digimon

OSPF+RIP

2020. 5. 24. 13:31네트워크/라우터

config
[R1]

en

conf t

int s2/0
ip add 172.16.14.1 255.255.255.0
no shutdown

int s2/1
ip add 172.16.12.1 255.255.255.0
no shutdown

int s2/2
ip add 172.16.18.1 255.255.255.0
no shutdown

int s2/3
ip add 172.16.13.1 255.255.255.0
no shutdown

router ospf 100
network 172.16.14.0 0.0.0.255 area 0
network 172.16.12.0 0.0.0.255 area 0
network 172.16.18.0 0.0.0.255 area 0
network 172.16.13.0 0.0.0.255 area 0

end

copy r s



[R2]

en

conf t


int s2/1
ip add 172.16.12.2 255.255.255.0
no shutdown

router ospf 100
network 172.16.12.0 0.0.0.255 area 0

end

copy r s


[R3]


en

conf t


int s2/3
ip add 172.16.13.3 255.255.255.0
no shutdown

router ospf 100
network 172.16.12.0 0.0.0.255 area 0

end

copy r s

[R4]



en

conf t


int s2/0
ip add 172.16.14.4 255.255.255.0
no shutdown
int s2/1
ip add 172.16.45.4 255.255.255.0
no shutdown

router ospf 100
network 172.16.14.0 0.0.0.255 area 0
network 172.16.45.0 0.0.0.255 area 1

end

copy r s


[R5]


en

conf t


int s2/1
ip add 172.16.45.5 255.255.255.0
no shutdown

int s2/2
ip add 172.16.56.5 255.255.255.0
no shutdown


router ospf 100
network 172.16.45.0 0.0.0.255 area 1
network 172.16.56.0 0.0.0.255 area 1

end

copy r s


[R6]


en

conf t


int s2/2
ip add 172.16.56.6 255.255.255.0
no shutdown

int s2/3
ip add 172.16.67.6 255.255.255.0
no shutdown


router ospf 100
redistribute eigrp 100 subents
network 172.16.56.0 0.0.0.255 area 1
network 172.16.67.0 0.0.0.255 area 1

router eigrp 100
redistribute ospf 100
default-metric 1000 1 1 1 1500
network 172.16.56.0 0.0.0.255
network 172.16.67.0 0.0.0.255


end

copy r s


[R7]


en

conf t




int s2/3
ip add 172.16.67.7 255.255.255.0
no shutdown


router EIGRP 100
no auto-summary
network 172.16.67.0
end

copy r s

[R8]


en

conf t


int s2/2
ip add 172.16.18.8 255.255.255.0
no shutdown

int s2/3
ip add 172.16.89.8 255.255.255.0
no shutdown


router ospf 100
network 172.16.18.0 0.0.0.255 area 0
network 172.16.89.0 0.0.0.255 area 2

end

copy r s

[R9]



en

conf t



int s2/3
ip add 172.16.89.9 255.255.255.0
no shutdown

int s2/4
ip add 172.16.19.9 255.255.255.0
no shutdown



router ospf 100
network 172.16.19.0 0.0.0.255 area 2
network 172.16.89.0 0.0.0.255 area 2

end

copy r s


[R10]




en

conf t

int s2/4
ip add 172.16.19.10 255.255.255.0
no shutdown

int s2/5
ip add 172.16.111.10 255.255.255.0
no shutdown


router ospf 100
network 172.16.19.0 0.0.0.255 area 2
network 172.16.111.0 0.0.0.255 area 2
redistribute rip subnets

router rip
version 2
redistribute ospf 100 metric 2
no auto-summary
network 172.16.19.0
network 172.16.111.10



end

copy r s

[R11]

en

conf t

int s2/5
ip add 172.16.111.11 255.255.255.0
no shutdown

router rip
version 2
no auto-summary
network 172.16.111.0

end

copy r s










반응형

'네트워크 > 라우터' 카테고리의 다른 글

IPv6  (0) 2020.07.27
라우터 기초상식  (0) 2020.06.11
OSPF  (0) 2020.05.24
클라우드를 통하여 다른 PC와 연결하기 위한 기초 작업  (0) 2020.05.20
GNS3에서 클라우드와 라우터를 연결하면 뜨는 오류  (0) 2020.05.20