close


1.新增 3640 Router 作 PPP LAB

2.修改架構環境以利識別與連線控制
        hostname     Taipei         console 2001
        hostname     NewTaipei    console 2002
        hostname     Taichung    console 2003
        hostname     Tainan        console 2004
        hostname     Kaohsiung    console 2005

3.規劃網路參數

Taipei    s2/0     (192.168.223.1/30)  -     NewTaipei s2/0    (192.168.223.2/30)
Taipei      s2/1     (192.168.223.5/30)  -     Taichung  s2/0    (192.168.223.6/30)
Taipei    s2/2     (192.168.223.9/30)  -     Tainan    s2/0    (192.168.223.10/30)
Taipei    s2/3     (192.168.223.13/30) -     Kaohsiung s2/0    (192.168.223.14/30)

NewTaipei s2/1     (192.168.223.17/30) -     Taichung  s2/1    (192.168.223.18/30)
NewTaipei s2/2     (192.168.223.21/30) -     Tainan    s2/1    (192.168.223.22/30)
NewTaipei s2/3     (192.168.223.25/30) -     Kaohsuing s2/1    (192.168.223.26/30)

Taichung  s2/2     (192.168.223.29/30) -    Tainan      s2/2    (192.168.223.30/30)
Taichung  s2/3    (192.168.223.33/30) -    Kaohsuing s2/2    (192.168.223.34/30)

Tainan    s2/3    (192.168.300.37/30) -    Kaohsuing s2/3    (192.168.223.38/30)

4. 設定
    開啟終端機 SecureCRT 連接 Router console
    Router# conf t
    Router(config)#            (複製貼上)
  
    5顆router設定指令
hostname Taipei
enable secret cisco
enable password 12345
ip routing
ip subnet-zero
interface Serial2/0
 ip address 192.168.200.1 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/1
 ip address 192.168.200.5 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/2
 ip address 192.168.200.9 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/3
 ip address 192.168.200.13 255.255.255.252
 encapsulation ppp
 no shutdown
router rip
 version 2
 network 192.168.200.0
line con 0
 logging synchronous
line vty 0 4
 password cisco
 logging synchronous
 login
end
================================================
hostname NewTaipei
enable secret cisco
enable password 12345
ip routing
ip subnet-zero
interface Serial2/0
 ip address 192.168.200.2 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/1
 ip address 192.168.200.17 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/2
 ip address 192.168.200.21 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/3
 ip address 192.168.200.25 255.255.255.252
 encapsulation ppp
 no shutdown
router rip
 version 2
 network 192.168.200.0
line con 0
 logging synchronous
line vty 0 4
 password cisco
 logging synchronous
 login
end
================================================
hostname Taichung
enable secret cisco
enable password 12345
ip routing
ip subnet-zero
interface Serial2/0
 ip address 192.168.200.6 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/1
 ip address 192.168.200.18 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/2
 ip address 192.168.200.29 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/3
 ip address 192.168.200.33 255.255.255.252
 encapsulation ppp
 no shutdown
router rip
 version 2
 network 192.168.200.0
line con 0
 logging synchronous
line vty 0 4
 password cisco
 logging synchronous
 login
end
================================================
hostname Tainan
enable secret cisco
enable password 12345
ip routing
ip subnet-zero
interface Serial2/0
 ip address 192.168.200.10 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/1
 ip address 192.168.200.22 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/2
 ip address 192.168.200.30 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/3
 ip address 192.168.200.37 255.255.255.252
 encapsulation ppp
 no shutdown
router rip
 version 2
 network 192.168.200.0
line con 0
 logging synchronous
line vty 0 4
 password cisco
 logging synchronous
 login
end
================================================
hostname Kaohsuing
enable secret cisco
enable password 12345
ip routing
ip subnet-zero
interface Serial2/0
 ip address 192.168.200.14 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/1
 ip address 192.168.200.26 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/2
 ip address 192.168.200.34 255.255.255.252
 encapsulation ppp
 no shutdown
interface Serial2/3
 ip address 192.168.200.38 255.255.255.252
 encapsulation ppp
 no shutdown
router rip
 version 2
 network 192.168.200.0
line con 0
 logging synchronous
line vty 0 4
 password cisco
 logging synchronous
 login
end

台北--------------->高雄------------>台南

PAP與CHAP設定

taipei

username Kaoshiung password abc

int s2/3
encap ppp
ppp authen CHAP
ppp chap hostname Taipei
ppp chap password abc

kaoshiung

username Tainan password efg
username Taipei password abc

int s2/0
encap ppp
ppp authen CHAP
ppp chap hostname Kaoshiung
ppp chap password abc

int s2/3
encap ppp
ppp authen pap
ppp pap sent-username Kaoshiung password efg



Tainan

user Kaoshiung  password efg

int s2/3
encap ppp
ppp authen pap
ppp pap sent-username Tainan password efg



6.檢視設定
    show run
    copy run start         (檔案存入 NVRAM)


7.GNS3 存檔
    file / save        (專案儲存)
    專案檔 存放 範例
    c:\workGNS3\Project\ppp_5router.net        (架構文字檔)
    c:\workGNS3\Project\ppp_5router_working        (工作站存目錄 可清空)
    c:\workGNS3\Project\ppp_5router_configs        (router config 檔 不可刪除)









arrow
arrow
    全站熱搜
    創作者介紹
    創作者 applen1 的頭像
    applen1

    applen1的部落格

    applen1 發表在 痞客邦 留言(0) 人氣()