Main Menu
  • COMPANY
    • Boundless Cybersecurity
    • Press Releases
    • News
    • Awards
    • Leadership
    • Press Kit
    • Careers
  • PROMOTIONS
    • Customer Loyalty Program
  • MANAGED SERVICES
    • Managed Security Services
    • Security as a Service
    • Professional Services
SonicWall
  • Products
    • Network Security
      • Next Generation FirewallNext-generation firewall for SMB, Enterprise, and Government
      • Security ServicesComprehensive security for your network security solution
      • Network Security ManagerModern Security Management for today’s security landscape
    • Advanced Threat Protection
      • Capture ATPMulti-engine advanced threat detection
      • Capture Security applianceAdvanced Threat Protection for modern threat landscape
    • Access Security
      • Cloud Edge Secure AccessDeploy Zero-Trust Security in minutes
      • Secure Mobile AccessRemote, best-in-class, secure access
      • Wireless Access PointsEasy to manage, fast and secure Wi-FI
      • SwitchesHigh-speed network switching for business connectivity
    • Email Security
      • Email SecurityProtect against today’s advanced email threats
    • Cloud Security
      • Cloud App SecurityVisibility and security for Cloud Apps
      • Cloud Firewall (NSv)Next-generation firewall capabilities in the cloud
    • Endpoint Security
      • Capture ClientStop advanced threats and rollback the damage caused by malware
      • Content Filtering ClientControl access to unwanted and unsecure web content
    • Product Widgets
      • Product Menu Right Image
      • Capture Cloud Platform
        Capture Cloud Platform

        A security ecosystem to harness the power of the cloud

    • Button Widgets
      • Products A-Z
        all products A–Z FREE TRIALS
  • Solutions
    • Industries
      • Distributed Enterprises
      • Retail & Hospitality
      • K-12 Education
      • Higher Education
      • State & Local
      • Federal
      • Healthcare
      • Financial Services
      • Carriers
    • Use Cases
      • Secure SD-Branch
      • Zero Trust Security
      • Secure SD-WAN
      • Office 365 Security
      • SaaS Security
      • Secure WiFi
    • Solutions Widgets
      • Solutions Content Widgets
        Federal

        Protect Federal Agencies and Networks with scalable, purpose-built cybersecurity solutions

      • Solutions Image Widgets
  • Partners
    • SonicWall Partners
      • Partners Overview
      • Find a Partner
      • Authorized Distributors
      • Technology Partners
    • Partner Resources
      • Become a Partner
      • SonicWall University
      • Training & Certification
    • Partner Widgets
      • Custom HTML : Partners Content WIdgets
        Partner Portal

        Access to deal registration, MDF, sales and marketing tools, training and more

      • Partners Image Widgets
  • Support
    • Support
      • Support Portal
      • Knowledge Base
      • Technical Documentation
      • Community
      • Video Tutorials
      • Product Life Cycle Tables
      • Partner Enabled Services
      • Contact Support
    • Resources
      • Resource Center
      • Free Trials
      • Blog
      • SonicWall University
      • MySonicWall
    • Capture Labs
      • Capture Labs
      • Security Center
      • Security News
      • PSIRT
      • Application Catalog
    • Support Widget
      • Custom HTML : Support Content WIdgets
        Support Portal

        Find answers to your questions by searching across our knowledge base, community, technical documentation and video tutorials

      • Support Image Widgets
  • COMPANY
    • Boundless Cybersecurity
    • Press Releases
    • News
    • Awards
    • Leadership
    • Press Kit
    • Careers
  • PROMOTIONS
    • Customer Loyalty Program
  • MANAGED SERVICES
    • Managed Security Services
    • Security as a Service
    • Professional Services
  • Contact Sales
  • English English English en
  • BLOG
  • CONTACT SALES
  • FREE TRIALS
  • English English English en
