Navigation

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

    VLAN on Cisco SG 200+ PFsense

    L2/Switching/VLANs
    2
    5
    89
    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.
    • H
      harjpanesar last edited by

      Afternoon all,

      Looking for some help with setting up VLANs at home but as a novice I am struggling a little.

      I have the following setup:

      Pfsense: Physical box with 2 NIC's one for WAN and one for LAN. LAN router on 192.168.200.1. PFsense working fine with Internet access.

      Configured VLAN 30 as a network for my main PC's
      with ip of 192.168.100.1 and a range from 50 to 100. Also configured the DHCP to be provided on VLAN 30. I have attached some screen caps of the settings done on the switch.

      Trying to achieve an ip address of 192.168.100.X on the client PC when plugged into port 5 of the switch. Unfortunately I keep locking myself out of the switch every time and end up caring out a hard reset.

      Please help ๐Ÿ˜ข Screenshot 2023-02-24 at 13-20-40 SG200-26P 26-Port Gigabit PoE Smart Switch.png Screenshot 2023-02-24 at 13-20-23 SG200-26P 26-Port Gigabit PoE Smart Switch.png Screenshot 2023-02-24 at 13-19-51 SG200-26P 26-Port Gigabit PoE Smart Switch.png Screenshot 2023-02-24 at 12-55-40 SG200-26P 26-Port Gigabit PoE Smart Switch.png

      johnpoz 1 Reply Last reply Reply Quote 0
      • johnpoz
        johnpoz LAYER 8 Global Moderator @harjpanesar last edited by johnpoz

        @harjpanesar your almost right... If port 5 was connected to pfsense pfsense would see a vlan 30 if you set that up on pfsense with the same vlan ID.

        Then if you want a pc to be on that vlan - connect it to another port in access mode in vlan 30.. with pvid of 30..

        Maybe this helps.. Port 5 on my sg300 goes to interface on pfsense where I have 2 vlans setup 4 and 6, along with a untagged network on vlan 2 on my switch.

        Then see on port port 27 I have a device that is on my vlan 4

        trunk.jpg

        then you can see port 27 the pvid is set to vlan 4 as well.

        pvid.jpg

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 23.01 | Lab VMs CE 2.6, 2.7

        H 2 Replies Last reply Reply Quote 0
        • H
          harjpanesar @johnpoz last edited by

          @johnpoz

          Thank you for your quick response, I will try it out once back home.๐Ÿ‘

          1 Reply Last reply Reply Quote 0
          • H
            harjpanesar @johnpoz last edited by

            @johnpoz

            Thank you so much for your advice, worked perfectly. ๐Ÿ™Œ

            johnpoz 1 Reply Last reply Reply Quote 1
            • johnpoz
              johnpoz LAYER 8 Global Moderator @harjpanesar last edited by

              @harjpanesar great, glad you got it sorted..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 23.01 | Lab VMs CE 2.6, 2.7

              1 Reply Last reply Reply Quote 0
              • Referenced by  D daduls 
              • First post
                Last post