Solved

Question about Vlan connection in Layer 2 switch

Posted on 2014-03-03
7
535 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
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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't access router via web browser 21 74
policy routing to fw2 18 50
P2P and MPLS 3 41
RV042 site to site vpn can ping but not access server via rdp 6 12
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
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…

914 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

17 Experts available now in Live!

Get 1:1 Help Now