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

    No connection to internal Vlans

    Scheduled Pinned Locked Moved Routing and Multi WAN
    15 Posts 3 Posters 1.3k 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.
    • G
      Goldy @darcey
      last edited by

      @darcey
      Thanks for helping.

      That's my Firewall config:
      1.JPG
      2.JPG

      The Lan Interface connected to a Switch, and I have no problem ping from the switch to Vlan 53 and back, so it seems it has something to do with the FW.
      Don't I have to set somewhere the next hop of the Lan interface?

      Where can I find the default drop logging?

      Best regards,
      Goldy.

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

        @Goldy said in No connection to internal Vlans:

        My problem is, that my internal Net are divided to Vlans, and I can't reach the FW from my vlans.

        your switch is routing these vlans, you mention? You mention next hop in your last post?

        And you pictures don't line up... In your one picture you show vlan 53 on vmx1 ? Which pfsense is virtual? But then in your assingments of interfaces vlan 53 shows to be on xn0 ?

        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.8, 24.11

        G 1 Reply Last reply Reply Quote 0
        • D
          darcey @Goldy
          last edited by

          @Goldy said in No connection to internal Vlans:

          Where can I find the default drop logging?

          "Log packets matched from the default block rules in the ruleset" under Status->System->LogsSettings.
          The source net in your interface group firewall rules above would not seem to cover the vlan interfaces, would it?

          However @johnpoz has pointed out an inconsistency in your interface assignments - that needs checking first!

          1 Reply Last reply Reply Quote 0
          • G
            Goldy @johnpoz
            last edited by

            @johnpoz

            Hi.
            Hope this one will explain it better:
            1.JPG
            Vlan 53 assassin to Lan (Xn0) .
            I add a wrong Picture ๐Ÿค“

            PS: For experiment reason, this PfSense is installed on a Xenserver Machine.
            As i found (in the hard way) the last version of Pfsense - 2.7 doesn't support multi CPU.
            There was no issue with 2.6, but when i upgraded to 2.7 the FW crashed.
            Also clean install crashed.
            It took me a while to find out the reason.
            Hope it will help someone....

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

              @Goldy if you have a downstream router - you would not setup the vlans on pfsense. You would just setup a gateway and route to the networks.

              here is how you would setup a downstream router.

              pfsense-layer-3-switch.png

              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.8, 24.11

              G 1 Reply Last reply Reply Quote 0
              • G
                Goldy @johnpoz
                last edited by Goldy

                @johnpoz

                Thank.
                This is my config:
                1.JPG

                Pinging from any subnet to switch-1- All is well.
                pinging from 10.10. subnet (Lan on FW) to FW Lan address - All is well.
                Pinging from switch-3 to FW - Nothing
                Wan works OK.
                Default gateway of subnet 10 (Lan) - 10.10.0.254

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

                  @Goldy said in No connection to internal Vlans:

                  Default gateway of subnet 10 (Lan) - 10.10.0.254

                  Well that is wrong.. Your lan should not have a Default on it or gateway set.. Since now pfsense thinks its a wan..

                  Create a gateway.. And then routes to what networks you want to get to..

                  Pfsense should a gateway setup to 10.10.0.254, and then route to 10.53.0.0/24 and any other networks that can be accessed via that gateway.. your core switch default gateway should be 10.10.0.144..

                  If your going to use your "lan" as your transit - which is really bad idea if you have any actual hosts on this network - since you will run into asymmetrical traffic flow.

                  If you are going to have a downstream network it should be connected to pfsense via a transit network, ie no hosts on this network. The drawing I posted shows exactly how to setup a downstream router with pfsense.

                  You only setup networks/vlans on pfsense when it is directly connected to them. The only networks be tagged or native that should be setup on pfsense are ones its directly connected to.

                  If networks are via some other router, then you create a gateway to that router IP on your transit network. And then routes via that gateway for networks you can get to via that gateway. Then setup appropriate rules for any traffic that will flow through the transit network. Your firewall rules wouldn't ever allow 10.53.x.x because that is not the lan net.. Unless your downstream was natting?

                  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.8, 24.11

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    Goldy @johnpoz
                    last edited by

                    @johnpoz

                    Thanks for your patience.
                    i will try it.

                    Also, it seems that pinging 10.53.0.1 goes to WAN Interface instead of Lan:
                    2.JPG

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      Goldy @Goldy
                      last edited by

                      Two more things.

                      1. As fore now, I can't change my core Gateay since it direct all my traffic to my real Firewall.
                      2. All i need is to reach the Pfsence from another address.
                        I'm not planning to use it, but to study it.
                      johnpozJ 1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @Goldy
                        last edited by

                        @Goldy well then don't change the default gateway on the core. But create routes on it to use pfsense to get to what networks you want to get to via pfsense.

                        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.8, 24.11

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          Goldy @johnpoz
                          last edited by

                          @johnpoz

                          Eureka ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ .

                          You were right.
                          Sometime things are simpler than you expected.
                          A simple gateway rout did the trick ๐Ÿ˜ณ
                          My mistake was i have tried always to ping the firewall, but forget to enable the LAN for allowing ICMP.

                          Works like a charm.

                          Thanks a lot.

                          Great forum.

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