?
Solved

Question about Vlan connection in Layer 2 switch

Posted on 2014-03-03
7
Medium Priority
?
548 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 2000 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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

800 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