PDA

View Full Version : Chỉ dẫn cách cấu hình DHCPv6 và cơ chế tunnel!



meo_dancer
17-09-2008, 10:06 PM
Nhờ các bác hướng dẫn giùm minh cách cấu hình dhcpv6 trên router nha ! Minh cấu hình theo tài liêu trên mạng lúc debug nó báo statuscode: noprefixavail và không cấp ip được cho pc.
Ngoài ra nhờ các bác hướng dẫn cách cấu hình tunnel để trao đổi dữ liệu từ mạng ipv6 sang mạng ipv4 với !!! Cám ơn các bác nhiều !!!

tranmyphuc
18-09-2008, 01:25 AM
Nhờ các bác hướng dẫn giùm minh cách cấu hình dhcpv6 trên router nha ! Minh cấu hình theo tài liêu trên mạng lúc debug nó báo statuscode: noprefixavail và không cấp ip được cho pc.
Ngoài ra nhờ các bác hướng dẫn cách cấu hình tunnel để trao đổi dữ liệu từ mạng ipv6 sang mạng ipv4 với !!! Cám ơn các bác nhiều !!!

Chào !

IPv6 to ipv4 : http://www.cisco.com/application/pdf/paws/25156/ipv6tunnel.pdf

Bạn có thể đưa cấu hình Router lên đây được không ?
Chúc bạn vui!

meo_dancer
20-09-2008, 10:51 AM
DHCP server:
hostname DHCP
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
!
ipv6 unicast-routing
ipv6 dhcp pool NET
prefix-delegation pool NET lifetime 1800 600
domain-name HWM.COM
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
no ip address
ipv6 address 2000:AAA::1/64
ipv6 enable
ipv6 dhcp server NET rapid-commit
ipv6 ospf 1 area 0
no keepalive
serial restart-delay 0
!
ip http server
no ip http secure-server
!
ipv6 local pool NET FC03::/64 64
ipv6 router ospf 1
router-id 1.1.1.1
log-adjacency-changes


DHCP relay:
!
hostname RELAY
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
!
ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address FC05::1/64
ipv6 enable
ipv6 dhcp relay destination 2000:AAA::1 Serial1/0
ipv6 ospf 1 area 0
no keepalive
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
no ip address
ipv6 address 2000:AAA::2/64
ipv6 enable
ipv6 ospf 1 area 0
no keepalive
serial restart-delay 0
!!
ip http server
no ip http secure-server
!
ipv6 router ospf 1
router-id 2.2.2.2
log-adjacency-changes
!
!


DHCP client:
hostname PC
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
!
ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address autoconfig
ipv6 enable
ipv6 dhcp client pd NET
ipv6 ospf 1 area 0
no keepalive
!!
ip http server
no ip http secure-server
!
ipv6 router ospf 1
router-id 3.3.3.3
log-adjacency-changes
!



Sau khi cấu hình như thế xong mình shut rồi no shut cổng f0/0 của pc và debug ipv6 dhcp tren server và client được như sau:

**Trên server:
*Mar 1 00:36:17.055: IPv6 DHCP: Received RELAY-FORWARD from 2000:AAA::2 on Seri
al1/0
*Mar 1 00:36:17.063: IPv6 DHCP: Ignoring REBIND from 2000:AAA::2 on Serial1/0
*Mar 1 00:36:18.015: IPv6 DHCP: Received RELAY-FORWARD from 2000:AAA::2 on Seri
al1/0
*Mar 1 00:36:18.019: IPv6 DHCP: Ignoring REBIND from 2000:AAA::2 on Serial1/0
*Mar 1 00:36:20.199: IPv6 DHCP: Received RELAY-FORWARD from 2000:AAA::2 on Seri
al1/0
*Mar 1 00:36:20.207: IPv6 DHCP: Ignoring REBIND from 2000:AAA::2 on Serial1/0
*Mar 1 00:36:24.207: IPv6 DHCP: Received RELAY-FORWARD from 2000:AAA::2 on Seri
al1/0
*Mar 1 00:36:24.211: IPv6 DHCP: Ignoring REBIND from 2000:AAA::2 on Serial1/0
*Mar 1 00:36:29.247: IPv6 DHCP: Received RELAY-FORWARD from 2000:AAA::2 on Seri
al1/0
*Mar 1 00:36:29.255: IPv6 DHCP: Sending RELAY-REPLY to 2000:AAA::2 on Serial1/0
*Mar 1 00:36:30.307: IPv6 DHCP: Received RELAY-FORWARD from 2000:AAA::2 on Seri
al1/0
*Mar 1 00:36:30.311: IPv6 DHCP: Creating binding for FC05::C001:DFF:FEB0:0 in p
ool NET
*Mar 1 00:36:30.315: IPv6 DHCP: Allocating IA_PD 00040001 in binding for FC05::
C001:DFF:FEB0:0
*Mar 1 00:36:30.319: IPv6 DHCP: Allocating prefix FC03::/64 in binding for FC05
::C001:DFF:FEB0:0, IAID 00040001
*Mar 1 00:36:30.323: IPv6 DHCP: Sending RELAY-REPLY to 2000:AAA::2 on Serial1/0


