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

x
  • 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
0
ammadeyy2020
Asked:
ammadeyy2020
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

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
 
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.




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
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?

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

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