Trunk setup on Dell PowerConnect 2824 switch

Trying to setup 2 VLANs to isolate broadcast traffic and setup 1 port as the trunk that will ultimately connect to the router.  Have configured the 2 VLANs, but cannot get both to pass traffic through port 22 which I want as my trunk line.  Can only get each VLAN to pass traffic through port 22 if setup as the same PVID.

Sorry new to this setup, hopefully a fairly simple question.
Thks
Bill
WebccPresidentAsked:
Who is Participating?
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.

from_expCommented:
hi!
you have to configure port as 'switchport mode trunk' and then configure vlans on it with
'switchport trunk allowed vlans add x,y,z'

pvid is used for untagged traffic only, when you want to tell switch, that particular user/server port to traffic to place into desired vlan.

in your case complete config for dell switch can look like this:
configure
vlan database
vlan 10
vlan 20
exit
int ethernet g22
sw mode trunk
sw tr al vl add 10,20
exit
int et g1
desc "user port in vlan 10"
switchport mode access
sw access vlan 10
exit
int et g2
desc "user port in vlan 20"
switchport mode access
sw access vlan 20
exit
exit

you also have to understand that by separating traffic between vlans you may need to arrange routing between both vlans. To do that you need router or switch with routing capabilities.
In my particular scenario, if you place your internet router into port g3 configured with vlan 20, vlan 10 will be without internet access at all. if you need internet in vlan10 also, then you have to use DMZ port of your internet router.

Good luck!

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
FideliusCommented:
Hello,

You cannot have two PVIDs on same port. PVID means untagged traffic. There can be only one untagged VLAN on the port, all other VLANs are tagged with respective VLAN ID.
Configure port 22 with PVID 1. Add port 22 under both VLANs membership.
On router side you will have to create sub-interfaces for each VLAN,and tagg them accordingly.

Please telnet to the switch, and enter:
show tech-support config

Send also router model, so I can help you with router configuration. Current configuration on router will also be helpful.

Hope it helps!

Regards!
jwguilloryCommented:
Port 22 needs to be set to trunk mode.  Then you should be able to add it to each of the vlans.
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

jwguilloryCommented:
Port 22 needs to be set to trunk mode.  Then you should be able to add it to each of the vlans. The PVID on port 22 should be set to 1.  Since this switch does not have a serial port everything must be done from the web interface.  Most of the cli commands listed above may not work because of the lack of a serial port for you to connect to.
WebccPresidentAuthor Commented:
The CLI commands are not working as listed from exp.  Once I enter configure it doesn't allow vlan commands.  Can you revise or is there a way to set from WEB interface?  Thks
from_expCommented:
please tele a look at this guide:
http://support.dell.com/support/edocs/network/pc28xx/en/ug/pdf/ug_en.pdf
page 126 explains vlans.
please use guidelines to create vlans on page 127-128
you have to make port 22 a member of both vlans and it should be tagged (consider table 7-1 for details)

I don't have 2824 switch, so I have taken 3324 cli commands, probably they are not correct for your device.
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
Networking Hardware-Other

From novice to tech pro — start learning today.