Go Premium for a chance to win a PS4. Enter to Win

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 763
  • Last Modified:

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
1 Solution
Pete LongConsultantCommented:
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


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
Don JohnstonCommented:
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.

int f0/1
 switchport trunk encapsulation isl
 switchport mode trunk
int f0.1
 encapsulation isl 1
 ip address
int f0.2
 encapsulation isl 2
 ip address
int f0
 no shut

Open in new window

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

ammadeyy2020Author Commented:
for one port can i assign two vlans? clients and clients can use port 1 of the switch?
Don JohnstonCommented:
How do plan on connecting these two clients to a single port on the switch?
ammadeyy2020Author Commented:
using a hub (unmanaged switch)
Don JohnstonCommented:
Then the answer is no. You can not have two VLAN's on one port.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now