cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3930
Views
5
Helpful
2
Replies

ipv6 - Router Advertisement

Yasmeen
Level 1
Level 1

Hi Team, 

         i have configured ipv6 DHCP pool on my linux machine 

  • via dhcp pool i am getting ipv6 address to my clients 
  • i need gateway ipv6 address for my setup 
  • how can i enable Router advertisement commands on cisco switch 
  • so that i can access my network with RA assigned ipv6 gateway address 
  • pls share me IPV6 - router advertisement commands configuration on cisco switch 
  •  
2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Yasmeen,

for a Cisco multilayer switch to support IPv6 routing

you need

ipv6 unicast-routing

ipv6 cef

+

configuration under interface (routed interface or more likely SVI interface)

interface vlan 10

ipv6 address 2001:AAAA::/64 eui-64

 

However, these commands may be supported or not depending on the SDM template of the switch

You can check this with

show sdm prefer

 

If your current SDM template does not support IPv6 you need to change it and to reload the switch.

 

Later I will add how to make the switch to advertise DHVPv6 prefixes in router advertisements.

 

Ipv6 router advertisements are enabled by default the following command re-enable them

no ipv6 nd ra supress

 

Edit:

You may need the DHCPv6 relay agent feature

 

Configuring the DHCPv6 Relay Agent

SUMMARY STEPS

1.    enable

2.    configure terminal

3.    interface type number

4.    ipv6 enable

5.    ipv6 dhcp relay destination ipv6-address [interface-type interface-number]

6.    end

 

see

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/xe-16/dhcp-xe-16-book/ip6-dhcp-rel-agent-xe.html

 

This should be configured on all L3 IPv6 interfaces not directly connected to the linux box acting as DHCPv6 server.

 

Hope to help

Giuseppe

 

Harold Ritter
Cisco Employee
Cisco Employee

You would need the following on the customer facing interface.

 

inteface vlanxxx

 ipv6 address 2001:DB8:12ff:1::1/64 
 ipv6 nd prefix 2001:db8:12ff:1::/64 no-advertise <++++++ This is to make sure SLAAC is not used.
 ipv6 nd managed-config-flag 
 ipv6 nd other-config-flag 


 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Review Cisco Networking products for a $25 gift card