cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3809
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
Spotlight
Spotlight

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

3 Replies 3

Harold Ritter
Spotlight
Spotlight

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Harold Ritter
Spotlight
Spotlight

Hi @sachin30720041 ,

 

Did you get a chance to test the proposed solution?

 

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Hi Harold,

 

With the above mentioned configuration ping is working.

 

Thanks,

Sachin