'설정'에 해당되는 글 1건

라우터 실습 #1 :: 2008/07/10 11:08

나의 조: 1조

※ 라우터 셋팅

1. R1과 R2만 생각하고, 라우터1의 S0과 라우터 2의 S1을 Back2Back 케이블로 연결
2. R1의 콘솔 포트와 컴퓨터(단말기)와 RollOver 케이블로 연결
3. 라우터 1,2 전원 On


※ 하이퍼 터미널 셋팅

1. 하이퍼 터미널 실행 -> 연결 대상에서 해당 Com Port로 설정 -> 등록정보에서 설정
- 설정값: 9600/


※ 관리자 모드에서 이전 설정 지우기

1. 콘솔 암호:ciscocon(설정이 되어 있다면)
2. enable 쳐서 관리자 모드로 -> 암호: cisco
3. 이전 설정 지우기 -> erase startup-config -> [OK]가 뜨면 성공!


※ 레지스터 초기설정에서 수정
(하지 않으면 나중에 시리얼 포트를 설정할 때 Up이 안됨)

1. config 모드에서 conf 0x2102 로 수정
2. wr = save running-config startup-config와 같은 명령어
2. reload(재부팅)
(라우터 초기화 하는 방법: http://blog.naver.com/jsyoon1223?redire ··· 34817804)


※ 다음과 같은 과정을 실습한다.

1. 위의 그림을 보고 각각의 라우터에 호스트 네임을 설정하여라.

Router> enable
Router# conf t
Router(config)# hostname Rack0xRy
Rack0xRy(config)#


2. 각각의 라우터에 다음과 같은 패스워드를 설정하여라.

  - Enable Secret : 'cisco'로 설정하여라.
  - Enable Password : 'ciscofan'으로 설정하여라.
  - Console : 패스워드는 'ciscocon'으로 설정하여라.
  - Aux : 패스워드는 'ciscoaux'로 설정하여라.
  - Vty : 패스워느는 'ciscotel'로 설정하여라.

RackxRy(config)# enable secret cisco
RackxRy(config)# enable password ciscofan

RackxRy(config)# line console 0
RackxRy(config-line)# login
RackxRy(config-line)# password ciscocon
RackxRy(config-line)# exit
RackxRy(config)#

RackxRy(config)# line aux 0
RackxRy(config-line)# login
RackxRy(config-line)# password ciscoaux
RackxRy(config-line)# exit
RackxRy(config)#

RackxRy(config)# line vty 0 4
RackxRy(config-line)# login
RackxRy(config-line)# password ciscotel
RackxRy(config-line)# exit
RackxRy(config)#

### 설정이 완료되었다면, User Mode로 가서 'show running-config' Command를 이용하여 설정 사항을 확인하여라.


3. 각각의 라우터 Ethernet 0에 IP 주소를 설정하여라. 이때, x는 조번호, y는 라우터 번호이다.(R3는 지금 실습하지 않으므로 생각하지 않는다)

- R1

Rack0xR1(config)# interface loopback 0
Rack0xR1(config-if)# ip address x.x.1.1 255.255.255.0
Rack0xR1(config-if)# exit
Rack0xR1(config)#

- R2

Rack0xR2(config)# interface loopback 0
Rack0xR2(config-if)# ip address x.x.2.1 255.255.255.0
Rack0xR2(config-if)# exit
Rack0xR2(config)#

- R3

Rack0xR3(config)# interface loopback 0
Rack0xR3(config-if)# ip address x.x.3.1 255.255.255.0
Rack0xR3(config-if)# exit
Rack0xR3(config)#

### 설정이 완료되었다면, User Mode로 가서 'show running-config' Command를 이용하여 설정 사항을 확인하여라.
### 설정이 완료되었다면, User Mode로 가서 'show ip interface brief' Command를 이용하여 인터페이스 상태를 확인하여라.


4. 다음 조건을 읽고 설정을 실시하여라.
(R2의 시리얼0번의 설정은 R3와 연결할 때 사용하는 것이므로 R3가 없다면 설정하지 않아도 된다.)

  - 각각의 라우터 Serial 인터페이스를 사용하는 WAN 구간 Point-to-Point 환경에는 Layer 2 계층 WAN구간 프로토콜인 'HDLC'를 사용하여라.
  - 위의 그림을 보고 각각의 라우터 Serial 인터페이스에 IP 주소를 설정하고, 인터페이스를 활성화하여라.
  - R1의 Serial 0 인터페이스에는 V.35 DCE Type 케이블을 연결이 되어있기때문에 Clock Rate 값을 설정하여라.
  - R2의 Serial 0 인터페이스에는 V.35 DCE Type 케이블을 연결이 되어있기때문에 Clock Rate 값을 설정하여라.

- R1

Rack0xR1(config)# interface serial 0
Rack0xR1(config-if)# encapsulation hdlc  <- 않해도 자동으로 시작됨
Rack0xR1(config-if)# ip address x.x.12.1 255.255.255.0
Rack0xR1(config-if)# clock rate 64000
Rack0xR1(config-if)# no shutdown
Rack0xR1(config-if)# exit
Rack0xR1(config)#

- R2

Rack0xR2(config)# interface serial 1
Rack0xR2(config-if)# encapsulation hdlc  <- 않해도 자동으로 시작됨
Rack0xR2(config-if)# ip address x.x.12.2 255.255.255.0
Rack0xR2(config-if)# no shutdown
Rack0xR2(config-if)# exit
Rack0xR2(config)# interface serial 0
Rack0xR2(config-if)# encapsulation hdlc  <- 않해도 자동으로 시작됨
Rack0xR2(config-if)# ip address x.x.23.2 255.255.255.0
Rack0xR2(config-if)# clock rate 64000
Rack0xR2(config-if)# no shutdown

- R3

Rack0xR3(config)# interface serial 1
Rack0xR3(config-if)# encapsulation hdlc  <- 않해도 자동으로 시작됨
Rack0xR3(config-if)# ip address x.x.23.3 255.255.255.0
Rack0xR3(config-if)# no shutdown
Rack0xR3(config-if)# exit
Rack0xR3(config)#

### 설정이 완료되었다면, User Mode로 가서 'show running-config' Command를 이용하여 설정 사항을 확인하여라.
### 설정이 완료되었다면, User Mode로 가서 'show ip interface brief' Command를 이용하여 인터페이스 상태를 확인하여라.
### 설정이 완료되었다면, User Mode로 가서 'show ip route' Command를 이용하여 라우팅 테이블을 확인하여라.

5. Ehternet 0에 Gateway를 설정하여라.(ip = x.x.라우터번호.1)

R1
Rack0xR3(config)# interface ethernet 0
Rack0xR3(config)# ip address x.x.1.1 255.255.255.0
Rack0xR3(config)# no shutdown

R2
Rack0xR3(config)# interface ethernet 0
Rack0xR3(config)# ip address x.x.2.1 255.255.255.0
Rack0xR3(config)# no shutdown

6. 호스트1과 호스트2에 IP와 게이트웨이를 할당

호스트1
IP : x.x.1.2
Subnet : 255.255.255.0
Gateway : x.x.1.1
DNS 상관없음

호스트2
IP : x.x.2.2
Subnet : 255.255.255.0
Gateway : x.x.2.1
DNS 상관없음

7. 설정이 완료되었다면, 다음과 같은 정보 확인을 실시하여라.


  - 각각의 라우터에서 'show running-config' Command를 이용하여 설정 사항을 확인하여라.
  - 각각의 라우터에서 'show ip interface brief' Command를 이용하여 인터페이스 상태를 확인하여라.
  - 각각의 라우터에서 'show ip route' Command를 이용하여 라우팅 테이블을 확인하여 'C'라는 코드의 커넥터 경로 정보를 확인하여라.
  - 각각의 라우터들은 상대방 인접 라우터 인터페이스로 Ping 테스트를 실시하여라.



2008/07/10 11:08 2008/07/10 11:08
Name
Password
Homepage
Secret