Networking: An exercise in failure (Solved)

Shout out to @jshiplett and /u/kweevus for the resolutions on my switch configs and routing configs. At the top of my routing config was ‘no ip routing’ which was causing the router to, well, not route anything. Removed that, routing table populated. Done.

——————————————–

As I will post about in more detail later, I have acquired some new networking hardware. A Cisco 2821 Router, and 2960 Switch. I have it setup as best as possible. I have it setup all under one of the ports on my Linksys home router. I have a static route setup so I can access the lab network (172.16.0.0) from my home network (192.168.1.0). I have gi0/0 setup as the handoff network as 192.168.1.2. I then have gi0/1 setup with no IP. All of my sub-interfaces (gi0/1.10, gi0/1.20, etc.) are all setup for my VLAN’s. I have gi0/1 on the switch setup as a trunk to the router gi0/1. I can ping from my local laptop to the router gi0/0 and even the sub interface VLAN IP’s. I cannot, however, ping through to any VLAN hosts. I also cannot ping the router sub-interfaces from the switch. I am posting my configs here. Any and all input would be helpful. This post will be updated as I work out the kinks. I may have some configs on the switch that are shooting myself in the foot. I have just been trying things, and some things dont get removed or overwritten.

Update: I set the switchport 0/24 back to access VLAN 20. switchport mode access. I can ping my ESX host from the router (COOL). I can ping the router from the ESX host. Now what is not working is the 192.168.1.X to the 172.16.20.15 (ESX host). I can ping the router sub-int 172.16.20.1 from the laptop, but not the host on the network that I can ping from the router.

 

CURRENT ROUTER CONFIG:

