cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2864
Views
0
Helpful
6
Replies

Switch IPV6 help needed

sprocket10
Level 2
Level 2

I am currently setting up a network for a demo system and IPV6 has been identified as a requirement to be shown to be working. The requirement is to show one device working in IPV6. I have not used IPV6 previously and even though I would like to learn the setup, I just havent time left. I have tried setting up today and can ping the IPV6 device but only on the same VLAN, but the requirement is for 2 VLANS.

I would really appreciate someone to do a quick basic config to add to our 3750 switch.

 

The device needs IPV6 assigned via DHCP plugged into VLAN 2

Devices on VLAN 3 need to be able to ping/access the device.

 

6 Replies 6

luis_cordova
VIP Alumni
VIP Alumni

Hi @sprocket10 ,

 

Could you share some diagram of your network to be able to have more clarity of the necessary configurations?

 

Regards

Simple setup:

Device A plugged into switch port 1 on Vlan 2 requires IPV6 address assigned

Device B plugged into switch port 2 on Vlan 3 need access to Device A

 

I have tested and even without dhcp setup, Device A gets a IPV6 address which I can ping from the CLI via Vlan2 but not via Vlan3

 

The config I have tried (written from memory)

 

ipv6 unicast-routing

!

interface GigabitEthernet1/0/1
 switchport access vlan 2

!

interface GigabitEthernet1/0/2
 switchport access vlan 3

!

interface Vlan2
 ip address 192.168.1.1 255.255.255.0

 ipv6 enable

!

interface Vlan3
 ip address 192.168.2.1 255.255.255.0

 ipv6 enable

The issue is that you did not configure IPv6 addresses on the switch. You can use the following documentation addresses to perform your test.

 

interface Vlan2
 ip address 192.168.1.1 255.255.255.0

 ipv6 address 2001:db8:12ff:1::1/64

!

interface Vlan3
 ip address 192.168.2.1 255.255.255.0

 ipv6 address 2001:db8:12ff:2::1/64

 

This should be enough to ping between the two devices.

 

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

Thank you thats helped, just one little problem now. The switch and 'device B' (vlan3) can now ping 'device A' (vlan2) unless 'device A' is rebooted or disconnected/reconnected to the switch. Afterwards only the switch or another device on vlan2 can ping 'device 2' until the switch is rebooted, and then everything works again.

Hi, You need to configure the IPv6 address on the Vlan 2 & 3. Then use the dynamic routing will help such as rip, eigrp

 

Harold Ritter
Cisco Employee
Cisco Employee

One basic thing that is often missed when trying to enable ipv6 routing on an IOS device, is the configuration of "ipv6 unicast-routing". Without this command, the device is just an ipv6 host.

 

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