Specifications
20-6
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Software Configuration Guide, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter 20 Configuring IPv6
Sample IPv6 Configurations
neighbor 192.168.2.10 send-community extended
exit-address-family
By default, the next hop advertised will be the IPv6 VPN address:
[0:0]::FFFF:192.168.2.10
Note that it is a 192-bit address in the format of [RD]::FFFF:IPv4-address.
When the BGP IPv6 VPN peers share a common subnet, the MP_REACH_NLRI attribute contains a
link-local address next hop in addition to the global address next hop. This situation typically occurs in
an interautonomous-system topology when ASBRs are facing each other. In that case, the link-local next
hop is used locally, and the global next hop is readvertised by BGP.
The BGP next hop is the keystone for building the label stack. The inner label is obtained from the BGP
NLRI, and the outer label is the label distribution protocol (LDP) label to reach the IPv4 address
embedded into the BGP next hop.
For more information about how to configure multiprotocol BGP, refer to Implementing Multiprotocol
BGP for IPv6.
DHCP
The following examples show how to configure DHCP for IPv6:
• Stateful DHCP—Server
• Stateful DHCP—Client
• Stateless DHCP—Server
• Stateless DHCP—Client
Stateful DHCP—Server
ipv6 dhcp pool dhcp-pool
prefix-delegation pool client-prefix-pool1 lifetime 1800 600
dns-server 2001:0DB8:3000:3000::42
domain-name example.com
interface vlan 102
ipv6 address 102::2/64
ipv6 dhcp server dhcp-pool
ipv6 local pool client-prefix-pool1 2001:0DB8:1200::/48 48
Stateful DHCP—Client
interface vlan 102
ipv6 dhcp client pd prefix-from-provider
interface vlan 101
ipv6 address prefix-from-provider 2001:0DB8::5:0:0:0:100/64
Stateless DHCP—Server
ipv6 dhcp pool dhcp-pool
dns-server 2001:0DB8:3000:3000::42
domain-name example.com
interface vlan 102
ipv6 address 2001:0DB8:1234:42::1/64
ipv6 dhcp server dhcp-pool
Stateless DHCP—Client
interface vlan 102