cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
267
Views
0
Helpful
3
Replies

vlan problem

engbandar
Level 1
Level 1

what is vlan?

if we have three vlans and pc1 in vlan1 and pc2 in vlan2

can pc1 see the pc2 or not

if pc1 can see pc2 what is the problem in the vlans

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

A vlan is a layer broadcast domain. So two devices in the same vlan can see each other without needing the presence of a router.

If you have 2 vlans and a device in each vlan then you need to route between the 2 vlans and for this you either need a router or a L3 switch.

Jon

Just to add a bit to Jon's post, you can have more than one subnet in a vlan.

Take vlan 10.

interface vlan 10

ip address 10.10.0.0 255.255.254.0

The subnets for vlan 10 are:

10.10.0.0/24

10.10.1.0/24

A device with address 10.10.0.5 can reach 10.10.1.5 without the need of a router because they are in the same Layer 2 broadcast domain - in other words, in the same vlan.

HTH

A device with address 10.10.0.5 can reach 10.10.1.5

+if i want stop device see etch other what can do to stop this+

Review Cisco Networking products for a $25 gift card