2012년 1월 29일 일요일

16. 라우팅 프로토콜


R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#no ip route 0.0.0.0 0.0.0.0 192.168.0.2 - 기존의 스태틱 라우팅테이블을 삭제한다
R1(config)#router ?
bgp Border Gateway Protocol (BGP)
eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)
ospf Open Shortest Path First (OSPF)
rip Routing Information Protocol (RIP)
R1(config)#router rip
R1(config-router)#version 2 - rip의 경우 네트워크를 서브넷팅을 했을경우에는 version 2를 사용해야하고 버전2를 사용하지 않으면 서브넷 네트워크를 인식하지 못함
R1(config-router)#network 192.168.1.0 - 자신과 연결되어있는 네트워크를 전부 등록한다
(내가 이런 네트워크를 가지고 있다~~~고 광고할 네트워크 말이다 - 나 이런 라우터야! 연락줘~~^^;)
R1(config-router)#network 192.168.0.0 - 직접연결된 또 다른 네트워크
R1(config-router)#end
R1#copy run start

댓글 없음:

댓글 쓰기