Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Need help setting up VLAN [SOLVED]

    Scheduled Pinned Locked Moved Hardware
    37 Posts 8 Posters 34.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dreamslacker
      last edited by

      I meant blanking ONLY port 2.

      1 Reply Last reply Reply Quote 0
      • H
        hmishra
        last edited by

        So, you meant blanking port 2 but leave the rest 1 and 3-8 as T or U? I suppose I can try both.

        I am pretty sure I have done this combination as well but I will verify again. After doing this, does each step require a reboot or restart of the laptop or switch or the pc accessing it?

        1 Reply Last reply Reply Quote 0
        • C
          clarknova
          last edited by

          If you're just making changes on the switch then no need to reboot anything. The changes will be effected as soon as you hit the Apply or Save button (within a few seconds, anyway). In some cases you may need to reconfigure the interfaces on the connected hosts, like renewing an IP address.

          db

          1 Reply Last reply Reply Quote 0
          • D
            dreamslacker
            last edited by

            On second thoughts, blank both ports 1 & 2 on VLAN 1 ONLY and leave the rest as Untagged.
            No reboot is required on the switch, if it needs to, it will notify you and power cycle on its own.

            1 Reply Last reply Reply Quote 0
            • H
              hmishra
              last edited by

              The switch does not allow me to blank Port 1. I get a message "Can't remove port 1 from this vlan, its PVID not changed". The only allowed setting for port 1 is either U or T. The rest don't matter and I could have them blank, U or T.

              1 Reply Last reply Reply Quote 0
              • C
                clarknova
                last edited by

                You can't black port 1 from vlan 1 because the PVID of that port is set to 1. Change the pvid to 10 or 20, then you will be able to blank it.

                db

                1 Reply Last reply Reply Quote 0
                • H
                  hmishra
                  last edited by

                  Ok, tried that too. As before, it simply does not work without running the tcpdump command in the shell.

                  1 Reply Last reply Reply Quote 0
                  • H
                    hmishra
                    last edited by

                    Now that I have experimented quite a bit with setting up VLAN capable switch to work with Thinkpad R61i, my question is, is this a laptop issue or switch issue?

                    1 Reply Last reply Reply Quote 0
                    • C
                      clarknova
                      last edited by

                      That sounds like a good question for cmb.

                      I guess a person could always try a different switch or different laptop to find out.

                      db

                      1 Reply Last reply Reply Quote 0
                      • H
                        hmishra
                        last edited by

                        Hmmm…...I would try with another switch if I had one.

                        But I do have another laptop which I suppose I can try running off of Live CD instead of installing it although I am not sure if my vlan/config changes will be carried over after a reboot without installing the firewall i
                        in the HDD.  :-\

                        1 Reply Last reply Reply Quote 0
                        • D
                          dreamslacker
                          last edited by

                          You an experiment with the LiveCD until you find a setting that actually works out.  Dump the config into XML and then head over the laptop and use the menu to install to HDD.  It should retain all the configuration settings for the install.  If not, simply restore the XML file for the HDD install.

                          IMO, the problem might be a configuration issue on the switch.  Then again, we won't quite know for sure until we see how the switch configuration looks like now.

                          1 Reply Last reply Reply Quote 0
                          • H
                            hmishra
                            last edited by

                            Finally!!! It worked. In fact I am typing this reply on the new VLAN connection. ;D

                            Apparently, just spoofing the MAC address on WAN interface with VLANs does not work. At least, in my case.

                            I had to manually change the em0, vla0 and vlan1 MAC address(s) to match the spoofed one after which it chugged along happily. So, nothing was wrong with the switch or laptop, just a case of non-spoofed MAC.

                            1 Reply Last reply Reply Quote 0
                            • T
                              taryezveb
                              last edited by

                              I would like to Thank All who replied/helped in this thread. Especially clarknova with the detailed example on setting up the VLANs on a Netgear switch. I setup the switch as clarknova explained and then pfsense on initial install[took me a few tries, but figured it out]. Also the last post by OP helped me finally getting working. I'm on comcast, needed the WAN[vlan0 in my case] to spoof the Real NIC's MAC address. After that all was working great, much better than my old WRT54GL running tomato. Now all I need is to setup the wireless part. Hopefully I can find a detailed thread like this one for the wireless part.

                              EDIT: For the record I'm running pfSense on a Thinkpad T23 with 1GB of ram and the Netgear GS108T switch.

                              THANKS AGAIN ALL! :)

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.