Bài Lab IPv6 Basic và định tuyến OSPFv3

Thảo luận trong 'Mạng máy tính' bắt đầu bởi trikp, 4 Tháng năm 2011.

  1. trikp Windows 98

    Offline
    Số bài viết:
    321
    Đã được thích:
    130
    Điểm thành tích:
    140
    Ta có các lệnh bài lab như sau
    [IMG]
    - Các bước cấu hình cho router 1
    enable
    conf t
    hostname R1
    int s 2/0
    ip add 192.1.12.1 255.255.255.252
    ipv6 address fec1::12:1/64
    no sh
    exit
    int fa 0/0
    ipv6 address 2010::1/64
    no sh
    no kee
    exit
    int lo 0
    ip add 1.1.1.1 255.255.255.0
    ip ospf network point-to-point
    exit
    router ospf 1
    network 192.1.12.0 0.0.0.3 area 0
    network 1.1.1.0 0.0.0.255 area 0
    router-id 1.1.1.1
    exit
    ipv6 unicast-routing
    ipv6 router ospf 10
    router-id 11.11.11.11
    int s 2/0
    ipv6 ospf 10 area 0
    exit
    int fa 0/0
    ipv6 ospf 10 area 0

    - Các bước cấu hình cho router 2
    enable
    conf t
    hostname R2
    int s 2/0
    ip add 192.1.12.2 255.255.255.252
    ipv6 address fec1::12:2/64
    no sh
    exit
    int lo 0
    ip add 2.2.2.2 255.255.255.0
    ip ospf network point-to-point
    exit
    int s 2/1
    ip add 192.1.23.1 255.255.255.252
    ipv6 address fec0::23:2/64
    no sh
    exit
    router ospf 2
    network 192.1.12.0 0.0.0.3 area 0
    network 192.1.23.0 0.0.0.3 area 0
    network 2.2.2.0 0.0.0.255 area 0
    router-id 2.2.2.2
    exit
    ipv6 unicast-routing
    ipv6 router ospf 22
    router-id 22.22.22.22
    exit
    int serial 2/0
    ipv6 ospf 22 area 0
    exit
    int serial 2/1
    ipv6 ospf 22 area 0
    exit

    - Các bước cấu hình cho router 3
    enable
    conf t
    hostname R3
    int s 2/0
    ip add 192.1.23.2 255.255.255.252
    ipv6 address fec0::23:3/64
    no sh
    exit
    int fa 0/0
    ipv6 address 2030::1/64
    no sh
    no kee
    exit
    int lo 0
    ip add 3.3.3.3 255.255.255.0
    ip ospf network point-to-point
    exit
    router ospf 3
    network 192.1.23.0 0.0.0.3 area 0
    network 3.3.3.0 0.0.0.255 area 0
    router-id 3.3.3.3
    exit
    ipv6 unicast-routing
    ipv6 router ospf 33
    router-id 33.33.33.33
    exit
    int s2/0
    ipv6 ospf 33 area 0
    int fa 0/0
    ipv6 ospf 33 area 0

    Nếu máy tính đang ở hệ điều hành Window Server 2003 thì mặc định nó không có IPv6. Ta sẽ install nó như sau:
    - Start/Run/CMD.exe và nhập vào lệnh netsh interface ipv6 install
    - Restart lại máy tính.
    Đối với Window XP thì nhập vào lệnh ipv6 install và restart lại máy tính.

Chia sẻ trang này