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
'네트워크 > 라우터' 카테고리의 다른 글
GNS3에서 클라우드와 라우터를 연결하면 뜨는 오류 (0) | 2020.05.20 |
---|---|
클라우드를 통하여 다른 PC와 연결 (0) | 2020.05.20 |
클라우드-02 (0) | 2020.05.17 |
RIP-STATIC 재분배-02 (0) | 2020.05.17 |
수동 서머리-02 (0) | 2020.05.17 |