hey guys, for giggles i wanted to set up a vlan just cuz i was bored. everything in this vlan works, expect the internet. the hosts on vlan 2 and can talk to 3 and so on, but they can't get to the internet. the router's internet facing interface is 10.1.60.22 (fast Ethernet 0/0), and it can talk to the internet fine, and all my host's can ping 10.1.60.22, but no one can go beyond it. here is the config of my router and switch. any help is greatly appreciated.
Code:
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname test
!
boot-start-marker
boot-end-marker
!
enable password pass
!
no aaa new-model
ip subnet-zero
!
!
!
ip name-server 10.1.60.1
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
description Connection to internet
ip address 10.1.60.22 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.1
encapsulation dot1Q 1 native
ip address 10.15.5.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/1.2
encapsulation dot1Q 2
ip address 10.15.10.15 255.255.255.0
no ip redirects
!
interface FastEthernet0/1.3
encapsulation dot1Q 3
ip address 10.15.20.1 255.255.255.0
!
interface FastEthernet0/1.4
encapsulation dot1Q 4
ip address 10.15.30.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/1.5
encapsulation dot1Q 5
ip address 10.15.40.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/1.6
encapsulation dot1Q 6
ip address 10.15.50.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/1.7
encapsulation dot1Q 7
ip address 10.15.60.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/1.8
encapsulation dot1Q 8
ip address 10.15.70.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/1.9
encapsulation dot1Q 9
ip address 10.15.80.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/1.10
encapsulation dot1Q 10
ip address 10.15.90.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/1.11
!
no ip classless
ip route 0.0.0.0 0.0.0.0 10.1.60.1
no ip http server
!
banner motd ^C
test rooter
^C
!
line con 0
login
transport preferred none
line aux 0
password pass
login
modem InOut
transport preferred none
transport input all
transport output all
stopbits 1
flowcontrol hardware
line vty 0 4
password pass
login
transport preferred none
!
!
!
end
test#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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.1.60.1 to network 0.0.0.0
10.0.0.0/24 is subnetted, 11 subnets
C 10.15.5.0 is directly connected, FastEthernet0/1.1
C 10.15.10.0 is directly connected, FastEthernet0/1.2
C 10.15.20.0 is directly connected, FastEthernet0/1.3
C 10.15.30.0 is directly connected, FastEthernet0/1.4
C 10.15.40.0 is directly connected, FastEthernet0/1.5
C 10.15.50.0 is directly connected, FastEthernet0/1.6
C 10.1.60.0 is directly connected, FastEthernet0/0
C 10.15.60.0 is directly connected, FastEthernet0/1.7
C 10.15.70.0 is directly connected, FastEthernet0/1.8
C 10.15.80.0 is directly connected, FastEthernet0/1.9
C 10.15.90.0 is directly connected, FastEthernet0/1.10
S* 0.0.0.0/0 [1/0] via 10.1.60.1
Switch#sh run
Building configuration...
Current configuration : 953 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
enable password pass
!
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
interface FastEthernet0/1
switchport access vlan 2
!
interface FastEthernet0/2
switchport access vlan 2
!
interface FastEthernet0/3
switchport access vlan 3
!
interface FastEthernet0/4
switchport access vlan 3
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
switchport mode trunk
!
interface Vlan1
ip address 10.15.5.10 255.255.255.0
no ip route-cache
!
ip default-gateway 10.15.5.1
ip http server
!
!
line con 0
line vty 0 4
password pass
login
line vty 5 15
login
!
end
Switch#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11
2 engineering active Fa0/1, Fa0/2
3 acct active Fa0/3, Fa0/4
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
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 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#