Building configuration…
Current configuration : 4735 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname vtimd2821-01
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
logging buffered 51200 warnings
enable secret 5 XXXXXXXX
enable password XXXXXXXX
!
no aaa new-model
!
dot11 syslog
ip source-route
no ip routing
!
!
no ip cef
!
!
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
crypto pki trustpoint TP-self-signed-2715857335
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2715857335
revocation-check none
rsakeypair TP-self-signed-2715857335
!
!
crypto pki certificate chain TP-self-signed-2715857335
certificate self-signed 01
30820244 308201AD A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32373135 38353733 3335301E 170D3135 31303130 32303432
30315A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 37313538
35373333 3530819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100BEF9 48CDAED0 AA3944F8 3F8BEE45 088458AD 36D2B01B CFB967E0 86CC674D
FF0A08FE C1A3EDB9 1A3F9A82 8D0F4E99 1F736364 341214B3 C9E0AE01 0D1FC3AD
B28BEC9A DA3935A6 BACB3DE6 352511FC BCFB8364 1188210D E7BEFAC7 A7915771
49959B9D CA7C71D6 571C2B34 39E9A663 157F6EBF 022E4B04 2D2855B8 62E6AC7F
46990203 010001A3 6C306A30 0F060355 1D130101 FF040530 030101FF 30170603
551D1104 10300E82 0C767469 6D643238 32312D30 31301F06 03551D23 04183016
8014992A A4080938 E29A03DF 65AA45DD EF6D4C49 CF9C301D 0603551D 0E041604
14992AA4 080938E2 9A03DF65 AA45DDEF 6D4C49CF 9C300D06 092A8648 86F70D01
01040500 03818100 0659999C 827F3666 0DD3E061 94AD5DAC B703217F 85DCE6B8
633950DF 741F5260 1160EB20 E164D466 402EF739 6A12404B 23529116 AD39552F
7BE4401A 3581E834 F95C3C5C 169374D3 3C51ACAB B3BF32CE 42B4F134 01FDC766
20969D70 830CA142 74ED127A FCCD3D60 03CDD789 427AE42A 73BBB9B1 435A9EF9
12642360 D0DFDFC7
quit
!
!
username vtimd privilege 15 password 0 XXXXXXXX
archive
log config
hidekeys
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.1.2 255.255.255.252
no ip route-cache
duplex auto
speed auto
no mop enabled
!
interface GigabitEthernet0/1
description Davis Switch Access
no ip address
no ip redirects
no ip unreachables
ip flow ingress
no ip route-cache
duplex auto
speed auto
!
interface GigabitEthernet0/1.1
encapsulation dot1Q 1 native
ip address 172.16.1.1 255.255.255.0
ip flow ingress
no ip route-cache
!
interface GigabitEthernet0/1.10
description Network Services
encapsulation dot1Q 10
ip address 172.16.10.1 255.255.255.0
ip flow ingress
no ip route-cache
!
interface GigabitEthernet0/1.20
description ESX Hosts
encapsulation dot1Q 20
ip address 172.16.20.1 255.255.255.0
ip flow ingress
no ip route-cache
!
interface GigabitEthernet0/1.30
description Storage Infrastructure
encapsulation dot1Q 30
ip address 172.16.30.1 255.255.255.0
ip flow ingress
no ip route-cache
!
interface GigabitEthernet0/1.40
description Storage Infrastructure
encapsulation dot1Q 40
ip address 172.16.40.1 255.255.255.0
ip flow ingress
no ip route-cache
!
interface GigabitEthernet0/1.50
description Storage Infrastructure
encapsulation dot1Q 50
ip address 172.16.50.1 255.255.255.0
ip flow ingress
no ip route-cache
!
interface GigabitEthernet0/1.60
description Storage Infrastructure
encapsulation dot1Q 60
ip address 172.16.60.1 255.255.255.0
ip flow ingress
no ip route-cache
!
interface GigabitEthernet0/1.70
description Storage Infrastructure
encapsulation dot1Q 70
ip address 172.16.70.1 255.255.255.0
ip flow ingress
no ip route-cache
!
interface GigabitEthernet0/1.80
description Storage Infrastructure
encapsulation dot1Q 80
ip address 172.16.80.1 255.255.255.0
ip flow ingress
no ip route-cache
!
interface GigabitEthernet0/1.90
description Storage Infrastructure
encapsulation dot1Q 90
ip address 172.16.90.1 255.255.255.0
ip flow ingress
no ip route-cache
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.1.1
ip http server
ip http authentication local
ip http secure-server
!
!
!
!
!
snmp-server community public RO
!
control-plane
!
!
!
!
mgcp fax t38 ecm
mgcp behavior g729-variants static-pt
!
!
!
!
!
line con 0
password XXXXXXXX
logging synchronous
line aux 0
line vty 0 4
privilege level 15
password XXXXXXXX
login local
transport input telnet ssh
line vty 5 15
password XXXXXXXX
logging synchronous
login
transport input telnet ssh
!
scheduler allocate 20000 1000
end

CURRENT SWITCH CONFIG:

Building Configuration…

Current configuration : 1711 bytes

!

version 12.2

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname vtimd2960-01

!

boot-start-marker

boot-end-marker

!

enable secret 5 XXXXXXX

enable password XXXXXXX

!

username vtimd privilege 15 password 0 XXXXXXX

no aaa new-model

system mtu routing 1500

ip subnet-zero

!

!

!         

!

!

!

!

!

!

!

!

spanning-tree mode pvst

spanning-tree loopguard default

spanning-tree portfast bpduguard default

spanning-tree extend system-id

!

vlan internal allocation policy ascending

!

!

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!         

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

switchport mode trunk

!

interface GigabitEthernet0/1

description Trunk-to-Router

switchport mode trunk

spanning-tree portfast trunk

!

interface GigabitEthernet0/2

!

interface Vlan1

ip address 172.16.1.2 255.255.255.0

no ip route-cache

!

ip default-gateway 172.16.1.1

ip http server

ip http authentication local

ip http secure-server

!

control-plane

!

!

line con 0

line vty 0 4

privilege level 15

login local

transport input telnet ssh

line vty 5 15

login

!         

end

-vTimD