Terriermon - Digimon

OSPF

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



router ospf 100
network 172.16.19.0 0.0.0.255 area 2


end

copy r s










반응형