• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Giúp đỡ cấu hình MPLS VPN 1 site Rip và 1 site OSPF thông nhau.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Giúp đỡ cấu hình MPLS VPN 1 site Rip và 1 site OSPF thông nhau.

    Tình hình là mình có 1 sơ đồ cấu hình MPLS VPN như thế này

    Theo yêu cầu của thầy mình cho bài tập đặc biệt thì yêu cầu cấu hình định tuyến 1 bên site giữa PE và CPE theo giao thức RIP còn 1 bên site giữa PE2 và CPE2 là giao thức OSPF, để có thể thông nhau và truyền gói tin được. Mình dùng Router A1,A2 như PC để ping.



    Hiện tại mình không biết nên cấu hình sao hết? Chỉ biết cấu hình RIP và OSPF cho redistribute như bình thường nhưng không chạy, nên mong mọi người giúp đỡ mình.

    Cấu hình PE1(RIP):

    hostname PE1
    no ip domain lookup
    ip http server


    interface loopback 0
    ip address 10.0.1.1 255.255.255.255
    exit


    interface serial 1/0
    ip address 10.0.12.1 255.255.255.0
    clock rate 64000
    no shutdown
    exit

    router ospf 1
    network 10.0.0.0 0.255.255.255 area 0
    exit


    mpls ldp router-id loopback0 force


    interface serial1/0ư
    mpls label protocol ldp
    mpls ip
    exit


    ip vrf A
    rd 100:1
    route-target both 1:100
    exit


    interface fastethernet 0/0
    ip vrf forwarding A
    ip address 172.16.100.1 255.255.255.0
    no shut
    exit


    router rip
    version 2
    address-family ipv4 vrf A
    no auto-summary
    network 172.16.0.0
    redistribute bgp 100 metric transpa
    exit
    exit


    router bgp 100
    neighbor 10.0.4.1 remote-as 100
    neighbor 10.0.4.1 update-source loopback0
    address-family vpnv4
    neighbor 10.0.4.1 activate
    neighbor 10.0.4.1 send-community both
    exit
    address-family ipv4 vrf A
    redistribute rip
    no auto-summary
    exit
    exit


    Cấu hình PE2 (OSPF):

    hostname PE1
    no ip domain lookup
    ip http server


    interface loopback 0
    ip address 10.0.4.1 255.255.255.255
    exit


    interface serial 1/0
    ip address 10.0.23.1 255.255.255.0
    clock rate 64000
    no shutdown
    exit

    router ospf 1
    network 10.0.0.0 0.255.255.255 area 0
    exit


    mpls ldp router-id loopback0 force


    interface serial1/0
    mpls label protocol ldp
    mpls ip
    exit


    ip vrf A
    rd 100:1
    route-target both 1:100
    exit


    interface fastethernet 0/0
    ip vrf forwarding A
    ip address 172.16.200.1 255.255.255.0
    no shut
    exit


    router ospf 2 vrf A
    network 172.16.0.0 0.0.255.255 area 0
    redistribute bgp 100 subnets
    exit


    router bgp 100
    neighbor 10.0.1.1 remote-as 100
    neighbor 10.0.1.1 update-source loopback0
    address-family vpnv4
    neighbor 10.0.1.1 activate
    neighbor 10.0.1.1 send-community both
    exit
    address-family ipv4 vrf A
    redistribute ospf 2
    no auto-summary
    exit
    exit

  • #2
    mọi người giúp mình với :(

    Comment


    • #3
      Chào bạn,

      Bạn thử tham khảo bài LAB mẫu trong liên kết đính kèm nhé,

      MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.


      Chúc bạn thành công.
      Bùi Quốc Kỳ
      Email: buiquocky@vnpro.org
      Yahoo: buiquocky_vnpro
      -------------------------------------------------------------------------------------------
    Trung Tâm Tin Học VnPro
    Địa chỉ: 149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
    Tel: (08) 35124257 (5 lines)
    Fax: (08) 35124314

    Home page: http://www.vnpro.vn
    Support Forum: http://www.vnpro.org
    Network channel: http://www.dancisco.com
    • Chuyên đào tạo quản trị mạng và hạ tầng Internet
    • Phát hành sách chuyên môn
    • Tư vấn và tuyển dụng nhân sự IT
    • Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

    Blog: http://www.vnpro.org/blog
    Wifi forum: http://www.wifipro.org

    Comment

      Working...
      X