VLAN setup on the firewall ports due to shortage of ports, sonicwall, linksys switch

Got sonicwall pro 2040, due to only 4 available ports i am planning to create a VLANs on the Linksys managed switch.
On Sonicwall PRO 2040 like to setup 1 port for 2 WAN links (Primary and secondary), 1 port for Wireless access point (it has virtual access points), 1 port for LAN, 1 for DMZ and remote acccess

 How do i resolve this by creating the VLANs on the switch.
Do i need to create the separate VLAN for 2 WAN links on the same port? like VLAN101 & VLAN 102 or i can just create a single vlan for 2 WAN links and assign ports on that VLAN. I believe i need 2 vlans for this. And i will do that same for another port creating multiple vlans on the switch for other services. But i am bit confused about trunking port, do i need to create the trunk port for each VLANs? how do i connect VLANs into the sonicwall ports.

What exactly i need to do for trunking port to connect VLANs into the SonicWALL ports

2 modem/router-->2 separate vlans(Switch)-->trunking --> SonicWALL X1 port (X2:vlan101, X2:vlan102)
joy333Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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

joy333Author Commented:
Sorry on above example i was trying to say SonicWALL X2 port  (X2:vlan101, X2:vlan102)
2 modem/router (2 dsl) -->2 separate vlans(0n Switch)-->trunking --> SonicWALL X1 port (X2:vlan101, X2:vlan102)
devangshroffCommented:
create subinterface on sonicwall

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
joy333Author Commented:
yes going to create subinterface but i need help on the vlan side of switch
devangshroffCommented:
you want switch config fro switch
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.