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

    VLAN - DHCP ok…cannot ping GW IP or Outside IP

    Scheduled Pinned Locked Moved Firewalling
    8 Posts 4 Posters 1.1k 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.
    • K Offline
      kjemison1966
      last edited by

      Hello,

      I have the following setup.

      VLAN1 is nothing more than 192.168.1.0/24 - this is for office staff to connect to server shares printers etc… No problems there.

      VLAN4 is for wireless guests to connect to.. IP 192.168.4.0/24

      I setup an interface of 192.168.4.1 on my pfsense LAN card for VLAN4.

      I setup a firewall rule to allow any on that network LAN to access any (Just like the default rule for 192.168.1.0/24)

      I have APs that can handle multiple SSIDs and VLANS as well.

      When I connect to the WC-Guest WLAN with my laptop... It will get a DHCP address of 192.168.4.100 and a Gateway address of 192.168.4.1 (using ipconfig /all for the information)

      However, I cannot ping 192.168.4.1 and hence, cannot ping anything on the outside via IP address (google servers for example 8.8.8.8)

      I am confused as to how the DHCP is handing out the IP address to my laptop but yet, I cannot ping the 192.168.4.1 gateway...

      Any thoughts / ideas would be helpful and appreciated very much!!

      Thank you
      Kell

      1 Reply Last reply Reply Quote 0
      • johnpozJ Online
        johnpoz LAYER 8 Global Moderator
        last edited by

        And what rule did you put on your vlan4 tab?  What is the source?  Can you post this?  On your machine that is on vlan 4 and getting dhcp from vlan 4 dhcp scope - are you getting mac of interface when you trying and ping it nad then look at arp -a?

        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 25.07.1 | Lab VMs 2.8.1, 25.07.1

        1 Reply Last reply Reply Quote 0
        • K Offline
          kjemison1966
          last edited by

          My VLAN4 interface looks like this

          IPv4TCP  *  LAN net  *  *  *  *  none  (Proto Source Port Destination Port Gateway Queue Schedule )

          I really just copied the default LAN rule that was for my LAN adapter..I figured this would allow traffic just like the default LAN rule does.

          The second part of your question,  I will have to answer tomorrow when  I am back onsite to check for the MAC address from the ping and take a look at ARP-a results.

          Thank you for the help.

          1 Reply Last reply Reply Quote 0
          • D Offline
            doktornotor Banned
            last edited by

            LAN net?!? Huh. You need to match the name of the subnet you are configuring this on. Not copy blindly things from LAN. You also copied it wrong. You only allow TCP -> no DNS, no ping, nothing working.

            1 Reply Last reply Reply Quote 0
            • K Offline
              kjemison1966
              last edited by

              Well, you are correct on this and I did not state my actions correctly.

              What  I was meaning to say is that I added the entry to my VLAN interface to "Default Allow LAN to any rule". I do see a problem with my choice of protocol.. you are correct that it should be any and not just TCP… my bad, I must have overlooked it in the drop down.

              Thanks for helping. It is appreciated.

              1 Reply Last reply Reply Quote 0
              • johnpozJ Online
                johnpoz LAYER 8 Global Moderator
                last edited by

                As dok correctly stated, and why I asked for a picture..  Rule like that is not going to allow anything from new segment.  What is it with taking a picture to make it easier to read being so difficult?

                Is this hard?

                Isn't that much easier to see vs your text?

                examplefwrules.png
                examplefwrules.png_thumb

                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 25.07.1 | Lab VMs 2.8.1, 25.07.1

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kjemison1966
                  last edited by

                  Good morning Johnpoz,

                  As I stated before, when  I get back onsite I will be happy to take a screen shot and post it. Should be there sometime this morning.

                  Thank you for helping. It is appreciated!

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    avmike
                    last edited by

                    I just setup a similar config.  192.168.1.0 for LAN, and 192.168.2.0 VLAN2 on OPT1 for guest network.  Below are my firewall rules.  I put a block in to stop the guest VLAN from communicating with LAN.

                    LAN.PNG
                    LAN.PNG_thumb
                    opt1.PNG
                    opt1.PNG_thumb

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