실습 2.1 VLSM과 IP unnumbered 설정

< NETwork configuration >

(1) Vista Router 설정 방법

Boot.....

>en

#conf t

#hostname Vista

#int s0/0

#ip address 192.168.1.1 255.255.255.252

#clock rate 64000

#no shutdown

#int s0/1

#ip address 192.168.1.5 255.255.255.252

#clock rate 64000

#no shutdown

#int fa0/0

#ip address 192.168.1.65 255.255.255.224

#no shutdown

#exit

1.

2) SanJose1 설정방법                       3) SanJose2 설정방법

Boot.....

>en

#conf t

#hostname SanJose1

#int s0/0

#ip address 192.168.1.2 255.255.255.252

#no shutdown

#int fa0/0

#ip address 192.168.1.33 255.255.255.224

#no shutdown

#exit

Boot.....

>en

#conf t

#hostname SanJose2

#int s0/0

#ip address 192.168.1.6 255.255.255.252

#no shutdown

#int fa0/0

#ip address 192.168.1.34 255.255.255.224

#no shutdown

#exit

*********************************************************************************

1. interface 설정( Ethernet, serial ) ip 주소 설정, Lab_A 기준

router>en

router#config t

router(config)#int e 0/0

router(config-if)#ip address 192.5.5.1 255.255.255.0

router(config-if)#no shutdown

router(config-if)#int e 0/1

router(config-if)#ip address 205.7.5.1 255.255.255.0

router(config-if)#no shutdown

router(config-if)#int s 0/0

router(config-if)#ip address 201.100.11.1 255.255.255.0

router(config-if)#clock rate 64000

router(config-if)#no shutdown

router(config-if)# ctrl-z 또는 exit

2. Routing protocol 설정 (rip protocol), Lab_A 기준

router(config)#router rip

router(config-router)#network 192.5.5.0

router(config-router)#network 205.7.5.0

router(config-router)#network 201.100.11.0

router(config-router)#ctrl-z 또는 exit

3. password 설정

(1) console 패스워드

router(config)#line c 0

router(config-line)#login

router(config-line)#password cisco

(2) 텔넷 패스워드

router(config)#line vty 0 4

router(config-line)#login

router(config-line)#password cisco

참고 : 지원되는 vty의 수 확인

router(config)#line vty ?

(3) 관리자 모드 접근 패스워드

router(config)#enable password cisco // 암호화되지 않는다.

//enable secret 이 없을 때 유효하다.

또는

router(config)#enable secret cisco   // 암호화된다.

(4) 패스워드 암호화

router(config)#service password-encryption

( set passwords here )

router(config)#no service password-encryption

4. Router Name

router(config)#hostname Lab_A

Lab_A(config)#