100 likes | 230 Views
Basic Configuration. รศ. ดร . อนันต์ ผลเพิ่ม Asso.Prof. Anan Phonphoem, Ph.D. anan.p@ku.ac.th Intelligent Wireless Network Group (IWING Lab) http://iwing.cpe.ku.ac.th Computer Engineering Department Kasetsart University, Bangkok, Thailand. Basic Scenario. 192.168.22.0. 192.168.32.0.
E N D
Basic Configuration รศ. ดร. อนันต์ผลเพิ่ม Asso.Prof. Anan Phonphoem, Ph.D. anan.p@ku.ac.th Intelligent Wireless Network Group (IWING Lab) http://iwing.cpe.ku.ac.th Computer Engineering Department Kasetsart University, Bangkok, Thailand
Basic Scenario 192.168.22.0 192.168.32.0 BKK TAK 192.168.12.0
Configure 192.168.22.0 BKK 192.168.32.0 TAK 192.168.12.0 Set Clock enable Router> clock set 9:00:00 12 Nov 2005 Router# Set Hostname and Banner conf term Router# hostname BKK Router(config)# banner motd # BKK(config)# Bangkok Router – BKK located in Kasetsart University #
Configure 192.168.22.0 BKK 192.168.32.0 TAK 192.168.12.0 Set password enable password pass2005 BKK(config)# Set secret enable secret sec2005 BKK(config)#
Configure 192.168.22.0 BKK 192.168.32.0 TAK 192.168.12.0 Set line console login line con 0 BKK(config)# password con2005 BKK(config-line)# login BKK(config-line)# Set Telnet login BKK(config-line)# line vty 0 4 BKK(config-line)# password vty2005 login BKK(config-line)#
Configure 192.168.22.0 BKK 192.168.32.0 TAK 192.168.12.0 Set interface Ethernet interface eth 0 BKK(config)# desc Eng-LAN BKK(config-if)# ip address 192.168.12.1 255.255.255.0 BKK(config-if)# BKK(config-if)# no shutdown BKK(config-if)# exit
Configure 192.168.22.0 BKK 192.168.32.0 DCE TAK 192.168.12.0 Set interface Serial interface serial 0 BKK(config)# Desc BKK-link BKK(config-if)# ip address 192.168.22.1 255.255.255.0 BKK(config-if)# BKK(config-if)# clockrate 56000 BKK(config-if)# no shutdown
BKK(config-router)# version 2 Configure 192.168.22.0 BKK 192.168.32.0 TAK 192.168.12.0 Set Routing Protocol router rip BKK(config)# network 192.168.12.0 BKK(config-router)# network 192.168.22.0 BKK(config-router)# exit BKK(config-router)# Set ip host name ip host BKK 192.168.12.1 192.168.22.1 BKK(config)# ip host TAK 192.168.22.2 192.168.32.1 BKK(config)#
Configure 192.168.22.0 BKK 192.168.32.0 TAK 192.168.12.0 Save configuration exit BKK(config)# copy running start BKK# Verify configuration show run BKK# show startup BKK#
Basic Configuration • hostname • Router password • Console password • Virtual terminal password • Enable password • Password encryption • Interface configuration • Ethernet interface configuration • Serial interface configuration • Interface description • Routing configuration • RIP version 1 and 2, OSPF, etc.