cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
673
Views
0
Helpful
4
Replies

Inter VLAN routing

andrewbutler155
Level 1
Level 1

Good evening,

I am currently studying for my CCNA and have been attempting the inter VLAN routing practicle using 'Router on a stick'.  I know this is meant to be a fairly straight forward exercise  but I can't see where I'm going wrong and was wondering if some one could point me in the right direction. 

I cannot get the hosts in the different VLANs to ping each other.  This is how I am set up:

I have a Cisco 2950 switch running IOS 12.1, a Cisco 1800 router running IOS 12.4 and 2 laptops, one running vista and one running windows 7.

I have created the following VLANs:

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/4, Fa0/5, Fa0/6
                                                Fa0/7, Fa0/8, Fa0/9, Fa0/10
                                                Fa0/11, Fa0/12, Fa0/13, Fa0/14
                                                Fa0/15, Fa0/16, Fa0/17, Fa0/18
                                                Fa0/19, Fa0/20, Fa0/21, Fa0/22
                                                Fa0/23, Fa0/24, Gi0/1, Gi0/2
2    Andrew                           active    Fa0/2
3    Marc                             active    Fa0/3

VLAN 1 has been configured with the IP 10.142.5.129 255.255.255.192 default gateway 10.142.5.1

I have the Vista laptop patched into fa0/2 and the windows 7 laptop in fa0/3.  The switch port configs are as follows:

interface FastEthernet0/2
description LAN connection to Andrew PC
switchport access vlan 2
no ip address
spanning-tree portfast
!
interface FastEthernet0/3
description LAN connection to John PC
switchport access vlan 3
no ip address
spanning-tree portfast

The IP addresses of the laptops are as follows:

Vista (VLAN 2) - 10.142.5.6 255.255.255.192 default gateway 10.142.5.1

7 (VLAN 3) - 10.142.5.66 255.255.255.192 default gateway 10.142.5.65

I have configured a trunk on fa0/1 of the switch to fa 0 on the router, the sw port config as follows:

interface FastEthernet0/1
description trunk connection to R1
switchport mode trunk
no ip address

Fa0 on the router has been configured with 2 subinterfaces as follows:

interface FastEthernet0
description Beechfield LAN A
no ip address
speed 100
full-duplex
!
interface FastEthernet0.2
encapsulation dot1Q 2
ip address 10.142.5.1 255.255.255.192
no snmp trap link-status
!
interface FastEthernet0.3
encapsulation dot1Q 3
ip address 10.142.5.65 255.255.255.192
no snmp trap link-status

I can successfully ping both subinterfaces from both hosts but yet can't ping one host from the other.  Can anyone point out what I am missing?

Any help would be greatly appreciated.

Thanks

Andy

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

I can successfully ping both subinterfaces from both hosts but yet can't ping one host from the other

Please disable the firewall on your clients. 

View solution in original post

4 Replies 4

ctough
Cisco Employee
Cisco Employee

Hi Andy,

What does the output of "sh int fa0/1 switchport" look like?

Cheers,

Chris

Hi Chris,

Thanks very much for your response, very much appreciated!  The problem I was experiencing was just a windows firewall issue.

Thanks again

Andy

Leo Laohoo
Hall of Fame
Hall of Fame

I can successfully ping both subinterfaces from both hosts but yet can't ping one host from the other

Please disable the firewall on your clients. 

Hi Leolaohoo,

Thanks for your response, you were bang on the money!

Cheers

Andy