**Trên client:
*Mar 1 00:40:28.255: IPv6 DHCP: Sending REBIND to FF02::1:2 on FastEthernet0/0
*Mar 1 00:40:29.175: IPv6 DHCP: Received REPLY from FE80::C000:DFF:FEB0:0 on Fa
stEthernet0/0
*Mar 1 00:40:29.179: IPv6 DHCP: Processing options
*Mar 1 00:40:29.179: IPv6 DHCP: Adding prefix FC03::/64 to NET
*Mar 1 00:40:29.183: IPv6 DHCP: T1 set to expire in 300 seconds
*Mar 1 00:40:29.183: IPv6 DHCP: T2 set to expire in 480 seconds
*Mar 1 00:40:29.187: IPv6 DHCP: DHCPv6 changes state from VERIFY to OPEN (REPLY
_RECEIVED) on FastEthernet0/0


PC#SHOW IPV6 INT BRI
FastEthernet0/0 [up/up]
FE80::C001:DFF:FEB0:0
FC05::C001:DFF:FEB0:0
FastEthernet0/1 [administratively down/down]
Serial1/0 [administratively down/down]
Serial1/1 [administratively down/down]
Serial1/2 [administratively down/down]
Serial1/3 [administratively down/down]

Nhờ bạn xem giùm rồi hướng dẫn mình cấu hình lại cho đúng nha!!! Cám ơn nhé!!!

dangquangminh
20-09-2008, 04:27 PM
Cấu hình Server:

ipv6 dhcp pool dhcp-pool
prefix-delegation pool client-prefix-pool1 lifetime 1800 600
dns-server 2001:0DB8:3000:3000::42
domain-name examplecom
!
interface Ethernet0/0
description downlink to clients
ipv6 address FEC0:240:104:2001::139/64
ipv6 dhcp server dhcp-pool
!
ipv6 local pool client-prefix-pool1 2001:0DB8:1200::/40 48

Cấu hình router làm DHCP IPv6 Client:

interface Ethernet 0/0
description uplink to provider DHCP IPv6 server
ipv6 dhcp client pd prefix-from-provider
!
interface FastEthernet 0/0
description local network 0
ipv6 address prefix-from-provider ::5:0:0:0:100/64
!
interface FastEthernet 0/1
description local network 1
ipv6 address prefix-from-provider ::6:0:0:0:100/64

TreLang
30-04-2010, 09:29 PM
Cấu hình Server:

ipv6 dhcp pool dhcp-pool
prefix-delegation pool client-prefix-pool1 lifetime 1800 600
dns-server 2001:0DB8:3000:3000::42
domain-name examplecom
!
interface Ethernet0/0
description downlink to clients
ipv6 address FEC0:240:104:2001::139/64
ipv6 dhcp server dhcp-pool
!
ipv6 local pool client-prefix-pool1 2001:0DB8:1200::/40 48

Cấu hình router làm DHCP IPv6 Client:

interface Ethernet 0/0
description uplink to provider DHCP IPv6 server
ipv6 dhcp client pd prefix-from-provider
!
interface FastEthernet 0/0
description local network 0
ipv6 address prefix-from-provider ::5:0:0:0:100/64
!
interface FastEthernet 0/1
description local network 1
ipv6 address prefix-from-provider ::6:0:0:0:100/64

Anh ơi ?
EM không hiểu cho lắm,do không có hình mô phỏng.
Anh có thể làm một bài đơn giản trên packet tracer được không ?

Thanks!

ngoccu123
01-05-2010, 09:04 PM
EM CUNG DINH LAM MOT BAI LAP BANG CACH SU DUNG NAT VA TUNNEL.NHUNG SAU KHI CAI OK RUI,DEN BUOC LAY ROUTER RA DE THUC HIEN THI NO BAO LOI(EM CHAY GNS3 v7 TREN HE DIEU HANH WINDOWN 7)

ngoccu123
17-05-2010, 06:40 PM
dien dang gi ma chang ai tra loi gi vay!
minh hoi gi dau ma ca thang troi chang ai them tra loi,chan that!a,ma sao minh go co dau cho de doc ma khong dc vay cac Bac

hkvt
17-08-2010, 05:16 PM
Các bạn có tể cho mình xin IOS của bài lab mà bạn meo_dancer đã post lên ko? Vì 1 số IOS mình down về được có hỗ trợ chức năng gán địa chỉ IPv6 theo kiểu stateful ( cụ thể là IOS c7200 (12.4(24)T) thì lúc load bằng gns3 lên thành công nhưng khi vào màn hình console thì lại ko có j hiện lên). Mình cám ơn các bạn.