cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1752
Views
0
Helpful
4
Replies

Can't ping secondary IP address on subinterface from svi

Hi to all.

We have a border router with lots of subinterfaces and some of them have few secondary networks from different subnets on it. I've configured SVI interface on same VLAN in same subnet, but can't ping from this SVI  the secondary address, that applied on subinterface on a router.

It seems strange, because on other subinterface, with few secondary networks - all works fine.

All links between swithes and routers are in trunk mode, all switches contains appropriate vlans on their vlan.dat, all appropriate vlans are allowed on switches, all arp entries are present on border router and on switches, all appopriate mac addresses are in mac-add table present.int v

BR conf:

int gi0/1.10
encapsulation dot1q 10
ip add 192.168.1.1 255.255.255.0
ip add 192.168.2.1 255.255.255.0 secondary

int gi0/1.20
encapsulation dot1q 20
ip add 192.168.10.1 255.255.255.0
ip add 192.168.11.1 255.255.255.0 secondary

 

sw101 conf:

int vlan10

ip add 192.168.1.2 255.255.255.0

no ip route-cache

!

int vlan20

ip add 192.168.10.2 255.255.255.0

no ip route-cache

!

ip default-gateway 192.168.1.1

 

sw102 conf:

 

int vlan10

ip add 192.168.1.3 255.255.255.0

no ip route-cache

!

int vlan20

ip add 192.168.10.3. 255.255.255.0

no ip route cache

ip default-gateway 192.168.1.1

!

Connection scheme is trivial: br-->sw101-----L2VPN(QinQ) ISP-->sw102

ping 192.168.1.1 from sw101 & sw102 are successful.

ping to 192.168.10.1 from sw101 & sw102 are fails (sometimes some packets reach to destination - about 1-2 from 5 sended packets)

When i remove secondary ip address from BR (192.168.11.1/24) subinterface - all works fine.

Cannot understand, what's wrong ?

br -  7206VXR (NPE-G2)

sw101 - WS-C3560X-48T-L

sw102 - WS-X45-SUP7L-E

 

I haven't attach the other configurations of ports (trunk port configuration, vlan database and etc) bcoz i believe the problem not in L2 Layer, i think problem as for arp entries.

 

P.S. Sorry guys for my english, sorry for probably a stupid question, but i really can't catch it - pls help me to understand that.

4 Replies 4

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Can you post the output of "sh run" from all 3 devices?

 

I'll post it ASAP....

acampbell
VIP Alumni
VIP Alumni

Hi sgulyamov,

As you have more than ONE svi configured on your switches you are basically
turning then into routers (L3 Switches).

Can you try removing the ip default-gateway

!
no ip default-gateway 192.168.1.1
ip routing
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!


Just try on one switch

Let us know if it helps


Regards
Alex

Regards, Alex. Please rate useful posts.

Hi, 

I try, that you've recommended

but there is the output of ping command from the switch:

sw022#ping 192.168.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.7.1, timeout is 2 seconds:
..!..

Success rate is 20 percent (1/5), round-trip min/avg/max = 1/1/1 ms

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card