• 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 đỡ về địa chỉ link-local

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

  • Giúp đỡ về địa chỉ link-local

    Chào anh,chị
    sao em không thể ping được giữa các router với nhau bằng địa chỉ link-local, chỉ ping đưoc khi hai router kết nối trực tiếp với nhau, còn những router ở xa không ping được.
    mặc dù em đã định tuyến ospfv3 đảm bảo mạng ipv6 thông nhau, và ping được với nhau.
    Bài lab của em là chuyển đổi 6 sang 4, và em đã làm xong trường hợp manual tunnel, nhưng chưa làm 6to4, không biết có ảnh hưởng gì tới việc ping bằng địa chỉ link-local không.
    Mong mọi người giúp đỡ em!

  • #2
    up cấu hình lên đây cho mọi người tham khảo đi bạn
    MCSA; CCNA; CCNP; CCSP-Firewall
    http://learningnetworksystem.blogspot.com/
    cell: 0938 368 444

    Comment


    • #3
      chài ai, router ở xa mần sao mà poing link-local được. đọc cái này nà: http://tools.ietf.org/html/rfc4291#section-2.5.6

      Comment


      • #4
        Click image for larger version

Name:	Untitled.jpg
Views:	1
Size:	20.8 KB
ID:	206522
        đề nó yêu cầu vậy mà. với lại cho em hỏi cấu hình 6to4 trong bài lab như thế nào vậy? Em cấu hình hoài ma vẫn k ping được.

        Comment


        • #5
          cái đề ra sai roài, cha nội ra đề cần học lại IPv6. không tin bạn thử hỏi lại: "tao đố mài advertise link-local address được đoá".
          Trước khi bạn cấu hình 6to4 thì phải hiểu cách hoạt động ra sao, address có gì đặc biệt, bạn xem cái link này nà: http://www.cisco.com/en/US/docs/ios-...p6-tunnel.html

          Comment


          • #6
            Cho mình hỏi là bài trên nếu mình phải cấu hình redistribute thì câú hình ntn? Vì trên R1 và R5 mình định tuyên ospf còn R2,R4 mình cấu hình static route.

            Comment


            • #7
              6to4 ko support dynamic routing. cấu hình static route là đc roài.

              Comment


              • #8
                bạn post config lên xem thử

                Comment


                • #9
                  R1
                  !
                  !
                  version 12.4
                  service timestamps debug datetime msec
                  service timestamps log datetime msec
                  no service password-encryption
                  !
                  hostname R1
                  !
                  boot-start-marker
                  boot-end-marker
                  !
                  !
                  no aaa new-model
                  memory-size iomem 5
                  ip cef
                  !
                  !
                  !
                  !
                  no ip domain lookup
                  ip domain name lab.local
                  ipv6 unicast-routing
                  !
                  multilink bundle-name authenticated
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  archive
                  log config
                  hidekeys
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  interface Loopback0
                  ip address 1.1.1.1 255.255.255.0
                  !
                  interface FastEthernet0/0
                  no ip address
                  duplex auto
                  speed auto
                  ipv6 address 2012::1/64
                  ipv6 ospf 1 area 0
                  !
                  interface FastEthernet0/1
                  no ip address
                  duplex auto
                  speed auto
                  ipv6 address CC1E::1/64
                  ipv6 ospf 1 area 0
                  !
                  ip forward-protocol nd
                  !
                  !
                  no ip http server
                  no ip http secure-server
                  !
                  ipv6 router ospf 1
                  router-id 1.1.1.1
                  log-adjacency-changes
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  control-plane
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  line con 0
                  exec-timeout 0 0
                  privilege level 15
                  logging synchronous
                  line aux 0
                  exec-timeout 0 0
                  privilege level 15
                  logging synchronous
                  line vty 0 4
                  login
                  !
                  !
                  end
                  R2
                  !
                  !
                  version 12.4
                  service timestamps debug datetime msec
                  service timestamps log datetime msec
                  no service password-encryption
                  !
                  hostname R2
                  !
                  boot-start-marker
                  boot-end-marker
                  !
                  !
                  no aaa new-model
                  memory-size iomem 5
                  ip cef
                  !
                  !
                  !
                  !
                  no ip domain lookup
                  ip domain name lab.local
                  ipv6 unicast-routing
                  !
                  multilink bundle-name authenticated
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  archive
                  log config
                  hidekeys
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  interface Loopback0
                  ip address 2.2.2.2 255.255.255.0
                  !
                  interface Tunnel0
                  no ip address
                  no ip redirects
                  ipv6 address 2002:1700:1::1/64
                  tunnel source 23.0.0.1
                  tunnel mode ipv6ip 6to4
                  !
                  interface FastEthernet0/0
                  no ip address
                  duplex auto
                  speed auto
                  ipv6 address 2012::2/64
                  ipv6 ospf 1 area 0
                  !
                  interface FastEthernet0/1
                  ip address 23.0.0.1 255.255.255.0
                  duplex auto
                  speed auto
                  !
                  router rip
                  version 2
                  network 23.0.0.0
                  no auto-summary
                  !
                  ip forward-protocol nd
                  !
                  !
                  no ip http server
                  no ip http secure-server
                  !
                  ipv6 route 2002:2200:2::/64 Tunnel0
                  ipv6 route ::/0 2002:2200:2::1
                  ipv6 router ospf 1
                  router-id 2.2.2.2
                  log-adjacency-changes
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  control-plane
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  line con 0
                  exec-timeout 0 0
                  privilege level 15
                  logging synchronous
                  line aux 0
                  exec-timeout 0 0
                  privilege level 15
                  logging synchronous
                  line vty 0 4
                  login
                  !
                  !
                  end
                  R3
                  !
                  !
                  version 12.4
                  service timestamps debug datetime msec
                  service timestamps log datetime msec
                  no service password-encryption
                  !
                  hostname R3
                  !
                  boot-start-marker
                  boot-end-marker
                  !
                  !
                  no aaa new-model
                  memory-size iomem 5
                  ip cef
                  !
                  !
                  !
                  !
                  no ip domain lookup
                  ip domain name lab.local
                  !
                  multilink bundle-name authenticated
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  archive
                  log config
                  hidekeys
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  interface Loopback0
                  ip address 3.3.3.3 255.255.255.0
                  !
                  interface FastEthernet0/0
                  ip address 23.0.0.2 255.255.255.0
                  duplex auto
                  speed auto
                  !
                  interface FastEthernet0/1
                  ip address 34.0.0.1 255.255.255.0
                  duplex auto
                  speed auto
                  !
                  router rip
                  version 2
                  network 23.0.0.0
                  network 34.0.0.0
                  no auto-summary
                  !
                  ip forward-protocol nd
                  !
                  !
                  no ip http server
                  no ip http secure-server
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  control-plane
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  line con 0
                  exec-timeout 0 0
                  privilege level 15
                  logging synchronous
                  line aux 0
                  exec-timeout 0 0
                  privilege level 15
                  logging synchronous
                  line vty 0 4
                  login
                  !
                  !
                  end
                  R4
                  !
                  !
                  version 12.4
                  service timestamps debug datetime msec
                  service timestamps log datetime msec
                  no service password-encryption
                  !
                  hostname R4
                  !
                  boot-start-marker
                  boot-end-marker
                  !
                  !
                  no aaa new-model
                  memory-size iomem 5
                  ip cef
                  !
                  !
                  !
                  !
                  no ip domain lookup
                  ip domain name lab.local
                  ipv6 unicast-routing
                  !
                  multilink bundle-name authenticated
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  archive
                  log config
                  hidekeys
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  interface Loopback0
                  ip address 4.4.4.4 255.255.255.0
                  !
                  interface Tunnel0
                  no ip address
                  no ip redirects
                  ipv6 address 2001:2200:2::1/64
                  tunnel source 34.0.0.2
                  tunnel mode ipv6ip 6to4
                  !
                  interface FastEthernet0/0
                  ip address 34.0.0.2 255.255.255.0
                  duplex auto
                  speed auto
                  !
                  interface FastEthernet0/1
                  no ip address
                  duplex auto
                  speed auto
                  ipv6 address 2045::1/64
                  ipv6 ospf 1 area 0
                  !
                  router rip
                  version 2
                  network 34.0.0.0
                  no auto-summary
                  !
                  ip forward-protocol nd
                  !
                  !
                  no ip http server
                  no ip http secure-server
                  !
                  ipv6 route 2002:1700:1::/64 Tunnel0
                  ipv6 route ::/0 2002:1700:1::1
                  ipv6 router ospf 1
                  router-id 4.4.4.4
                  log-adjacency-changes
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  control-plane
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  line con 0
                  exec-timeout 0 0
                  privilege level 15
                  logging synchronous
                  line aux 0
                  exec-timeout 0 0
                  privilege level 15
                  logging synchronous
                  line vty 0 4
                  login
                  !
                  !
                  end
                  R5
                  !
                  !
                  version 12.4
                  service timestamps debug datetime msec
                  service timestamps log datetime msec
                  no service password-encryption
                  !
                  hostname R5
                  !
                  boot-start-marker
                  boot-end-marker
                  !
                  !
                  no aaa new-model
                  memory-size iomem 5
                  ip cef
                  !
                  !
                  !
                  !
                  no ip domain lookup
                  ip domain name lab.local
                  ipv6 unicast-routing
                  !
                  multilink bundle-name authenticated
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  archive
                  log config
                  hidekeys
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  interface Loopback0
                  ip address 5.5.5.5 255.255.255.0
                  ipv6 address CAFE:DA::/64 eui-64
                  ipv6 ospf 1 area 0
                  !
                  interface FastEthernet0/0
                  no ip address
                  duplex auto
                  speed auto
                  ipv6 address 2045::2/64
                  ipv6 ospf 1 area 0
                  !
                  interface FastEthernet0/1
                  no ip address
                  shutdown
                  duplex auto
                  speed auto
                  !
                  ip forward-protocol nd
                  !
                  !
                  no ip http server
                  no ip http secure-server
                  !
                  ipv6 router ospf 1
                  log-adjacency-changes
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  control-plane
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  line con 0
                  exec-timeout 0 0
                  privilege level 15
                  logging synchronous
                  line aux 0
                  exec-timeout 0 0
                  privilege level 15
                  logging synchronous
                  line vty 0 4
                  login
                  !
                  !
                  end
                  Các bạn xem giùm.

                  Comment


                  • #10
                    bạn coi lại ipv6 address trên tunnel interfaces. xem cái này: http://en.wikipedia.org/wiki/6to4.

                    trước khi cấu hình thì tui khuyên bạn nên hiểu cách 1 technology hoạt động ntn đã. muốn học thì bạn nên đọc tài liệu, sách, cisco docs. học thông qua mấy cái command IOS thì không thu được gì đâu.

                    Comment


                    • #11
                      đia chỉ IPv6 của interface tunnel em thấy đúng mà, địa chỉ đó chuyển đổi từ hai địa chỉ 23.0.0.1 và 34.0.0.2 mà.

                      Comment


                      • #12
                        oh sorry, tunnel address đúng roài.
                        bạn thử lại coi sao:

                        R2:

                        no ipv6 route 2002:2200:2::/64 Tunnel0
                        no ipv6 route ::/0 2002:2200:2::1
                        ipv6 route ::/0 tunnel0

                        R4:
                        no ipv6 route 2002:1700:1::/64 Tunnel0
                        no ipv6 route ::/0 2002:1700:1::1
                        ipv6 route ::/0 tunnel0

                        R2: ping ipv6 2045::1 source fa0/0

                        Comment

                        Working...
                        X