cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3256
Views
5
Helpful
3
Replies

ipv6 address on subinterfaces

sachin30720041
Level 1
Level 1

Hello,

 

R1's gig1 is connected with r2's gig1.

R1-------------R2

 

I have created subinterfaces on R1 and R2. and assigned IPv6 addresses to newly created subinterfaces.

R1

ipv6 unicast-routing

Router#show run int g1.2
interface GigabitEthernet1.2
encapsulation dot1Q 2
ipv6 address 2001::1/64
ipv6 enable
end

 

R2

ipv6 unicast-routing

interface GigabitEthernet1.2
encapsulation dot1Q 2
ipv6 address 2001::2/64
ipv6 enable
end

 

When I try to ping from R1's gig1.2 to R2's gig1.2 I get the following error.

R1#ping 2001::2 source gigabitEthernet 1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001::2, timeout is 2 seconds:
Packet sent with a source address of 2001::1
.H..H
Success rate is 0 percent (0/5)

 

Why ping is not working?

 

Thanks!

 

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Hi @sachin30720041 ,

 

I suppose this is on the CSR1000v, right?

 

If so, this is due to the different way this platform deals with dot1q traffic.

 

Try the following instead:

 

R1:

no interface GigabitEthernet1.2

interface GigabitEthernet1
no ip address
service instance 2 ethernet
encapsulation dot1q 2

!

bridge-domain 2
member GigabitEthernet1 service-instance 2

!

interface BDI2
encapsulation dot1Q 2
ipv6 address 2001::1/64
no shutdown

 

R2:

no interface GigabitEthernet1.2

interface GigabitEthernet1
no ip address
service instance 2 ethernet
encapsulation dot1q 2

!

bridge-domain 2
member GigabitEthernet1 service-instance 2

!

interface BDI2
encapsulation dot1Q 2
ipv6 address 2001::2/64
no shutdown

 

That should solve your issue.

 

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

View solution in original post

3 Replies 3

Harold Ritter
Cisco Employee
Cisco Employee

Hi @sachin30720041 ,

 

I suppose this is on the CSR1000v, right?

 

If so, this is due to the different way this platform deals with dot1q traffic.

 

Try the following instead:

 

R1:

no interface GigabitEthernet1.2

interface GigabitEthernet1
no ip address
service instance 2 ethernet
encapsulation dot1q 2

!

bridge-domain 2
member GigabitEthernet1 service-instance 2

!

interface BDI2
encapsulation dot1Q 2
ipv6 address 2001::1/64
no shutdown

 

R2:

no interface GigabitEthernet1.2

interface GigabitEthernet1
no ip address
service instance 2 ethernet
encapsulation dot1q 2

!

bridge-domain 2
member GigabitEthernet1 service-instance 2

!

interface BDI2
encapsulation dot1Q 2
ipv6 address 2001::2/64
no shutdown

 

That should solve your issue.

 

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

Harold Ritter
Cisco Employee
Cisco Employee

Hi @sachin30720041 ,

 

Did you get a chance to test the proposed solution?

 

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

Hi Harold,

 

With the above mentioned configuration ping is working.

 

Thanks,

Sachin