SonicWall
  • Products
    • Network Security
      • Next Generation FirewallNext-generation firewall for SMB, Enterprise, and Government
      • Security ServicesComprehensive security for your network security solution
      • Network Security ManagerModern Security Management for today’s security landscape
    • Advanced Threat Protection
      • Capture ATPMulti-engine advanced threat detection
      • Capture Security applianceAdvanced Threat Protection for modern threat landscape
    • Access Security
      • Cloud Edge Secure AccessDeploy Zero-Trust Security in minutes
      • Secure Mobile AccessRemote, best-in-class, secure access
      • Wireless Access PointsEasy to manage, fast and secure Wi-FI
      • SwitchesHigh-speed network switching for business connectivity
    • Email Security
      • Email SecurityProtect against today’s advanced email threats
    • Cloud Security
      • Cloud App SecurityVisibility and security for Cloud Apps
      • Cloud Firewall (NSv)Next-generation firewall capabilities in the cloud
    • Endpoint Security
      • Capture ClientStop advanced threats and rollback the damage caused by malware
      • Content Filtering ClientControl access to unwanted and unsecure web content
    • Product Widgets
      • Product Menu Right Image
      • Capture Cloud Platform
        Capture Cloud Platform

        A security ecosystem to harness the power of the cloud

    • Button Widgets
      • Products A-Z
        all products A–Z FREE TRIALS
  • Solutions
    • Industries
      • Distributed Enterprises
      • Retail & Hospitality
      • K-12 Education
      • Higher Education
      • State & Local
      • Federal
      • Healthcare
      • Financial Services
      • Carriers
    • Use Cases
      • Secure SD-Branch
      • Zero Trust Security
      • Secure SD-WAN
      • Office 365 Security
      • SaaS Security
      • Secure WiFi
    • Solutions Widgets
      • Solutions Content Widgets
        Federal

        Protect Federal Agencies and Networks with scalable, purpose-built cybersecurity solutions

      • Solutions Image Widgets
  • Partners
    • SonicWall Partners
      • Partners Overview
      • Find a Partner
      • Authorized Distributors
      • Technology Partners
    • Partner Resources
      • Become a Partner
      • SonicWall University
      • Training & Certification
    • Partner Widgets
      • Custom HTML : Partners Content WIdgets
        Partner Portal

        Access to deal registration, MDF, sales and marketing tools, training and more

      • Partners Image Widgets
  • Support
    • Support
      • Support Portal
      • Knowledge Base
      • Technical Documentation
      • Community
      • Video Tutorials
      • Product Life Cycle Tables
      • Partner Enabled Services
      • Contact Support
    • Resources
      • Resource Center
      • Free Trials
      • Blog
      • SonicWall University
      • MySonicWall
    • Capture Labs
      • Capture Labs
      • Security Center
      • Security News
      • PSIRT
      • Application Catalog
    • Support Widget
      • Custom HTML : Support Content WIdgets
        Support Portal

        Find answers to your questions by searching across our knowledge base, community, technical documentation and video tutorials

      • Support Image Widgets
  • COMPANY
    • Boundless Cybersecurity
    • Press Releases
    • News
    • Awards
    • Leadership
    • Press Kit
    • Careers
  • PROMOTIONS
    • Customer Loyalty Program
  • MANAGED SERVICES
    • Managed Security Services
    • Security as a Service
    • Professional Services
  • Contact Sales
  • Menu

Router on a Stick configuration using SonicWall Switch

