Port with voice and data vlan

I have my port configure for voice vlan 100 (10.10.100.0/24) and data vlan 200 (10.10.200.0/24). A worker plugged his PC in with 10.10.10.10/24 and he was able to access a device on 10.10.10.0 network. I am not sure how this works.
I thought that when you configure a port with the specific vlan and if you don't know the vlan (or subnet of the vlan), you cannot access the port.
LVL 1
leblancAccountingAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MiftaulCommented:
Does 10.10.10.0/24 subnet resides in vlan 200.

You can have multiple subnets reside within a vlan, but only one subnet can communicate outside the vlan.

Here the person added his host with ip 10.10.10.10/24, and he also connected other devices on the same vlan  the switchport is in with this subnet.  say another device is on 10.10.10.20.  now communication will word just fine between 10.10.10.10 and 10.10.10.20.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
leblancAccountingAuthor Commented:
no. 10.10.10.0/24 is supposed to be on vlan10 and I did not configure the port to vlan10 yet. Is this strange? In my network, I try to have one subnet per vlan
MiftaulCommented:
You mean the host 10.10.10.10 in vlan 200 is communicating with the same subnet in vlan 10. Could it be that the person actually is communicating with another host he put in vlan 200.
Elso it could be that there are misconfigurations in your switch. Make sure the link between the switch is trunk and not access.
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

leblancAccountingAuthor Commented:
ok so this is what really happened, his PC has 10.10.10.10 connected to port 1 (configured for vlan 200) and his server (10.10.10.1) connected to port 2 (configured for vlan 200 as well). His PC then can communicate with his server. Not sure how this works.
MiftaulCommented:
Thats what i thought. Vlan is a layer2 technology.

You can have any number of layer3 subnets within a vlan. But you can only have one ip address configured for the vlan interface. That specific subnet within the vlan can communicate outside of the vlan

Here host and the server in subnet 10.10.10.0/24 are residing in vlan200, communication within the vlan is allowed and they can communicate between them. But when these devices tries to communicate outside of vlan 200, its dropped. Because these hosts doesnt know how to reach vlan interface ip which is the default gateway and thats a different subnet 10.10.200.0/24
leblancAccountingAuthor Commented:
"You can have any number of layer3 subnets within a vlan". This is key for me to understand here. Thank you
So when 10.10.10.0 tries to communicate with 10.10.100.0/24 for example, it will be dropped because vlan200 is assigned to 10.2.200.0/24. Correct?
MiftaulCommented:
You got it exactly, correct.

Please post here if you have any other confusions.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.