全部博文(102)
分类: 系统运维
2010-09-26 14:09:37
Module 3 Lesson 2 DHCP
Operation with IPv6
DHCP operationàObjectives
Upon
completion of this lesson ,you will be able to:
Ø Describe
the operation of DHCP in IPv6 and how it differs from IPv4.
Lesson outline:
Ø DHCPv6
Ø DHCPv6
operation
Ø DHCPv6
Multicast addresses
1 DHCPv6
DHCPv6à an updated version of DHCP for IPv4
Ø Supports new
addressing
Ø Enables more
control than stateless autoconfiguration
Ø Can be
used for renumbering
Ø Can be
used for automatic domain name registration of hosts using dynamic DNS
Note:
DHCPv6(Dynamic
host configuration protocol) is an updated version of DHCP for IPv4, it
supports the addressing model of IPv6 and benefits from new IPv6 features.
2 DHCPv6 operation
Same as
in IPv4 but
Ø Client first
detects the presence of routers on the link
Ø If found
then examines router advertisements to determine if DHCP can be used
Ø If no
router found or if DHCP can be used , then:
§ DHCP
solicit message is sent to the all-DHCP-agents multicast address
§ Uses the
link-local address as the source address
3 DHCPv6 Multicast addresses
Multicast addresses used:
FF02::1:2=all-DHCP agents (servers or relays)àLink-local scope
FF05::1:3=all-DHCP servers ,site-local scope
3
Summary
In
this lesson , you learned to :
Describe
the operation of DHCP in IPv6 and how it differs from IPv4.
DNS for
IPv4 does not support IPv6 addresses, new records are defined to support IPv6
addresses.
The following
records and new functions are defined:
AAAA
records : this is the IPv6 equivalent of the record which implements the
hostname to IP address mapping, with AAAA records, the IP address is the IPv6
one
Inverse
mapping (IP addressàhostname)
use the PTR record as usual, the top-level domain for the IPv6 addresses is
:ip6.arpa. at the beginning of IPv6 DNS, the top-level domain was ip6.intàthat mechanism is now deprecated.
The example shows the IPv4 and IPv6 formats of the DNS
records.
AAAA records are available since the 4.9.4 release of
the ISC Bind software. Note: PTR means
pointer.
2
Cisco IOS IPv6 DNS client Support
Cisco IOS has IPv6 DNS client support
Queries
DNS server for IPv6/IPv4
Ø First
tries queries for an IPv6 address (AAAA record)
Ø If no
IPv6 address exists. Then query for an IPv4 address (A record)
Ø When both
IPv6 and IPv4 records exit, the IPv6 address is picked first
Ø Static
hostname to IPv6 address can also be configured.
Note:
Cisco
IOS supports a DNS resolver that supports IPv6 for DNS records and DNS
transport on IPv6.
The
behavior of the DNS resolution is such that IPv6 addresses will be chosen over
IPv4 address. When resolving a hostname to an IP address, the router first
queries for an AAAA record. If more than one name server is configured on the
router, all servers are queried for the AAAA record. If the DNS response is
such that no IPv6 address (AAAA record) is found, the router will send a new
query for an A record (IPv4).
3
Examples of the DNS Queries
Router A-------------------------------------------DNS
Server
Query = Type=AAAAà
Resp=3ffe:b00:ffff:1::1 Type=AAAA
OR
<--Nonexistent
Query= Type =Aà
<--Resp=192.168.30.1 Type =A
DNS resolver verifies for IPv6 AAAA records
first
Note:
In this example, router A is configured to
use the DNS Server B, Router A queries DNS server B for the AAAA record for the
hostname . if DNS server B
returns an answer for the AAAA query, the resolution is done, if there is no
AAAA record for the query, the router will send a new query asking for the A
record of .
The DNS queries between the Router A and DNS
Server B, is done using IPv6 transport if the DNS server is identified with its
IPv6 address in the router configuration.
4
Cisco IOS IPv6 DNS configuration
DNS commands for IPv6:
Ø Define
static name for IPv6 address
Ipv6 host
Example:ipv6 host router1 3ffe:b00:ffff:b::1
Ø Configuring
DNS servers to query
ip name-server
example: ip name-server 3ffe:b00:ffff:1::10
Note:
It is possible to define static name for IPv6
addresses using the command ipv6 host
To specify the DNS server used by the router,
use the ip name-server command.
The can be an IPv4 or IPv6 address. Several DNS servers can be
specified with this command – up to 6.
5
IPv6 and DDNS
a.
Dynamic DNS (DDNS)
provide the capability for secure, authenticated updates of DNS zone files
b.
Updating agent is
typically DDNS-aware DHCP server
c.
Profusion of globally
routable client systems (IPv6) will lead to greater emphasis on reachability by
name for nodes with routable but not static addresses – DDNS function
d.
Not yet widely deployed
6
Summary
In this lesson ,you learned to :
Ø Describe the
IPv6 DNS records and how DNS works in IPv6
Ø Describe
DNS operation with IPv6 AAAA records
Ø Configure
and Use DNS on Cisco equipment
chinaunix网友2010-09-27 11:05:04
很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com