13 Replies Latest reply on May 14, 2012 10:51 AM by ppmsm

    How to configure VLAN

    ppmsm New Member

      I have 2 1238s and 2 1544s on our LAN. Our ISP has configured a VLAN on the router at this location,
      how do I configure this VLAN on all 4 of these switches?

        • Re: How to configure VLAN
          levi Employee

          ppmsm:

           

          Thank you for asking this question in the Support Community.  A very similar question has been answered in a previous post.  Please, review this post and let me know if you have any further questions or additional information that was not answered in it:

           

          Re: How to create a VLAN on Netvanta 1234

           

          Levi 

            • Re: How to configure VLAN
              ppmsm New Member

              I don’t understand the settings for 802.1q so I get stuck there. For instance I don’t know what interface to use for this or what IP address is needed.

               

               

               

              Ken Kruger

                • Re: How to configure VLAN
                  levi Employee

                  Ken:

                   

                  When you get a chance, will you provide me with additional information about your network design and requirements (do not include any sensitive information to your company)?

                   

                  • What is the topology of the network?  Do you have a network diagram? 
                  • Do you have multiple VLANs in the network?
                    • If you have multiple VLANs, is the ISP's router going to route between the VLANs?

                   

                  Please, let me know the answers to these questions, and I will be happy to assist you in any way I can.

                   

                  Levi

                    • Re: How to configure VLAN
                      ppmsm New Member

                      We have 4 switches: SW1 (1238), SW2 (1238), SW3 (1544) & SW4 (1544). SW2 & SW3 are connected to SW1 and SW4 is connected to SW2. I have a VLAN partially defined on SW3 & SW4 but it is not being used. Our ISP has setup VLAN2 for me as a “guest” VLAN. It is setup to route to the outside and not back to our LAN. I would like to use the web interface to configure this, and I get stuck on what information is needed there.

                       

                       

                       

                      Here is the configuration our ISP sent me:

                       

                      ip dhcp pool DHCPPOOL

                       

                           network 10.1.2.0 255.255.255.0

                       

                           dns-server 216.234.97.3 216.234.97.2

                       

                           default-router 10.1.2.254

                       

                           domain-name ppmchoice.org

                       

                       

                       

                      interface FastEthernet0/0.2

                       

                         description Guest VLAN

                       

                         encapsulation dot1Q 2

                       

                         ip address 10.1.2.254 255.255.255.0

                       

                       

                       

                      ip dhcp excluded-address 10.1.2.21 10.1.2.255

                        • Re: How to configure VLAN
                          levi Employee

                          ppmsm:

                           

                          Thank you for replying with the requested information.  Encapsulation 802.1q is used when configuring trunking on a router.  Since the products you listed are switches, you will not need to configure 802.1q encapsulation, or IP addresses on these units, but instead, you only need to configure the port connected to the ISP's router as a trunk port.


                          To setup a specific switchport as a trunk in the command line interface (CLI), do the following:


                          SWITCH-NAME# configure terminal

                          SWITCH-NAME(config)# interface switchport 0/<interface number>

                          SWITCH-NAME(config-swx 0/x)# switchport mode trunk


                          Note: It is best practice to configure all ports connecting switches together as trunk ports (with the same configuration steps above).


                          The following document will guide you through the configuration in the web interface (GUI):  Understanding the Switch Menu in the Web Interface

                           

                          To make the port a trunk in the GUI, you simply have to change the port's "Membership" to trunk.

                           

                          Levi

                            • Re: How to configure VLAN
                              ppmsm New Member

                              The ports connecting the 1238 swithces (SW1 & SW2) are set as trunk ports. I think that was the only way they would work. The 1544 switches do not have a setting for trunk ports.

                               

                               

                               

                              So if I just define a VLAN on each of these 4 switches then traffic from ports in that VLAN will only go to the router that is configured with that VLAN number?

                                • Re: How to configure VLAN
                                  levi Employee

                                  ppmsm:

                                   

                                  The ports connecting the 1238 switches should be configured as trunk ports, as you mentioned they are.  Also, any ports connecting a 1238 to a 1544, or a 1544 to another 1544 should also be configured as a trunk port.  You can configure the ports on the 1544 switches to be a trunk in the same way you can the 1238 switches.

                                   

                                  Yes, if you define the VLAN on all the switches, then assign the appropriate ports on the switches to be in that VLAN, as well as make the port connected to the ISP's router a trunk port, then the ISP's router will determine which VLANs can communicate.

                                   

                                  Levi

                      • Re: How to configure VLAN
                        levi Employee

                        ppmsm:

                         

                        I went ahead and flagged this post as “Assumed Answered.”  If any of the responses on this thread assisted you, please mark them as either Correct or Helpful answers with the applicable buttons.  This will make them visible and help other members of the community find solutions more easily.  If you still need assistance, I would be more than happy to continue working with you on this - just let me know in a reply.

                         

                        Levi