issue routing inter-vlan on switch

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
hossam
Posts: 6
Joined: Fri May 15, 2020 7:25 pm

issue routing inter-vlan on switch

Post by hossam » Thu Jul 09, 2020 12:20 pm

hello team
I need your fedback please.
I have turn on ip routing on switch L2 to perform routing inter-vlan
I put 2 vpc the first one in vlan 10 and the other in vlan 20
from vpc vlan 10 I can ping his getway and vlan 20 getways but can't ping vpc ip in vlan 20


any idea

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: issue routing inter-vlan on switch

Post by Uldis (UD) » Thu Jul 09, 2020 1:53 pm

No issues, it is your config problem..
and dont use VPCS

hossam
Posts: 6
Joined: Fri May 15, 2020 7:25 pm

Re: issue routing inter-vlan on switch

Post by hossam » Thu Jul 09, 2020 2:24 pm

this is the switch config and I've already enabled ip routing :
Switch#sh run
Building configuration...

Current configuration : 1026 bytes
!
! Last configuration change at 16:21:44 EET Thu Jul 9 2020
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
switchport access vlan 10
switchport mode access
spanning-tree portfast edge
!
interface Ethernet0/1
switchport access vlan 20
switchport mode access
spanning-tree portfast edge
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Vlan10
ip address 192.168.1.254 255.255.255.0
!
interface Vlan20
ip address 192.168.2.254 255.255.255.0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
Switch#sh interfaces status

Port Name Status Vlan Duplex Speed Type
Et0/0 connected 10 auto auto unknown
Et0/1 connected 20 auto auto unknown
Et0/2 connected 1 auto auto unknown
Et0/3 connected 1 auto auto unknown


Switch#sh vlan

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Et0/2, Et0/3
10 user active Et0/0
20 infra active Et0/1
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------

Switch#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.1.10 1 0050.7966.6802 ARPA Vlan10
Internet 192.168.1.254 - aabb.cc80.1000 ARPA Vlan10
Internet 192.168.2.10 0 0050.7966.6803 ARPA Vlan20
Internet 192.168.2.254 - aabb.cc80.1000 ARPA Vlan20
Switch#

from vpc :

VPCS>
VPCS> ping 192.168.1.254

84 bytes from 192.168.1.254 icmp_seq=1 ttl=255 time=0.352 ms
84 bytes from 192.168.1.254 icmp_seq=2 ttl=255 time=0.467 ms
84 bytes from 192.168.1.254 icmp_seq=3 ttl=255 time=0.436 ms
84 bytes from 192.168.1.254 icmp_seq=4 ttl=255 time=0.460 ms
84 bytes from 192.168.1.254 icmp_seq=5 ttl=255 time=0.499 ms
^C
VPCS> ping 192.168.2.254

84 bytes from 192.168.2.254 icmp_seq=1 ttl=255 time=0.811 ms
84 bytes from 192.168.2.254 icmp_seq=2 ttl=255 time=0.630 ms
84 bytes from 192.168.2.254 icmp_seq=3 ttl=255 time=0.415 ms
84 bytes from 192.168.2.254 icmp_seq=4 ttl=255 time=0.481 ms
^C
VPCS> ping 192.168.2.10

192.168.2.10 icmp_seq=1 timeout
192.168.2.10 icmp_seq=2 timeout
192.168.2.10 icmp_seq=3 timeout
192.168.2.10 icmp_seq=4 timeout

what can I use instead of vpc ??

Post Reply