Please Enable JavaScript!
Mohon Aktifkan Javascript![ Enable JavaScript ]

Network 구성 Static, RIP, EIGRP

2015. 8. 5. 21:18network

728x90




위 그림은 너무 작아서 안보이므로 아래에 크게.


Static 설정시







위 그림과 같은 네트워크에서 라우터 설정시.

** Seoul Router Se0/0 설정 **

Seoul(config-if)#

Seoul(config-if)#interface serial 0/0

Seoul(config-if)#ip address 1.1.12.1 255.255.255.252

Seoul(config-if)#clock rate 128000

Seoul(config-if)#description Seoul_WAN_Connection

Seoul(config-if)#no shutdown


**SEOUL 라우터에서 211.100.10.193으로 Ping test

SEOUL#ping 211.100.10.193


Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 211.100.10.193, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 0/2/10 ms


// .!!!! 여기서 '.' 은 ping 안될때 나오지만 처음에 테이블정보를 가져오기 때문에 처음에만 '.'이고 정상적인 연결이 되었을때는 '!' 뜸.









** Busan Router Se0/1 설정 **

Busan(config-if)#

Busan(config-if)#interface serial 0/1

Busan(config-if)#ip address 1.1.12.5 255.255.255.252

Busan(config-if)#clock rate 128000

Busan(config-if)#encapsulation ppp

Busan(config-if)#description Busan_WAN_Connection

Busan(config-if)#no shutdown


BUSAN#show 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 route, o - ODR

P - periodic downloaded static route


Gateway of last resort is not set


1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 1.1.12.4/30 is directly connected, Serial0/1

C 1.1.12.6/32 is directly connected, Serial0/1

150.7.0.0/28 is subnetted, 1 subnets

C 150.7.64.32 is directly connected, FastEthernet0/0

211.100.10.0/26 is subnetted, 1 subnets

S 211.100.10.192 [1/0] via 1.1.12.6


위 내용에서 1.1.12.6/32 prefix 값이 32라는 특정한 IP를 지목하는 내용을 확인 할 수있다.

상대방의 아이피를 정확히 표현해주는데 이것은 PPP 옵션일 때 뜬다. 





** Interface 설정만 한 경우, Routing Protocol의 필요성 **

- Interface 설정 후 Routing Table에는 Connected Network 정보만 등록된다. ( 즉, Router와 직접 연결된 정보만 install)

- Router와 직접 연결되어 있지 않은 Remote Network 정보는 Routing Table에 등록되지 않는다.

- Router는 목적지 IP 주소로 가는 경로를 Routing Table에서 확인하기 때문에 Routing Table에 목적지 Network에 정보가

없는 경우 해당 트래픽은 폐기된다.


결과적으로 Interface 설정만 완료했을 경우 Connected Network까지만 통신이 가능하고 Remote Network로 통신은 불가능하다.


이를 해결하기 위한 방법은 Routing Table에 Remote Network 정보를 추가한다.

How?

=>Routing Protocol을 설정.

Remote Network 정보를 Router의 Routing Table에 추가하여 Routing이 가능하게 해준다.



RIP 의 경우


1. SEOUL : SEOUL 에서 BUSAN Static IP 설정

2. BUSAN : BUSAN에서 SEOUL Static IP 설정

3. RIP : SEOUL,BUSAN Static IP 설정


EIGRP의 경우


1. SEOUL : 라우터에 물려있는 양쪽 두개의 네트워크를 같은 AS Number로 설정해준다.

2. BUSAN : 위와 동일하다.

3. RIP : 동일.


728x90

'network' 카테고리의 다른 글

Router Mode( User mode, Privileged mode)  (0) 2015.08.05
ACL(Access Control List)  (0) 2015.07.29
OSPF (Open Shortest Path First)  (0) 2015.07.29
EIGRP (Enhanced Interior Gateway Routing Protocol)  (0) 2015.07.28
RIP (Routing Interface Protocol)  (0) 2015.07.28