ROUTER(RJ45) PC(25pin) 1 ---------------------- 4 (RTS) 2 ---------------------- 20 (DTR) 3 ---------------------- 2 (TXD) 4 ---------------------- 7 (S.G) 6 ---------------------- 3 (RXD) 7 ---------------------- 8 (DCD) 8 ---------------------- 5 (CTS) |
통신에뮬레이터 환경
9600 bps, 8 data bit, 1 stop bit, parity none.
시스코라우터 설정 특징
Configuration Setting시 직접 Command를 입력하는 방법과 Router Power on 시
H/W Test후 나타나는 Menu상에서 Configuration Setting 작업을 수행하는 Menu
방식의 2가지 Mode가 제공된다. Cisco Router의 경우 Command의 사용방법이
매우 간결하므로, 직접 Command를 사용하여 Setting 작업을 수행하는 것이
Menu방식에 비해 편리하므로 Command line방식 중심으로 설명코져 한다.
② ethernet port 지정
- ip address 설정
③ routing protocol 의 지정, 필요시 static routing 설정.
라우터 설정예
ex) 고객명 : 부산
- router 기종 : cisco 2500
- 접속 protocol : ppp , - 속도 : 512kbps
- 고객측 serial ip, netmask : 210.248.102.100 / 255.255.255.252
- 고객측 ethernet ip, netmask : 210.108.245.1 / 255.255.255.192
시스코라우터 설정순서
pusan#config t -------- configuration terminal의 약어, command setting mode로의 전환을 의미.. pusan(config)#ip subnet-zero --------- ip block이 0(zero)로 시작하여 subneting 시킬 경우의 명령어 pusan(config)#ip classless---------ip를 classless하게 사용하기 위한 명령어 pusan(config)#int e0 ------- ethernet port 설정을 시작한다. pusan(config-if)#no shutdown ------ default 는 disable(shutdown) 상태이므로 이것을 enable 시킨다. pusan(config-if)#ip add 210.108.245.1 255.255.255.192 --- ethernet에 ip address를 지정한다. pusan(coining-if)#exit ------- ethernet 설정을 마무리하고 다음 설정으로 넘어간다. pusan(config)#int s0 ------- serial port 설정을 시작한다. pusan(config-if)#no shutdown pusan(config-if)#ip add 210.248.102.100 255.255.255.252 pusan(config-if)#encapsulation ppp ------- 접속 protocol을 지정한다.(이기종간) cisco router끼리는 HDLC로 설정한다. pusan(config-if)#bandwidth 512 ------- 접속 회선 속도를 설정한다. pusan(config-if)#description pusan pusan(config-if)#exit
pusan(config)#ip route 0.0.0.0 0.0.0.0 210.248.102.99 ------- default route를 구성한다. pusan(config)#ip name server 164.124.101.2 ------- domain name server를 지정한다. pusan(config)#^Z ------- Ctrl+Z를 눌러서 config mode를 종료한다. pusan#wr ------- save 한다. ####[OK]
|
시스코라우터 설정상태보기
pusan# sh config ------- show configration의 약자, configuration setting 상태의 확인. Using 653 out of 32762 bytes ! version 11.1 ------- 현재 동작중인 router의 IOS Version을 나타낸다. service udp-small-servers service tcp-small-servers ! hostname pusan ------- 라우터의 이름을 나타낸다.( 접속시 prompt로 나타남.) ! enable secret 5 $1$QZj/$NeE5rJCxLbdFUJUJ/CBcx0 ------- command mode로 전환되기 위한 password. enable password router ! ! interface Ethernet0 ip address 203.233.10.5 255.255.255.0 ! interface Serial0 ip address 203.252.12.10 255.255.255.252 description pusan-woman-university encapsulation ppp ------- 접속 protocol이 ppp임을 의미. bandwidth 512 ------- 512K bps 의 전송속도를 의미. ! interface Serial1 no ip address shutdown ------- 관리자가 임의로 down, up 시킬 수 있으며 default는 shutdown 상태. ! ip name-server 164.124.101.2 ------- domain-name server를 지정한다. no ip classless ip route 0.0.0.0 0.0.0.0 203.252.12.9 ------- default route를 지정한다. snmp-server community public RO destination은 상대 router serial port로 한다. ! line con 0 line aux 0 line vty 0 4 ------- router에 telnet 접속을 허용하되 login의 절차를 거치고, password는 router(임의 설정가능)로 한다. (가상단말기 0-4까지 총5대의 접속을 허용) password router login ! end |