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

Routing between interfaces (LAN, VLAN)

Scheduled Pinned Locked Moved Routing and Multi WAN
16 Posts 3 Posters 3.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.
  • R
    rexxer777
    last edited by Dec 14, 2018, 9:55 AM

    Thanks for the answer.
    In my case:

    1. Firewall rules on LAN interface: IPv4 Allow from any to any, VLAN IPv4 Allow from any to any, no floating or group rules.
    2. The mask is /24 on all the interfaces for PFsense and VLAN client.
    3. The Gateway for clients in VLAN is 192.168.172.1/24 (PFSense interface), LAN: 192.168.1.1/24(PFSense interface).
    4. The local firewall is OFF.

    I've checked everything and I'm stuck here. As I remember it worked fine before updates.
    Maybe something wrong with network cards?

    igb0@pci0:0:20:0: class=0x020000 card=0x1f4115d9 chip=0x1f418086 rev=0x03 hdr=0x00
    vendor = 'Intel Corporation'
    device = 'Ethernet Connection I354'
    class = network
    subclass = ethernet
    cap 01[40] = powerspec 3 supports D0 D3 current D0
    cap 05[50] = MSI supports 1 message, 64 bit, vector masks
    cap 11[70] = MSI-X supports 10 messages, enabled
    Table in map 0x20[0x0], PBA in map 0x20[0x2000]
    cap 10[a0] = PCI-Express 2 root endpoint max data 512(512) FLR NS
    ecap 0001[100] = AER 2 0 fatal 0 non-fatal 0 corrected
    ecap 0003[140] = Serial 1 ac1f6bffff485a98
    ecap 0017[1a0] = TPH Requester 1
    ecap 000d[1d0] = ACS 1

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz Dec 14, 2018, 10:26 AM Dec 14, 2018, 10:23 AM

      And you not shoving it out a gateway on your rules - post them!!

      JimP's 1st thing listed..

      If your vlan client can use pfsense to get to the internet, then it can use it to get to lan.. As long as the rules allow it.

      How could something with the nic allow for internet access but not access to lan/vlan

      Can vlan client ping lan IP of pfsense?

      192.168.1.1 and any LAN hosts.

      Take .1 is pfsense - then that SCREAMS forcing out gateway, or just say wrong rules - only tcp or only tcp/udp trying to ping which is icmp..

      Post up your rules.. So we can all be clear on what they are vs you saying they are X.. When they for sure might be Y..

      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

      1 Reply Last reply Reply Quote 0
      • R
        rexxer777
        last edited by Dec 14, 2018, 10:48 AM

        A client from VLAN can't ping 192.168.1.1

        2_1544784455925_3.png 1_1544784455925_2.png 0_1544784455925_1.png

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Dec 14, 2018, 10:55 AM

          You do understand that lan net to vlan170 net is pretty pointless right.. Since below it you have a any any rule..

          So you lan has downstream networks on it? With that allow 192.168.30/24 rule?

          What about your other vlans - they are all having this problem?

          You sure lan trying to talk to vlan172 is just not an IP listed in restricted?

          Your saying that client on vlan172, has internet but can not ping pfsense Lan IP 192.168.1.1?

          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

          1 Reply Last reply Reply Quote 0
          • R
            rexxer777
            last edited by Dec 14, 2018, 10:56 AM

            Routes:
            default MyISPAddress
            192.168.1.0/24 link#4 U igb3
            192.168.1.1 link#4 UHS lo0
            192.168.172.0/24 link#13 U igb3.172
            192.168.172.1 link#13 UHS lo0

            1 Reply Last reply Reply Quote 0
            • R
              rexxer777
              last edited by Dec 14, 2018, 11:01 AM

              Yes, I understand that there some useless rules for now but there were some blocking rules which I deleted for testing purposes.
              RestrictedIPs list contains only 2 hosts .1.31 and .1.87.
              All the VLANs have the same problem.

              1 Reply Last reply Reply Quote 0
              • R
                rexxer777
                last edited by Dec 14, 2018, 11:25 AM

                maybe play with offloading?
                <VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO>

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz Dec 14, 2018, 11:54 AM Dec 14, 2018, 11:52 AM

                  These are all vlans on the same parent interface?

                  What is your esxi switch settings? Did you set the vlan id to 4095 so it doesn't strip tags? Why do you not just create new vnics for your pfsense vm so there are no tags in pfsense and do the tags on esxi via port groups on your vswitch?

                  What version of esxi are you running?

                  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

                  1 Reply Last reply Reply Quote 0
                  • R
                    rexxer777
                    last edited by Dec 14, 2018, 12:44 PM

                    ESXi 5.5.
                    It has vlan id 172 currently. Before I set 4096 but I need to set vlan id inside a VM to 172.
                    The behaviour is the same.

                    1 Reply Last reply Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator
                      last edited by johnpoz Dec 14, 2018, 1:47 PM Dec 14, 2018, 1:39 PM

                      4096? For the vswitch to not strip tags its 4095.. Not sure where you got that?

                      Does 5.5 list support for freebsd 11? You should really be running current 6.7

                      I ran pfsense on esxi for many many years.. I have since moved away from it when I updated the old hardware I was running 6.5 on to just a synology nas and using their VM manager for my VM needs..

                      If your going to set vlans in pfsense then the vswitch should be 4095.. Then connection on your phy switch vlans would be tagged.. Except for your native vlan if using that - looks like igb3 is your lan.. which is untagged (native).

                      Then in your switch your devices ports would be untagged in the vlan you want those devices in..

                      You need to decide if you want pfsense to handle the tags or esxi.. If pfsense then vswitch would be 4095 and pfsense would see the tags..

                      If want to let esxi to do the vlans then you would create port groups with the tags and connect new vmnics in pfsense to these different port groups.

                      If internet is working, and your not sending out a gateway something is very strange.. why internet would work but not other networks directly attached to pfsense.. Are you using a proxy on pfsense?

                      I would sniff on pfsense to validate that your tagged traffic gets there still tagged.. And then reply is sent with tag as well to your switch.. A correct setup with vlans being done on pfsense your vswitch vlan ID would need to be set to 4095.

                      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

                      1 Reply Last reply Reply Quote 0
                      • R
                        rexxer777
                        last edited by Dec 14, 2018, 4:26 PM

                        My PFSense is on the Supermicro platform.
                        VM is on the ESXi.

                        1 Reply Last reply Reply Quote 0
                        • J
                          johnpoz LAYER 8 Global Moderator
                          last edited by Dec 14, 2018, 4:36 PM

                          So your pfsense is physical... Then what are you trying to do with esxi put vms on different vlans?

                          Please draw up how you have everything connected... Do a simple sniff of traffic... If you client can get to pfsense and to the internet then it can get to pfsense IPs on its other interfaces. Unless you block it with a rule..

                          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

                          1 Reply Last reply Reply Quote 0
                          • R
                            rexxer777
                            last edited by Dec 18, 2018, 10:07 AM

                            I found the cause :).
                            It was IPSEC. I took wide network range 192.168.0.0/16 so all the traffic goes there.
                            Thanks for your help.

                            1 Reply Last reply Reply Quote 0
                            • J
                              johnpoz LAYER 8 Global Moderator
                              last edited by Dec 18, 2018, 11:36 AM

                              Zero mention of IPsec in your OP.. Just saying..

                              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

                              1 Reply Last reply Reply Quote 0
                              • C cpohle referenced this topic on Aug 9, 2023, 3:00 PM
                              12 out of 16
                              • First post
                                12/16
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                This community forum collects and processes your personal information.
                                consent.not_received