네트워크/라우터

EIGRP rip 연결

work01 2020. 5. 17. 00:55

[R1]

conf t

int f0/0
ip add 172.16.1.254 255.255.255.0
no shutdown

int s2/0
ip add 172.16.12.1 255.255.255.0
no shutdown

int s2/1
ip add 172.16.13.1 255.255.255.0
no shutdown

int s2/2
ip add 192.168.12.1 255.255.255.0
no shutdown

router eigrp 1
no auto-summary
network 172.16.1.0 0.0.0.255
network 172.16.12.0 0.0.0.255
network 172.16.13.0 0.0.0.255
network 192.168.12.0 0.0.0.255
redistribute rip metric 1544 2000 255 1 1500 #다른 프로토콜로 재분배 할때 기본metric 값 지정 필수

exit

router rip
version 2
no auto-summary
network 172.16.1.0 
network 172.16.12.0 
network 172.16.13.0 
network 192.168.12.0 
redistribute eigrp 1 metric 2 #다른 프로토콜로 재분배 할때 기본metric 값 지정 필수


end

copy r s

[R2]

conf t

int f0/0
ip add 172.16.2.254 255.255.255.0
no shutdown

int s2/0
ip add 172.16.12.2 255.255.255.0
no shutdown

router eigrp 1
no auto-summary
network 172.16.2.0 0.0.0.255
network 172.16.12.0 0.0.0.255

end

copy r s




[R3]

conf t

int f0/0
ip add 172.16.3.254 255.255.255.0
no shutdown

int s2/1
ip add 172.16.13.3 255.255.255.0
no shutdown

router eigrp 1
no auto-summary
network 172.16.3.0 0.0.0.255
network 172.16.13.0 0.0.0.255

end

copy r s




[R4]

conf t

int f0/0
ip add 192.168.1.254 255.255.255.0
no shutdown

int s2/2
ip add 192.168.12.2 255.255.255.0
no shutdown

router rip
version 2
no auto-summary
network 192.168.1.0 255.255.255.0
network 192.168.12.0 255.255.255.0

end

copy r s


반응형