2014年10月26日 星期日

路由器基本設定及靜態路由2





練習檔案下載: https://drive.google.com/file/d/0B-z-UZB41PNbdHlpX29Ma0o1Tm8/view?usp=sharing


1. 左側 Cisco 2811 TIITA路由器
o 路由器名稱設定為 TIITA
o 加密之特權模式密碼為 TIITAen
o 主控台使用者模式之密碼為 TIITAcon
o 虛擬終端機使用者模式之密碼為 TIITAvty
o FastEthernet 0/0 介面之 IP 請查看 PC-PT A 之 IP 相關設定資訊進行設定
o Serial 0/0/0 介面之 IP 為 192.168.1.1/30,提供兩部路由器之間的電路為64000bps
o 設定靜態路由

Router>enable 
Router#configure terminal 
Router(config)#hostname TIITA
TIITA(config)#enable secret TIITAen
TIITA(config)#line console 0
TIITA(config-line)#password TIITAcon
TIITA(config-line)#login
TIITA(config-line)#exit
TIITA(config)#line vty 0 4
TIITA(config-line)#password TIITAvty
TIITA(config-line)#login
TIITA(config-line)#exit
TIITA(config)#interface fastEthernet 0/0
TIITA(config-if)#ip address 192.168.200.126 255.255.255.128
TIITA(config-if)#no shutdown 
TIITA(config-if)#exit
TIITA(config)#interface serial 0/0/0
TIITA(config-if)#ip address 192.168.1.1 255.255.255.252
TIITA(config-if)#no shutdown 
TIITA(config-if)#clock rate 64000
TIITA(config-if)#exit
TIITA(config)#ip route 172.16.96.0 255.255.240.0 192.168.1.2



2. 右側 Cisco 2811 TIITB路由器
o 路由器名稱設定為TIITB
o FastEthernet 0/0 介面之 IP 請查看 PC-PT D 之 IP 相關設定資訊進行設定
o Serial 0/2/0 介面之 IP 設定為 192.168.1.2/30
o 設定使用靜態路由


Router>enable 
Router#configure terminal 
Router(config)#hostname TIITB
TIITB(config)#interface fastEthernet 0/0
TIITB(config-if)#ip address 172.16.111.254 255.255.240.0
TIITB(config-if)#no shutdown 
TIITB(config-if)#exit
TIITB(config)#interface serial 0/2/0
TIITB(config-if)#ip address 192.168.1.2 255.255.255.252
TIITB(config-if)#no shutdown 
TIITB(config-if)#exit
TIITB(config)#ip route 192.168.200.0 255.255.255.128 192.168.1.1
TIITB(config)#ip route 10.10.200.0 255.255.255.0 192.168.1.1




3. 個人電腦PC-PT B
o IP位址設定為 10.10.200.1/24
IP address            10.10.200.1
Subnet Mask         255.255.255.0
Default Gateway   10.10.200.200


4. 個人電腦PC-PT C
o IP位址設定為 PC-PT D所屬網路第一個可使用IP。
IP address            172.16.96.1
Subnet Mask         255.255.240.0
Default Gateway   172.16.111.254


5. 於個人電腦PC-PT A上使用ping測試與PC-PT B、PC-PT C、PC-PT D是否連通。

ping 10.10.200.1
ping 172.16.96.1
ping 172.16.100.100

沒有留言:

張貼留言