static ======================================
Rs2(config)# ip route 0.0.0.0 0.0.0.0 192.4.12.1
Rs1(config)# ip route 0.0.0.0 0.0.0.0 192.4.11.10
Rs1(config)# ip route 192.4.13.0 255.255.255.0 192.4.12.2
RIPv2 =======================================
Rr2(config)#router rip
Rr2(config-router)#version 2
Rr2(config-router)#no auto-summary
Rr2(config-router)#network 192.4.23.0
Rr2(config-router)#network 192.4.22.0
Rr2(config-router)#passive-interface g0/0
Rr1(config)#router rip
Rr1(config-router)#version 2
Rr1(config-router)#no auto-summary
Rr1(config-router)#network 192.4.21.0
Rr1(config-router)#network 192.4.22.0
Rm===========================================
Rm(config)#ip route 192.4.12.0 255.255.255.0 192.4.11.1
Rm(config)#ip route 192.4.13.0 255.255.255.0 192.4.11.1
Rm(config)#router rip
Rm(config-router)#version 2
Rm(config-router)#no auto-summary
Rm(config-router)#network 192.4.21.0
Rm(config-router)#network 192.4.11.0
Rm(config-router)#redistribute static
* Rm(config-router)#redistribute static
: 정적 라우팅 정보를 rip으로 가져오는 명령
TEST
PC1 > PC2
C:\>ping 192.4.23.11
Pinging 192.4.23.11 with 32 bytes of data:
Reply from 192.4.23.11: bytes=32 time=13ms TTL=123
Reply from 192.4.23.11: bytes=32 time=10ms TTL=123
Reply from 192.4.23.11: bytes=32 time=12ms TTL=123
Reply from 192.4.23.11: bytes=32 time=29ms TTL=123
Ping statistics for 192.4.23.11:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 10ms, Maximum = 29ms, Average = 16ms
'네트워크 공부 기록' 카테고리의 다른 글
EIGRP 실습 (0) | 2022.01.26 |
---|---|
EIGRP (Enhanced Interior Gateway Protocol) (0) | 2022.01.26 |
신뢰적 Data 전송 : rdt 1.0 (0) | 2022.01.18 |
Transport Layer (0) | 2022.01.18 |
OSPF 실습 (0) | 2022.01.18 |