본문 바로가기

네트워크

(56)
passive-interface R1#conf t R1(config)#router rip R1(config-router)#passive-interface fa 0/0 R1(config-router)# fa0/0 에 rip정보를 차단하겠다
RIPv1 Dynamic Routing( RIPv1 동적 경로 ) 설정 먼저 process를 킨다 Router(config)#router process(rip,ospf 등등..) Dynamic Routing Protocol : RIP en show ip route connected C x.x.x.x C y.y.y.y conf t router rip network x.x.x.x network y.y.y.y end show run show ip route -------------------------------------------------------------------------------- R1(config)#router rip R1(config-router)#network 192.168.1.0 R1(config-router)#network 192.168.2.0 R1(c..
다양한 Routing Protocol2 1.Metric이나 Update 방식 Distance Vector 네트워크 변화를 감지 못함 -네트워크 정보를 정기적인 시간마다 update -거리와 방향에 따라서 metric 계산 -루핑 발생 -RIP, IGRP, EIGRP, BGP Link State 네트워크 변화를 감지 -변화 즉시 전달 -전체 토폴로지를 구성해서 metric 계산 -OSPF, IS-IS 2. Subnetmask 정보 전달여부 Classful -서브넷 마스크를 전달하지 않는다 -default sm 인식 -vlsm 환경에서 통신이 잘 안될수가 있음 -RIPv1,IGRP Classless -서브넷 마스크를 전달 -서브넷팅&VLSM환경에서 통신이 가능함. -RIPv2,EIGRP,OSPF,BGP
다양한 Routing Protocol 1 IGP (회사 안에서 쓸수있는것) -RIP (Routing Information Protocol) 변화 감지를 못해서 일정한시간이 되면 물어봄 -OSPF ,IS-IS bandwidth 대역폭계산 Metric 비용 산정 변화감지 가능 -IGRP EIGRP -CISCO장비에서만 쓸수있음) bandwidth,delay 계산 EGP 회사와 회사 연결(IGP---IGP) BGP 전세계
Default Static Route(디폴트 정적 경로) default route 0.0.0.0 0.0.0.0 = 0.0.0.0/0 (routing table) 내가 알고있는거 외의 나머지 다 Sungsu_R#config t Sungsu_R(config)#no ip route Sungsu_R(config)#ip route 0.0.0.0 0.0.0.0 120.1.2.246
traceroute (경로 추적) traceroute (win-cmd> tracert 120.1.2.227 ) 경로 추적 PC>tracert 120.1.2.227 Tracing route to 120.1.2.227 over a maximum of 30 hops: hops(패킷이 라우터를 거치는 수) -목적지를 못찾고 계속 반복해서 도는걸 방지하기 위해 홉수를 걸어 홉수가 0이 되면 버린다. 1(TTL값) 1 ms 0 ms 0 ms 120.1.2.126 2 0 ms 0 ms 0 ms 120.1.2.246 3 0 ms 0 ms 0 ms 120.1.2.254 4 2 ms 0 ms 0 ms 120.1.2.227 Trace complete. PC>tracert 120.1.2.227 했을때의 TTL값 PC>ping 120.1.2.227 했을때의 T..
Routing table(라우팅 테이블) 보는 법 Sungsu_R#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static ..
Cisco Packet Tracer (패킷 트레이서) 4 - 라우터 4대 IP할당, Static Routing(정적 라우팅) R1 Router#conf t Router(config)#hostname R1 R1(config)#int fa 0/0 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#ex R1(config)#int fa 0/1 R1(config-if)#ip address 192.168.2.254 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#ex R1(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.253 R1(config)#ip route 192.168.5.0 255.255.255.0 192.168.2.253 ..