Published 5月 28, 2018 by with 0 comment

CCNA3 Lab 1-3-1: 練習網段分割及基本設定

CCNA Lab


本次練習是參考Cisco網路學院
CCNA Exploration 4.0 LAN Switching and Wireless
Student Lab Manual
我將它轉成Dynamips的設定檔 並寫下自己的實驗紀錄

Dynamips的設定檔:

##################################################
#
# For CCNA Exploration 4.0 LAN and Switching and Wireless
# Lab 1.3.1-3
#
##################################################

autostart=false
[localhost:7200]
workingdir = /opt/dynamips/dynagen-0.10.1/UTS/CCNA3/Week01/workingconfig/

[[3640]]
#  Specify 3640 IOS image on Windows here:
#  image = C:\Program Files\Dynamips\images\c3640-jk9o3s-mz.123-14.T7.extracted.bin
#  Specify 3640 IOS image on Linux here:
 image = /opt/dynamips/images/c3640-jk.bin
 ram = 128
 disk0 = 0
 disk1 = 0
 # Choose an idlepc value from the below
 idlepc = 0x605ac7b8
 mmap = true
 ghostios = true
 confreg = 0x2102

###########################
#
# Define router instances 1
#
###########################

 [[Router R1]]
  model = 3640
  console = 2001
  autostart = false
  slot0 = NM-16ESW
# cnfg = /opt/dynamips/dynagen-0.10.1/UTS/CCNA3/Week01/initconfig/R1.txt

 [[Router SW1]]
  model = 3640
  console = 2002
  autostart = false
  slot0 = NM-16ESW
  F0/1 = R1 F0/1
  F0/2 = Host2 F0/2
# cnfg = /opt/dynamips/dynagen-0.10.1/UTS/CCNA3/Week01/initconfig/SW1.txt

 [[Router Host2]]
  model = 3640
  console = 2003
  autostart = false
  slot0 = NM-16ESW
# cnfg = /opt/dynamips/dynagen-0.10.1/UTS/CCNA3/Week01/initconfig/Host2.txt

這Lab只是練習網段分割及基本設定
假設取得了一個192.168.7.0/24
要分割給Subnet A & B
Subnet A 需要有110台電腦
Subnet B 需要有54台電腦
該如何做

我的設定是
Subnet A: 192.168.7.0/25
Subnet B: 192.168.7.128/26

RouterA設定檔:
hostname Router1
!
no ip domain lookup
!
interface Loopback0
 description SubnetA_R1F0/0_Host1
 ip address 192.168.7.1 255.255.255.128 secondary
 ip address 192.168.7.126 255.255.255.128
!
interface FastEthernet0/1
 no switchport
 ip address 192.168.7.190 255.255.255.192
 no shutdown
!
line con 0
 logging synchronous
!
end

Switch1設定檔:
hostname Switch1
!
no ip routing
!
no ip domain lookup
!
line con 0
 logging synchronous
!
end

Host2設定檔:
hostname Host2
no ip domain lookup
!
interface FastEthernet0/2
 no switchport
 ip address 192.168.7.129 255.255.255.192
 no shutdown
!
ip route 0.0.0.0 0.0.0.0 192.168.7.190
!
line con 0
 logging synchronous
!
end

最後互ping 有通 結束


參考資料:
Cisco網路學院 http://www.cisco.com/web/learning/netacad/index.html
CCNA Exploration 4.0 LAN Switching and Wireless
Student Lab Manual


最初發表 / 最後更新: 2008.03.06 / 2018.05.28

0 comments:

張貼留言