Difference between revisions of "DHCPv6 Cisco IOS"
From Teknologisk videncenter
m (→To global unicast) |
m |
||
Line 2: | Line 2: | ||
This article will be written when the author gets experience using DHCPv6. (Hopefully shortly :-) | This article will be written when the author gets experience using DHCPv6. (Hopefully shortly :-) | ||
{{TOCright}} | {{TOCright}} | ||
+ | =DHCPv6 other-config-flag= | ||
+ | Node will autoconfigure its IPv6 address using [[Stateless Autoconfiguration IPv6 Cisco IOS||Stateless Autoconfiguration]]. The '''ipv6 nd other-config-flag''' teels the node to collect remaining setup from DHCPv6- in this case DNS-server IP. | ||
+ | <source lang=cli> | ||
+ | ipv6 dhcp pool ROOM308 | ||
+ | dns-server 2001:16D8:DD85:B000:20C:29FF:FE84:CC63 | ||
+ | ! | ||
+ | interface FastEthernet0/1 | ||
+ | ipv6 address 2001:16D8:DD85:B000::1/64 | ||
+ | ipv6 enable | ||
+ | ipv6 nd other-config-flag | ||
+ | ipv6 dhcp server ROOM308 | ||
+ | ! | ||
+ | </source> | ||
+ | |||
=DHCPv6 Relay agent= | =DHCPv6 Relay agent= | ||
==On local link== | ==On local link== |
Revision as of 06:22, 13 December 2011
This article will be written when the author gets experience using DHCPv6. (Hopefully shortly :-)
DHCPv6 other-config-flag
Node will autoconfigure its IPv6 address using |Stateless Autoconfiguration. The ipv6 nd other-config-flag teels the node to collect remaining setup from DHCPv6- in this case DNS-server IP.
ipv6 dhcp pool ROOM308
dns-server 2001:16D8:DD85:B000:20C:29FF:FE84:CC63
!
interface FastEthernet0/1
ipv6 address 2001:16D8:DD85:B000::1/64
ipv6 enable
ipv6 nd other-config-flag
ipv6 dhcp server ROOM308
!
DHCPv6 Relay agent
On local link
R1(config)#<input>interface fastethernet 0/0</input>
R1(config-if)#<input>ipv6 dhcp relay destination FE80::250:A2FF:FEBF:A056 fastethernet0/1</input>
To global unicast
R1(config)#<input>interface fastethernet 0/0</input>
R1(config-if)#<input>ipv6 dhcp relay destination 2001:16D8:DD85:146::2</input>
R1(config-if)#<input>ipv6 dhcp relay source-interface loopback 0</input>
To Multicast All Site Local DHCPv6 servers
R1(config)#<input>interface fastethernet 0/0</input>
R1(config-if)#<input>ipv6 dhcp relay destination FF05::1:3</input>