cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
215
Views
0
Helpful
2
Replies

Can't ping between VLAN but can ping subinterfaces

elainemoran
Level 1
Level 1

Hi 

I'm having a problem with my vlan configuration. 

I've set up a number of VLANs on my router and coresponding sub interfaces on g0/0. On g0/1 I've set an IP address and have this connected to a switch with no VLANS set up on as its just dealing with the devices on the same IP scheme. On another switch I have a port set up for one of my VLANs and a trunk port. I have this connected to g0/0 i.e. the subinterfaces port. 

I can ping the g0/1 ip address and subinterface addresses from either switch however I cannot ping a device on a VLAN from a VLAN.

Any idea what I'm doing wrong, its fairly simple in theory but complicated in practice!

My router is a 2921 and one switch is a 2950. 

Router running config & routes:

Siemens_Router#sh ip route


Gateway of last resort is 0.0.0.0 to network 0.0.0.0

S* 0.0.0.0/0 is directly connected, GigabitEthernet0/1
S 192.168.100.0/22 is directly connected, GigabitEthernet0/1
192.168.100.0/24 is variably subnetted, 16 subnets, 2 masks
C 192.168.100.0/27 is directly connected, GigabitEthernet0/1
L 192.168.100.1/32 is directly connected, GigabitEthernet0/1
C 192.168.100.32/27 is directly connected, GigabitEthernet0/0.1
L 192.168.100.33/32 is directly connected, GigabitEthernet0/0.1
C 192.168.100.64/27 is directly connected, GigabitEthernet0/0.2
L 192.168.100.65/32 is directly connected, GigabitEthernet0/0.2
C 192.168.100.96/27 is directly connected, GigabitEthernet0/0.3
L 192.168.100.97/32 is directly connected, GigabitEthernet0/0.3
C 192.168.100.128/27 is directly connected, GigabitEthernet0/0.4
L 192.168.100.129/32 is directly connected, GigabitEthernet0/0.4
C 192.168.100.160/27 is directly connected, GigabitEthernet0/0.5
L 192.168.100.161/32 is directly connected, GigabitEthernet0/0.5
C 192.168.100.192/27 is directly connected, GigabitEthernet0/0.6
L 192.168.100.193/32 is directly connected, GigabitEthernet0/0.6
C 192.168.100.224/27 is directly connected, GigabitEthernet0/0.7
L 192.168.100.225/32 is directly connected, GigabitEthernet0/0.7
192.168.101.0/24 is variably subnetted, 8 subnets, 2 masks
C 192.168.101.0/27 is directly connected, GigabitEthernet0/0.8
L 192.168.101.1/32 is directly connected, GigabitEthernet0/0.8
C 192.168.101.32/27 is directly connected, GigabitEthernet0/0.9
L 192.168.101.33/32 is directly connected, GigabitEthernet0/0.9
C 192.168.101.64/27 is directly connected, GigabitEthernet0/0.10
L 192.168.101.65/32 is directly connected, GigabitEthernet0/0.10
C 192.168.101.96/27 is directly connected, GigabitEthernet0/0.11
L 192.168.101.97/32 is directly connected, GigabitEthernet0/0.11
Siemens_Router#sh run
Building configuration...

Current configuration : 6692 bytes
!
! Last configuration change at 18:42:03 UTC Wed Dec 21 2016
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname XXXX
!
boot-start-marker
boot-end-marker
!
!
logging buffered 51200 warnings
!
no aaa new-model

ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool ccp-pool
import all
network 10.10.10.0 255.255.255.128
default-router 10.10.10.1
lease 0 2
!
!
!
ip domain name yourdomain.com
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
password encryption aes
cts logging verbose
!
crypto pki trustpoint TP-self-signed-1442238283
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1442238283
revocation-check none
rsakeypair TP-self-signed-1442238283
!
!

license udi pid CISCO2921/K9 sn FCZ202070P1
!
!
username XXX privilege 15 secret 5
!
redundancy

!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description Trunk link to switch
no ip address
duplex full
speed auto
!
interface GigabitEthernet0/0.1
encapsulation dot1Q 3401
ip address 192.168.100.33 255.255.255.224
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 3402
ip address 192.168.100.65 255.255.255.224
!
interface GigabitEthernet0/0.3
encapsulation dot1Q 3403
ip address 192.168.100.97 255.255.255.224
!
interface GigabitEthernet0/0.4
encapsulation dot1Q 3404
ip address 192.168.100.129 255.255.255.224
!
interface GigabitEthernet0/0.5
encapsulation dot1Q 3405
ip address 192.168.100.161 255.255.255.224
!
interface GigabitEthernet0/0.6
encapsulation dot1Q 3406
ip address 192.168.100.193 255.255.255.224
!
interface GigabitEthernet0/0.7
encapsulation dot1Q 3407
ip address 192.168.100.225 255.255.255.224
!
interface GigabitEthernet0/0.8
encapsulation dot1Q 3408
ip address 192.168.101.1 255.255.255.224
!
interface GigabitEthernet0/0.9
encapsulation dot1Q 3409
ip address 192.168.101.33 255.255.255.224
!
interface GigabitEthernet0/0.10
encapsulation dot1Q 3410
ip address 192.168.101.65 255.255.255.224
!
interface GigabitEthernet0/0.11
encapsulation dot1Q 3411
ip address 192.168.101.97 255.255.255.224
!
interface GigabitEthernet0/0.12
encapsulation dot1Q 3412 native
!
interface GigabitEthernet0/1
ip address 192.168.100.1 255.255.255.224
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/1
ip route 192.168.100.0 255.255.252.0 GigabitEthernet0/1

!
access-list 23 permit 10.10.10.0 0.0.0.127
!
control-plane

end

2 Replies 2

chrihussey
VIP Alumni
VIP Alumni

Could you provide the config of the switch that is trunks to the router?

mikeleebrla
Level 1
Level 1

Can you post the configs of the switches?

Review Cisco Networking for a $25 gift card