• (Khác biệt giữa các bản)
    (b)
    Hiện nay (14:32, ngày 20 tháng 6 năm 2013) (Sửa) (undo)
    (1)
     
    Dòng 1: Dòng 1:
     +
    WB2:
     +
    Router>en
     +
     +
    Router#config t
     +
     +
    Router(config)#hostname WB2
     +
     +
    WB2(config)#enable password cisco
     +
     +
    WB2(config)#enable secret class
     +
     +
    WB2(config)#banner motd *Autorized acces only!*
     +
     +
    WB2(config)#line vty 0 4
     +
     +
    WB2(config-line)#password cisco
     +
     +
    WB2(config-line)#login
     +
     +
    WB2(config-line)#exit
     +
     +
    WB2(config)#line console 0
     +
     +
    WB2(config-line)#password cisco
     +
     +
    WB2(config-line)#login
     +
     +
    WB2(config-line)#exit
     +
     +
    WB2(config)#int fa0/0
     +
     +
    WB2(config-if)#ip add 172.16.100.129 255.255.255.192
     +
     +
    WB2(config-if)#no sh
     +
     +
    WB2(config-if)#exit
     +
     +
    WB2(config)#int fa0/1
     +
     +
    WB2(config-if)#ip add 172.16.100.225 255.255.255.240
     +
     +
    WB2(config-if)#no sh
     +
     +
    WB2(config-if)#ip ospf priority 50
     +
     +
    WB2(config-if)#ip ospf hello-interval 20
     +
     +
    WB2(config-if)#exit
     +
     +
    WB2(config)#int s0/0/0
     +
     +
    WB2(config-if)#ip add 172.16.100.242 255.255.255.252
     +
     +
    WB2(config-if)#no sh
     +
     +
    WB2(config-if)#exit
     +
     +
    WB2(config)#int lo0
     +
     +
    WB2(config-if)#ip add 10.0.0.2 255.255.255.255
     +
     +
    WB2(config-if)#exit
     +
     +
    WB2(config)#router ospf 1
     +
     +
    WB2(config-router)#network 172.16.100.128 0.0.0.63 area 0
     +
     +
    WB2(config-router)#network 172.16.100.240 0.0.0.3 area 0
     +
     +
    WB2(config-router)#network 172.16.100.224 0.0.0.15 area 0
     +
     +
    WB2(config-router)#passive-interface fa0/0
     +
     +
    WB2(config-router)#exit
     +
     +
    WB2(config)#exit
     +
     +
    WB1:
     +
     +
    cisco
     +
     +
    WB1>en
     +
     +
    class
     +
     +
    WB1# config t
     +
     +
    WB1(config)#int fa0/1
     +
     +
    WB1(config-if)#ip add 172.16.100.238 255.255.255.240
     +
     +
    WB1(config-if)#no sh
     +
     +
    WB1(config-if)#ip ospf priority 100
     +
     +
    WB1(config-if)#ip ospf hello-interval 20
     +
     +
    WB1(config-if)#exit
     +
     +
    WB1(config)#router ospf 1
     +
     +
    WB1(config-router)#network 172.16.100.0 0.0.0.127 area 0
     +
     +
    WB1(config-router)#network 172.16.100.244 0.0.0.3 area 0
     +
     +
    WB1(config-router)#network 172.16.100.224 0.0.0.15 area 0
     +
     +
    WB1(config-router)#passive-interface fa0/0
     +
     +
    WHQ:
     +
     +
    ---> Middels WB2 <---
     +
     +
    WB2#telnet 172.16.100.241
     +
     +
    cisco
     +
     +
    WHQ>en
     +
     +
    class
     +
     +
    WHQ#config t
     +
     +
    WHQ(config)#ip route 192.168.0.0 255.255.254.0 192.0.0.2
     +
     +
    WHQ(config)#ip route 0.0.0.0 0.0.0.0 serial0/1/0
     +
     +
    WHQ(config)#router ospf 1
     +
     +
    WHQ(config-router)#network 172.16.100.240 0.0.0.3 area 0
     +
     +
    WHQ(config-router)#network 172.16.100.244 0.0.0.3 area 0
     +
     +
    WHQ(config-router)#passive-interface S0/1/0
     +
     +
    WHQ(config-router)#passive-interface s0/1/1
     +
     +
    WHQ(config-router)#default-information originate
     +
     +
    WHQ(config-router)#exit
     +
     +
    WHQ(config)#exit
     +
     +
    WHQ#exit
     +
     +
    WPC2:
     +
     +
    Ip adres: 172.16.100.190
     +
     +
    Subnetmasker: 255.255.255.192
     +
     +
    Default Gateway: 172.16.100.129

    Hiện nay

    WB2:

    Router>en

    Router#config t

    Router(config)#hostname WB2

    WB2(config)#enable password cisco

    WB2(config)#enable secret class

    WB2(config)#banner motd *Autorized acces only!*

    WB2(config)#line vty 0 4

    WB2(config-line)#password cisco

    WB2(config-line)#login

    WB2(config-line)#exit

    WB2(config)#line console 0

    WB2(config-line)#password cisco

    WB2(config-line)#login

    WB2(config-line)#exit

    WB2(config)#int fa0/0

    WB2(config-if)#ip add 172.16.100.129 255.255.255.192

    WB2(config-if)#no sh

    WB2(config-if)#exit

    WB2(config)#int fa0/1

    WB2(config-if)#ip add 172.16.100.225 255.255.255.240

    WB2(config-if)#no sh

    WB2(config-if)#ip ospf priority 50

    WB2(config-if)#ip ospf hello-interval 20

    WB2(config-if)#exit

    WB2(config)#int s0/0/0

    WB2(config-if)#ip add 172.16.100.242 255.255.255.252

    WB2(config-if)#no sh

    WB2(config-if)#exit

    WB2(config)#int lo0

    WB2(config-if)#ip add 10.0.0.2 255.255.255.255

    WB2(config-if)#exit

    WB2(config)#router ospf 1

    WB2(config-router)#network 172.16.100.128 0.0.0.63 area 0

    WB2(config-router)#network 172.16.100.240 0.0.0.3 area 0

    WB2(config-router)#network 172.16.100.224 0.0.0.15 area 0

    WB2(config-router)#passive-interface fa0/0

    WB2(config-router)#exit

    WB2(config)#exit

    WB1:

    cisco

    WB1>en

    class

    WB1# config t

    WB1(config)#int fa0/1

    WB1(config-if)#ip add 172.16.100.238 255.255.255.240

    WB1(config-if)#no sh

    WB1(config-if)#ip ospf priority 100

    WB1(config-if)#ip ospf hello-interval 20

    WB1(config-if)#exit

    WB1(config)#router ospf 1

    WB1(config-router)#network 172.16.100.0 0.0.0.127 area 0

    WB1(config-router)#network 172.16.100.244 0.0.0.3 area 0

    WB1(config-router)#network 172.16.100.224 0.0.0.15 area 0

    WB1(config-router)#passive-interface fa0/0

    WHQ:

    ---> Middels WB2 <---

    WB2#telnet 172.16.100.241

    cisco

    WHQ>en

    class

    WHQ#config t

    WHQ(config)#ip route 192.168.0.0 255.255.254.0 192.0.0.2

    WHQ(config)#ip route 0.0.0.0 0.0.0.0 serial0/1/0

    WHQ(config)#router ospf 1

    WHQ(config-router)#network 172.16.100.240 0.0.0.3 area 0

    WHQ(config-router)#network 172.16.100.244 0.0.0.3 area 0

    WHQ(config-router)#passive-interface S0/1/0

    WHQ(config-router)#passive-interface s0/1/1

    WHQ(config-router)#default-information originate

    WHQ(config-router)#exit

    WHQ(config)#exit

    WHQ#exit

    WPC2:

    Ip adres: 172.16.100.190

    Subnetmasker: 255.255.255.192

    Default Gateway: 172.16.100.129

    tác giả


    Tìm thêm với Google.com :

    NHÀ TÀI TRỢ
Mời bạn chọn bộ gõ Anh Việt
Bạn còn lại 350 ký tự.
X