09-05-2013 08:06 PM - edited 03-07-2019 03:19 PM
I've setup a 3550 that is configured for intervlan routing. I can ping each other's gateway and hosts on the others vlans when behind the switch. However, when trying to reach the internet, I am unable to. Also, I am unable to reach any of the addresses on the second vlan i created on the switch.
((COMCAST))<===>[home wireless router 10.0.0.1]<====>[3550]<====>test pcs.
My home router as an address of 10.0.0.1.
3550 has two vlans configured (10.0.0.254 and 192.168.1.254)
I have no issues communicating with any of the 10.0.0.x no matter where I am connected. However, I cannot connect to any of the 192.168.1.x IPs when going through the home wireless or anything plugged directly into the home router. I think I am missing a route, but don't know where to put it as I am pretty new. See my code below and a show ip route. Any ideas? Thanks!
E-SW3550-01#sh run
Building configuration...
Current configuration : 3593 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname E-SW3550-01
!
enable secret 5 $1$ZJSk$GSHsLF8ARlb1Q6bK4RWhj0
!
ip subnet-zero
ip routing
!
vtp mode transparent
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
vlan 10
name Management
!
vlan 20
name Data
!
!
interface FastEthernet0/1
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/3
[LINES OMITTED]
interface FastEthernet0/22
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/23
description ESXi test host vmnic1
switchport trunk encapsulation dot1q
switchport trunk native vlan 999
switchport trunk allowed vlan 10,20
switchport mode trunk
spanning-tree portfast
!
interface FastEthernet0/24
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet0/1
description ESXi test host vmnic0
switchport trunk encapsulation dot1q
switchport trunk native vlan 999
switchport trunk allowed vlan 10,20
switchport mode trunk
!
interface GigabitEthernet0/2 <================connected to home router at 10.0.0.1
switchport access vlan 10
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
description Management
ip address 10.0.0.254 255.255.255.0
!
interface Vlan20
description Data
ip address 192.168.1.254 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.0.1
ip http server
!
E-SW3550-01#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 10.0.0.1 to network 0.0.0.0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Vlan10
C 192.168.1.0/24 is directly connected, Vlan20
S* 0.0.0.0/0 [1/0] via 10.0.0.1