Solved

Question about Vlan connection in Layer 2 switch

Posted on 2014-03-03
7
529 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
  • 4
  • 3
7 Comments
 
LVL 26

Expert Comment

by:Soulja
Comment Utility
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
Comment Utility
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
Comment Utility
Which model switch is this? Are you sure it's in layer 2 mode only.

Enter sh ip route to confirm.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:EESky
Comment Utility
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
Comment Utility
Yep, it's in layer 3 mode.
0
 
LVL 26

Expert Comment

by:Soulja
Comment Utility
You probably already know, but just in case:

no ip routing


to disable layer 3 mode.
0
 

Author Comment

by:EESky
Comment Utility
Thank you !
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now