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

VLAN cannot ping is gateway!

Scheduled Pinned Locked Moved L2/Switching/VLANs
36 Posts 3 Posters 4.5k 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.
  • S
    Snoopyski
    last edited by Jun 8, 2022, 11:12 AM

    Hello everyone,

    I have 2 VLAN :

    VLAN9 and VLAN5

    Same settings, VLAN9 in the Netgate "Diagnostics ping" section cannot ping itself the VLAN9 gateway from VLAN9 source BUT works fine for the VLAN5 for itself

    So the result is :

    LAN cannot reach VLAN9 devices and VLAN9 cannot reach LAN devices

    PS : Of course, my rules ares open for my test

    Any Idea ? The device is Netgate 7100U

    Best regards

    J S 2 Replies Last reply Jun 8, 2022, 11:41 AM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @Snoopyski
      last edited by johnpoz Jun 8, 2022, 11:44 AM Jun 8, 2022, 11:41 AM

      @snoopyski said in VLAN cannot ping is gateway!:

      VLAN9 in the Netgate "Diagnostics ping" section cannot ping itself

      So you set vlan IP to say 192.168.9.1/24 and you can not ping 192.168.9.1 on pfsense diagnostic ping?

      Did you actually enable the interface?

      enable.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 24.11 | Lab VMs 2.7.2, 24.11

      S 1 Reply Last reply Jun 8, 2022, 12:32 PM Reply Quote 0
      • S
        Snoopyski @johnpoz
        last edited by Jun 8, 2022, 12:32 PM

        @johnpoz Yes is already enabled, devices on the same VLAN get IP adresse from the VLAN DHCP server

        J 1 Reply Last reply Jun 8, 2022, 12:35 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @Snoopyski
          last edited by Jun 8, 2022, 12:35 PM

          @snoopyski then what you say is pretty much impossible.. There is no firewall rules that would prevent pfsense from pinging itself..

          If pfsense can not ping its own IP address you got something wrong..

          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 24.11 | Lab VMs 2.7.2, 24.11

          S 2 Replies Last reply Jun 8, 2022, 12:38 PM Reply Quote 0
          • S
            Snoopyski @johnpoz
            last edited by Jun 8, 2022, 12:38 PM

            @johnpoz Don't understand this too, really strange :

            e42a78a0-4e64-4910-a67b-b4bf4ccd7cbe-image.png

            J 1 Reply Last reply Jun 8, 2022, 12:41 PM Reply Quote 0
            • S
              Snoopyski @johnpoz
              last edited by Jun 8, 2022, 12:40 PM

              @johnpoz From SSH works but not from GUI on LAN source:

              d01f3950-76b2-4ef5-b7b7-661cf0ffe3ab-image.png

              1 Reply Last reply Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator @Snoopyski
                last edited by johnpoz Jun 8, 2022, 12:43 PM Jun 8, 2022, 12:41 PM

                @snoopyski You do not set gateways on vlans.. Are these vlans downstream? If they were they wouldn't be "vlans" on pfsense.

                If your adding an interface to pfsense, why would you think it should have a gateway? A gateway is how to get off a network.. Wan interfaces would have gateways, not a local interface on pfsense.

                Clients on this network would use pfsense IP as their gateway. But there is no gateway set on the interface for pfsense..

                gateway.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 24.11 | Lab VMs 2.7.2, 24.11

                S 1 Reply Last reply Jun 8, 2022, 12:48 PM Reply Quote 0
                • S
                  Snoopyski @johnpoz
                  last edited by Jun 8, 2022, 12:48 PM

                  @johnpoz I add getway for this VLAN to do some test.

                  The point is :

                  My LAN cannot reach VLAN9 (VOIP) devices and VOIP Server on the same VLAN AND the VOIP server on VLAN9 cannot reach LAN address so cannot reach LAN gateway

                  But strange things if I connect remotely with OpenVPN, I can reach LAN and VLAN devices

                  That's our issue from the start, I try many things...

                  J 1 Reply Last reply Jun 8, 2022, 12:54 PM Reply Quote 0
                  • J
                    johnpoz LAYER 8 Global Moderator @Snoopyski
                    last edited by johnpoz Jun 8, 2022, 12:57 PM Jun 8, 2022, 12:54 PM

                    @snoopyski said in VLAN cannot ping is gateway!:

                    I try many things...

                    There is your problem to be honest, you shouldn't be "trying" many things - you should set it up correctly..

                    And I can tell you right now if you setup a network on pfsense, be it a vlan or native - there isn't a gateway set on the interface.

                    Your LAN wouldn't have a gateway either.. Your WAN would be the only gateway on pfsense.

                    pfsense.jpg

                    Multiple networks on pfsense - there is no gateway on pfsense here other than to get to the internet -- ie your WAN.. 192.168.1 and 192.168.2 do not have gateways set.. Only the clients on these networks point to pfsense IP as their gateway.

                    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 24.11 | Lab VMs 2.7.2, 24.11

                    S 1 Reply Last reply Jun 8, 2022, 12:57 PM Reply Quote 0
                    • S
                      Snoopyski @johnpoz
                      last edited by Jun 8, 2022, 12:57 PM

                      @johnpoz That's how I set up my interfaces. No Gateway... Set to "none" like all my others Netgate and pfSense boxes

                      This is the first time I get this problem on pfSense/Netgate but it's my first 7100U device, all Natgate 2100 devices (20) no issue...

                      J 1 Reply Last reply Jun 8, 2022, 12:58 PM Reply Quote 0
                      • J
                        johnpoz LAYER 8 Global Moderator @Snoopyski
                        last edited by Jun 8, 2022, 12:58 PM

                        @snoopyski said in VLAN cannot ping is gateway!:

                        No Gateway... Set to "none" like all my others Netgate and pfSense boxes

                        Then why do you have this??

                        gateways.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 24.11 | Lab VMs 2.7.2, 24.11

                        S 1 Reply Last reply Jun 8, 2022, 12:59 PM Reply Quote 0
                        • S
                          Snoopyski @johnpoz
                          last edited by Jun 8, 2022, 12:59 PM

                          @johnpoz This is a test... I already removed all... Back to normal but same issue

                          S 1 Reply Last reply Jun 10, 2022, 11:47 AM Reply Quote 0
                          • S
                            Snoopyski @Snoopyski
                            last edited by Jun 10, 2022, 11:47 AM

                            @snoopyski Good morning. This is my setup now, back to standard but still not working :

                            3c06dd43-3140-4645-a5b1-253e9af0bbb4-image.png 6e868a23-fa0d-47ac-afb0-8ca5aae14b0a-image.png

                            J 1 Reply Last reply Jun 10, 2022, 1:58 PM Reply Quote 0
                            • J
                              johnpoz LAYER 8 Global Moderator @Snoopyski
                              last edited by johnpoz Jun 10, 2022, 1:59 PM Jun 10, 2022, 1:58 PM

                              @snoopyski said in VLAN cannot ping is gateway!:

                              back to standard but still not working :

                              What is not working? So you have an IP set on pfsense 192.168.x.1 and pfsense can not ping its own IP 192.168.x.1 ??

                              But you have another IP set 192.168.Y.1 and pfsense can ping that IP.

                              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 24.11 | Lab VMs 2.7.2, 24.11

                              S 1 Reply Last reply Jun 10, 2022, 2:30 PM Reply Quote 0
                              • S
                                Snoopyski @johnpoz
                                last edited by Jun 10, 2022, 2:30 PM

                                @johnpoz Hello, my pfsense is on 172.168.16.5, and he cannot ping gateway and devices on VLAN9 (10.10.1.0/24) but works for my VLAN5(10.0.0.0/24) and the VLAN9 cannot reach my LAN subnet and gateway

                                J 1 Reply Last reply Jun 10, 2022, 2:45 PM Reply Quote 0
                                • J
                                  johnpoz LAYER 8 Global Moderator @Snoopyski
                                  last edited by Jun 10, 2022, 2:45 PM

                                  @snoopyski said in VLAN cannot ping is gateway!:

                                  172.168.16.5, and he cannot ping gateway

                                  And what gateway is that??? Again you do not set a gateway on a local network..

                                  Are you saying you can not ping your wan/isp gateway IP using this source.. Or can not ping 8.8.8.8?

                                  If so look to your outbound nat rules - Users shoot themselves in the foot all the time following some stupid vpn guide that says to change to manual outbound nat, and then they can not figure out why some new network they add doesn't work.

                                  cannot reach my LAN subnet and gateway

                                  Again - what gateway? There is no gateway IP on local network... Do you mean you can not ping from your vlan 9 IP to your vlan 5 IP? using the build in ping?

                                  Or clients on your vlan 9 can not ping the vlan 5 IP, or IPs of devices on the vlan 5 network.. What are the rules on this vlan 9 interface?

                                  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 24.11 | Lab VMs 2.7.2, 24.11

                                  S 1 Reply Last reply Jun 10, 2022, 3:22 PM Reply Quote 0
                                  • S
                                    Snoopyski @johnpoz
                                    last edited by Jun 10, 2022, 3:22 PM

                                    @johnpoz said in VLAN cannot ping is gateway!:

                                    @snoopyski said in VLAN cannot ping is gateway!:

                                    172.168.16.5, and he cannot ping gateway

                                    This is my pfsense LAN IP 172.168.16.5

                                    And what gateway is that??? Again you do not set a gateway on a local network..

                                    No gateway set... The only gateway we have is the WAN gateway

                                    Are you saying you can not ping your wan/isp gateway IP using this source.. Or can not ping 8.8.8.8?

                                    I said, I can ping local network and hosts, but I cannot ping VLAN9 and his hosts.

                                    Internet works and I can ping/access VLAN5 hosts

                                    If so look to your outbound nat rules - Users shoot themselves in the foot all the time following some stupid vpn guide that says to change to manual outbound nat, and then they can not figure out why some new network they add doesn't work.

                                    My Outbound NAT is set to : Automatic

                                    cannot reach my LAN subnet and gateway

                                    Again - what gateway? There is no gateway IP on local network... Do you mean you can not ping from your vlan 9 IP to your vlan 5 IP? using the build in ping?

                                    Yes, from my LAN I cannot ping VLAN9 hosts vice versa

                                    Or clients on your vlan 9 can not ping the vlan 5 IP, or IPs of devices on the vlan 5 network.. What are the rules on this vlan 9 interface?

                                    VLAN9 cannot ping local network (LAN)

                                    Additional information : Strange things : From a OpenVPN connection I can ping LAN + VLAN9 + VLAN5 networks lol

                                    J 1 Reply Last reply Jun 10, 2022, 3:33 PM Reply Quote 0
                                    • J
                                      johnpoz LAYER 8 Global Moderator @Snoopyski
                                      last edited by johnpoz Jun 10, 2022, 3:35 PM Jun 10, 2022, 3:33 PM

                                      @snoopyski said in VLAN cannot ping is gateway!:

                                      Yes, from my LAN I cannot ping VLAN9 hosts vice versa

                                      Can you ping the vlan9 IP of pfsense?

                                      Users always forget host firewall rules. Please post up your rules on lan, vlan 5 and vlan 9.. Out of the box the any any rules of lan would allow you to talk to anything in vlan 5 or 9 as long as they are using pfsense as their gateway. No matter what rules are on vlan 5 or vlan 9.

                                      Common mistakes users make.

                                      1. They policy route traffic out vpn or gateway on their lan. Without creating rules above the policy route to allow traffic to their other networks they want to allow traffic.

                                      2. Some host firewall running on device in their destination network that doesn't allow traffic from their source network..

                                      3. The device in dest network is using some other than pfsense IP as their gateway.

                                      4. The mask on the destination device is wrong, and thinks their source IP is local to the destination network - so the destination device never sends traffic back to pfsense.

                                      5. floating rules preventing whatever it is they are wanting to allow.

                                      6. Rule is tcp/udp, and they don't know why ping (icmp) doesn't work

                                      There are other common mistakes users make..

                                      Without details of you rules, your configuration it is impossible to help you figure out which of the many common mistakes your making..

                                      Simple tests to do..

                                      If your lan rules is default any any rule, with no specific gateway set on the rule.. Can a device on the lan network ping the IP of pfsense on your other network/vlan interface you setup?

                                      Ok now try and ping an IP on this destination network.. If does not work - you sure this device answers ping, you sure its using pfsense as its gateway, you sure its not running a firewall or security software

                                      when users insist they have it all setup correctly and not working.. Sniff on your destination interface in pfsense packet capture under diagnostics.. Now ping some IP in in this destination network do you see pfsense send on the pings - if so then its not a pfsense issue.

                                      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 24.11 | Lab VMs 2.7.2, 24.11

                                      S 1 Reply Last reply Jun 10, 2022, 3:53 PM Reply Quote 0
                                      • S
                                        Snoopyski @johnpoz
                                        last edited by Jun 10, 2022, 3:53 PM

                                        @johnpoz Hello there is my rules :

                                        c910c97a-a7f8-48aa-bfa8-31c41a8613cf-image.png

                                        f969b38d-6d83-4ceb-8e1e-2dbd4a9af3a5-image.png

                                        05344256-bae4-437c-ac51-55845e2ddf96-image.png

                                        c23b5e03-e3b1-4dae-a289-a511723684b9-image.png

                                        All temporary open to do our test...

                                        J 1 Reply Last reply Jun 10, 2022, 3:58 PM Reply Quote 0
                                        • J
                                          johnpoz LAYER 8 Global Moderator @Snoopyski
                                          last edited by Jun 10, 2022, 3:58 PM

                                          @snoopyski do you have any rules in the floating tab?

                                          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 24.11 | Lab VMs 2.7.2, 24.11

                                          S 1 Reply Last reply Jun 10, 2022, 4:00 PM Reply Quote 0
                                          20 out of 36
                                          • First post
                                            20/36
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received