Solved

Question about Vlan connection in Layer 2 switch

Posted on 2014-03-03
7
546 Views
Last Modified: 2014-03-03
Any expert can explain the vlan routing to me?

Here is topology: PC3 ------ SW1-----PC5. The switch (SW1) is layer 2 switch which connect PC3 and PC5, which are assigned to two vlan, vlan 13 and vlan 15, respectively. At SW1, I created SVI and configured vlan 13 and vlan 15, which are assigned to the SW1 port. The question is that PC3 and PC5 are in different vlan in the Layer 2 switch, why the two PC can ping each other ? Thank you.
0
Comment
Question by:EESky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 26

Expert Comment

by:Soulja
ID: 39900966
At SW1, I created SVI and configured vlan 13 and vlan 15, which are assigned to the SW1 port.

Can you better explain this part. You lost me here. If you have each computer is assigned to a different vlan, they should not be able to ping each other.

Can you post the switch config?
0
 

Author Comment

by:EESky
ID: 39900997
Thank you for your fast reply

Here is some brief config:

SW1#show run

interface FastEthernet0/3
 switchport access vlan 30
 no ip address
!
interface FastEthernet0/5
 switchport access vlan 50
 no ip address
!
interface Vlan30
 ip address 13.0.0.1 255.255.255.0
!
interface Vlan50
 ip address 15.0.0.1 255.255.255.0
!



SW1#sh ip int bri
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES unset  administratively down down    
FastEthernet0/1            unassigned      YES unset  administratively down down    
FastEthernet0/2            unassigned      YES unset  administratively down down    
FastEthernet0/3            unassigned      YES unset  up                    up      
FastEthernet0/4            unassigned      YES unset  administratively down down    
FastEthernet0/5            unassigned      YES unset  up                    up      
Vlan30                     13.0.0.1        YES manual up                    up      
Vlan50                     15.0.0.1        YES manual up                    up    



PC1 and PC2 default gateway is 13.0.0.1 and 15.0.0.1 respectively
0
 
LVL 26

Accepted Solution

by:
Soulja earned 500 total points
ID: 39901134
Which model switch is this? Are you sure it's in layer 2 mode only.

Enter sh ip route to confirm.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:EESky
ID: 39901143
SW1#sh ip route

Gateway of last resort is not set

     13.0.0.0/24 is subnetted, 1 subnets
C       13.0.0.0 is directly connected, Vlan30
     15.0.0.0/24 is subnetted, 1 subnets
C       15.0.0.0 is directly connected, Vlan50

I think this is a reason


Thank you
0
 
LVL 26

Expert Comment

by:Soulja
ID: 39901156
Yep, it's in layer 3 mode.
0
 
LVL 26

Expert Comment

by:Soulja
ID: 39901161
You probably already know, but just in case:

no ip routing


to disable layer 3 mode.
0
 

Author Comment

by:EESky
ID: 39901167
Thank you !
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question