multiple VLANs in one port

is it possible to have two or more vlans in one port
for example, port 1 can have vlan1 and vlan2 users
im using catalyst 3548 switch, and 1701 router for routing
ammadeyy2020Asked:
Who is Participating?
 
Don JohnstonInstructorCommented:
Then the answer is no. You can not have two VLAN's on one port.
0
 
Pete LongTechnical ConsultantCommented:
Hello ammadeyy2020,

Yes multiple VLANS can run on one port - if that port is "Untagged" basically you configure it as a trunk post (A trunk can carry any VLAN tagged traffic), once a port is "tagged" to one vlan it only caries traffic for that VLAN

Regards,

PeteLong
0
 
MhercolCommented:
It is possible in Procurve switches (the ones I work with). it is called tagged VLANs. Try to look in that direction for your switch. Sorry for not being able to help you further
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Don JohnstonInstructorCommented:
On the 3548 side, designate the port connected to the router as a trunk port.

On the 1701 side, you'll also create a trunk.

You can use ISL or 802.1q as your trunking protocol. I'm using ISL in the example below.




3548
int f0/1
 switchport trunk encapsulation isl
 switchport mode trunk
 
 
1701
int f0.1
 encapsulation isl 1
 ip address 192.168.1.1 255.255.255.0
int f0.2
 encapsulation isl 2
 ip address 192.168.2.1 255.255.255.0
int f0
 no shut
 
 
 

Open in new window

0
 
ammadeyy2020Author Commented:
for one port can i assign two vlans?

192.168.1.1 clients and 192.168.2.1 clients can use port 1 of the switch?
0
 
Don JohnstonInstructorCommented:
How do plan on connecting these two clients to a single port on the switch?
0
 
ammadeyy2020Author Commented:
using a hub (unmanaged switch)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.