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

[Solved] Multiple Subnets (VLANs) behind pfSense

Routing and Multi WAN
4
5
23.5k
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.
  • ?
    Guest
    last edited by Apr 7, 2010, 6:19 PM Mar 23, 2010, 9:11 PM

    Good evening!

    First I want to tell you shortly my problem:
    Behind my pfSense i have many subnet (vlans) and the problem is that i am not able to get into the internet, when I am in a different subnet than the pfSense is. I read a lot of documentation and most said, that I have to change the NAT to advanced; but this does not help.

    My configuration:

    10.0.1.0   10.0.2.0  10.0.3.0   and so on
        |________|_______ |_______|
                             |
                         HP L3 Switch
                             |
                 pfSense (10.0.1.253)
                             |
                         Internet

    The HP L3 Switch is responsible that the different subnets can commuincate with eatch other. There is no problem with the routes!

    First, I had instead of the pfSense an IPCop. There is no problem with the internet connection form other subnets. I had only add an static route with route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.0.1.253 and every subnet could connect to the internet. In pfSense I also added the same static route but other subnets are not able the get in the internet. I also disabled the firewall, but it does not help. All PCs which are in the same subnet with the pfSense get an internet connection.
    So I think there is a problem with the firewall or with the NAT. But I don't know what.

    Could anybody help me? I did not found a manual which helped me and I searched a lot of hours.

    Thanks a lot.
    Kind regards!

    1 Reply Last reply Reply Quote 0
    • D
      dpcma
      last edited by Mar 30, 2010, 8:56 PM

      You have to add your "multiple" networks in static routes in pfsense box (to be sure that pfsense is able to route back), for LAN interface. Moreover, be sure you have appropiate rules for that Lan Segments, in policy rules to allow incoming traffic in LAN rules

      Rgds

      1 Reply Last reply Reply Quote 0
      • G
        GruensFroeschli
        last edited by Mar 31, 2010, 5:47 AM

        You have 2 options:
        Either you add additional subnets to the LAN interface
        –> http://doc.pfsense.org/multiple-subnets-one-interface-pfsense.pdf

        or you create VLANs on the parent interface on which LAN is assigned and configure a trunk on the HP switch.
        --> http://doc.pfsense.org/index.php/HOWTO_setup_vlans_with_pfSense

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • D
          dotdash
          last edited by Mar 31, 2010, 4:14 PM

          The route you mentioned was pointing to the box itself, which is not helpful.
          You need a route on the pfSense box pointing to the L3 switch. Ideally, the firewall should be on a separate VLAN. e.g.- Let's assume 10.0.1.0/24 is the firewall vlan and there are various devices on vlans from 10.0.2.0/24-10.0.9.0/24. If the switch was 10.0.1.1 on the firewall vlan, you would add a static route to 10.0.0.0/16 (LAN if) gateway 10.0.1.1. You would have to make sure your outbound nat source was 10.0.0.0/16 and that your outbound rule on the LAN was using 10.0.0.0/16 and not "lan subnet".

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by Apr 7, 2010, 6:19 PM

            That's right dotdash the gatey way is xxx.254.
            I have reset the pfsense and made the tutorial from GruensFroeschli again and now it functions!!!!

            Thanks a lot!!!

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