! ! ! 特権ユーザモードに移行します。 ! Router> enable Enter password: Router# ! ! ! 基本設定モードに移行します。 ! Router# configure terminal Router(config)# ! ! ! IPv6通信時のネクストホップはewan 1インタフェース(IPv6 IPoE)とします 。 ! Router(config)#ipv6 route ::/0 ewan 1 ! ! ! ewan 1インタフェース設定モードに移行します 。 ! DHCPv6クライアント機能とRA-Proxy機能(NDP-Proxy機能)をを動作させ ! Proxy先のインタフェースをlan 1とします 。 ! Router(config)#interface ewan 1 Router(config-if ewan 1)# ipv6 enable Router(config-if ewan 1)# ipv6 nd receive-ra prefix-delegation lan 1 Router(config-if ewan 1)# ipv6 dhcp client ipv6dns_client Router(config-if ewan 1)#exit Router(config)#! ! ! lan 1インタフェース設定モードに移行します 。 ! DHCPv6-PDで取得したIPv6プレフィックスからIPv6アドレスを自動生成します 。 ! また、RA送信、およびDHCPv6サーバ機能を動作させます 。 ! Router(config)#interface lan 1 Router(config-if lan 1)# ipv6 enable Router(config-if lan 1)# ipv6 address autoconfig Router(config-if lan 1)# ipv6 nd other-config-flag ! IPv6アドレス設定以外のオプション情報をホストに自動的に取得させます 。 Router(config-if lan 1)# ipv6 nd send-ra Router(config-if lan 1)# ipv6 dhcp server ipv6dns_server Router(config-if lan 1)#exit ! Router(config)#ipv6 dhcp client-profile ipv6dns_client Router(config-ipv6-dhcp-client-prof)# option-request dns-servers Router(config-ipv6-dhcp-client-prof)#exit ! Router(config)#ipv6 dhcp server-profile ipv6dns_server Router(config-ipv6-dhcp-server-prof)# dns-server forward dhcp-client ewan 1 Router(config-ipv6-dhcp-server-prof)#exit Router(config)# ! ! ! 特権ユーザモードに戻ります。 ! Router(config)# end ! ! ! 設定を保存します。 ! Router# save SIDE-A.cfg % saving working-config % finished saving Router# ! ! ! 設定を有効にするために再起動します。 ! Router# reset Are you OK to cold start?(y/n) y
EWAN1インタフェースにてDNSアドレスを取得している事を確認します。
確認内容 | 画面表示例 |
---|---|
DHCPv6クライアント機能の状況を表示 DNSアドレスを確認 |
Router# show ipv6 dhcp client status
Interface status EWAN1 Client identifier: **:**:**:**:**:**:**:**:**:** Server identifier: **:**:**:**:**:**:**:**:**:** Server Address: **:**:**:**:**:**:**:**:**:** Prefix Delegation DNS Servers 2001:db8:face:200::34 Last Update : 2011/09/29 16:11:59 |
LAN インタフェースにIPv6アドレスが設定されている事を確認します
確認内容 | 画面表示例 |
---|---|
LANインタフェースのIPv6情報を表示 IPv6アドレスが設定されている事を確認 |
Router#show ipv6 interface lan 1 LAN is up IPv6 is enabled, link-local address is fe80::280:bdff:fef0:3678 Global unicast address(es): 2001:db8:face:200::1, subnet is 2001:db8:face:200::/64 Joined group address(es): ff02::2 ff05::1:3 ff02::1:2 ff02::1 ff02::1:fff0:3678 MTU is 1500 bytes ICMP error messages limited to 100 per second ND reachable time is 44000 milliseconds ND advertised reachable time is 0 milliseconds ND advertised retransmit interval is 0 milliseconds ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds ND router solicit transmission first delay time is 0 seconds ND router solicit transmission interval is 4 seconds ND router solicit transmission times is 3 Hosts use stateless autoconfig for addresses. Current Hop Limit:64 reachable time 44000ms (base 30000ms) retranamission interval 1000ms |