06/10/2020 5 People found this article helpful 87,068 Views

    Download
    Print
    Share
    • LinkedIn
    • Twitter
    • Facebook
    • Email
    • Copy URL The link has been copied to clipboard

    Description

    This article explains the steps for Router on a Stick configuration using SonicWall switch while using common uplink or dedicated uplink.

    Router-on-a-stick is a term frequently used to describe a setup up that consists of a router and switch connected using one Ethernet link configured as an 802.1q trunk link. In this setup, the switch is configured with multiple VLANs and the router performs all routing between the different networks/VLANs.

    Resolution

    We can have Router on a Stick configuration using common uplink or dedicated uplink. In both scenarios, the VLAN sub-interfaces are to be added on the firewall first. Once done, we can assign the roles correctly to the switch ports.
    For creating VLAN sub-interfaces on the firewall, please refer How Can I Configure Sub-Interfaces?

    When two devices communicate that belong to the same VLAN, the traffic is directly sent through the switch. When devices from two separate VLANs try to communicate, the traffic needs to come to the SonicWall firewall which will perform inter-VLAN routing.

    EXAMPLE 1: Router on a Stick configuration with common uplink

    • Let us consider we have SonicWall switch connected to the X2 interface of the SonicWall firewall. X2 interface is on zone LAN with IP: 192.68.0.1/24 and also two sub-interfaces X2: V60 with 192.168.60.1/24 and X2: V90 with 192.168.90.1/24. We have four endpoint devices connected to switches on different VLANs with their respective IP schemes. Port 23 of the switch is connected as a common uplink and management port to interface X2.
      Image

    Switch configuration:

    • Port 23: Trunk port allowing both VLANs 60 and 90.
    • Since port 23 is used for management it is by default a trunk port as it carries both management and data traffic. We will not be able to make any changes to this port. Navigate to MANAGE | Switch Controller | Overview tab and you can see the same under List View.Image


    To create the access ports:

    1. Navigate to MANAGE | Switch Controller | Overview tab. You can configure the ports from either physical view, List view or VLAN view.
    2. Port 10 and 11: Access ports with VLAN 90.
      • Click on port 10 and make sure that the port enable is toggled to ON state.
      • Port shield it to interface X2 as that interface has VLAN 90 configured
      • Also from the list of VLANs under VLANs available, move 90 to VLANs selected using the right arrow.
      • Click OK.

      Image


      • Repeat the same steps for port 11.

    3. Port 12 and 13: Access ports with VLAN 60.
      • Click on port 12 and make sure that the port enable is toggled to ON state.
      • Port shield it to interface X2 as that interface has VLAN 60 configured.
      • Also from the list of VLANs under VLANs available, move 60 to VLANs selected using the right arrow.
      • Click OK. 

      Image


      • Repeat the same steps for port 13.

    EXAMPLE 2: Router on a Stick configuration with dedicated uplink.

    • Let us consider we have SonicWall switch connected to the X2 interface of the SonicWall firewall. X2 interface is on zone LAN with IP: 192.68.0.1/24. We have interface X0 on IP: 192.168.181.1/24 and two sub-interfaces X0: V190 with 192.168.190.1/24 and X2: V195 with 192.168.195.1/24 We have four endpoint devices connected to switches on different VLANs with their respective IP schemes. Port 23 of the switch is connected as a common uplink and management port to interface X2. Port 3 is used as the dedicated uplink for X0.Image

    Switch configuration:

    To create trunk port:

    1. Navigate to MANAGE | Switch Controller | Overview tab. You can configure the ports from either physical view, List view or VLAN view.
    2. Port 3: Trunk port allowing both VLANs 190 and 195.
      • Click on port 3 and make sure that the port enable is toggled to ON state.
      • Port shield it to interface X0 as that interface has VLANs 190 and 195 configured
      • Dedicated Uplink for X0 toggle switch should be enabled
      • Click OK.
      Since this is a dedicated uplink for X0 and already has the VLAN sub-interfaces configured under X0, it automatically becomes a trunk port.

      Image

    To create the access ports:

    1. Navigate to MANAGE | Switch Controller | Overview tab. You can configure the ports from either physical view, List view or VLAN view.
    2. Port 14 and 15: Access ports with VLAN 190.
      • Click on port 14 and make sure that the port enable is toggled to ON state.
      • Port shield it to interface X0 as that interface has VLAN 190 configured.
      • Also from the list of VLANs under VLANs available, move 190 to VLANs selected using the right arrow.
      • Click OK.

      Image


      • Repeat the same steps for port 15.

    3. Port 16 and 17: Access ports with VLAN 195.
      • Click on port 16 and make sure that the port enable is toggled to ON state.
      • Port shield it to interface X0 as that interface has VLAN 195 configured
      • Also from the list of VLANs under VLANs available, move 195 to VLANs selected using the right arrow.
      • Click OK.

      Image


      • Repeat the same steps for port 17.




    Related Articles

    • How to upgrade SonicWall Switch Firmware from Switch UI?
    • Daisy chain mode using SonicWall Switches
    • Issue: Unable to access management of switch due incorrect VLAN membership on the switch ports in Switch Policy

    Categories

    • Switches > Vlan

    Not Finding Your Answers?

    ASK THE COMMUNITY

    Was This Article Helpful?

    YESNO

    Article Helpful Form

    Article Not Helpful Form

    Company
    • Careers
    • News
    • Leadership
    • Awards
    • Press Kit
    • Contact Us
    Popular resources
    • Communities
    • Blog
    • SonicWall Capture Labs

    Stay In Touch

    • By submitting this form, you agree to our Terms of Use and acknowledge our Privacy Statement. You can unsubscribe at any time from the Preference Center.
    • This field is for validation purposes and should be left unchanged.
    • Facebook
    • Twitter
    • Linkedin
    • Youtube
    • Instagram

    © 2022 SonicWall. All Rights Reserved.

    • Legal
    • Privacy
    • English
    Scroll to top
    Trace:957d8e7b1ca3887eccd6a78a7ba67e6e-76