06-14-2013 02:43 PM
Hi everyone,
My english is a little bad, I appreciate if you can help me.
I wish to have 3 vlans.
vlan 10 interface 192.168.10.1
vlan 20 interface 192.168.20.1
vlan 30 interface 192.168.30.1
Port 5-10 to vlan 10
Port 11-15 to vlan 20
Port 16-20 to vlan 30
But I want that for example the port 5 has access to vlan 20.
I have tried config each port(interface) in mode trunk and general, but it doesn't work.
I hope you can help me.
Thank you.
06-16-2013 06:26 AM
Good evening,
What is plugged into port 5? A PC?
The only way for 2 Vlans to be presented to 1 port is to make that port a trunk.
A normal access port can only be a member of 1 vlan. To have a computer access multiple Vlans you will need a router.
A trunk (where you have multiple VLANs) is only used for connecting to either another switch, a router or a device that can read tagged VLAN packets on a switch port, such as a VMware server.
Hope this helps.
Sent from Cisco Technical Support iPhone App
06-17-2013 07:54 AM
Thank you bendatcrox for your answer,
Yes, I have plugged into port 5 a PC.
I understand and I'll buy a router to make visible one port in diferents vlans.
If I just want to make two vlans, what I need to do first?
Create IP interface?
Create the vlans?
Add ports to vlans?
Thank you for your help.
06-19-2013 08:19 AM
Evening Luis.
Ok, so a PC can't be a member of 2 VLANS on the same Network card. You therefore have 2 options.
Option 1- you put a second network card into the PC and have one network adaptor on each VLAN
Option 2 (and the better option) - you need a router in your network.
VLANs are virtual LANs. They are separate broadcast domains. The only way for a PC to get to the devices on another VLAN is via a router (L3) devices.
Hope this helps.
Perhaps if you can let me know what the purpose of having a PC on 2 VLANs is, I may be able to assist you with a network design,
Thanks mate.
Sent from Cisco Technical Support iPhone App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide