컴퓨터 과학 & 영상처리 관련/네트워크 프로토콜

111107 - 라우터에 연결된 네트워크 확인 show ip route connected

꺄뜨르 2011. 11. 7. 11:10


HQ(config-if)#do show ip route connected
 C   10.1.10.0/29  is directly connected, Serial1/0
 C   10.1.20.0/29  is directly connected, Serial1/1
 C   10.1.30.0/29  is directly connected, Serial1/2
 C   10.1.40.0/29  is directly connected, Serial1/3
HQ(config-if)#do show ip route c
 C   10.1.10.0/29  is directly connected, Serial1/0
 C   10.1.20.0/29  is directly connected, Serial1/1
 C   10.1.30.0/29  is directly connected, Serial1/2
 C   10.1.40.0/29  is directly connected, Serial1/3
HQ(config-if)#



R1(config-if)#do show ip route c
 C   10.1.10.0/29  is directly connected, Serial1/0
 C   10.1.12.0/29  is directly connected, Serial1/1
 C   199.1.1.1/32  is directly connected, Loopback1
 C   199.1.1.2/32  is directly connected, Loopback2
R1(config-if)#router rip
R1(config-router)#network 10.0.0.0
R1(config-router)#network 199.1.1.0
R1(config-router)#end
R1#