Navigation

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

    4 Nic's 1 WAN 1 Lan and 2 Vlan how to config?

    Off-Topic & Non-Support Discussion
    3
    7
    3312
    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.
    • T
      Tvede last edited by

      Hey there, i have a server with 4 NIC's one used to WAN, one used to give ethernet to a Accespoint and the i have 2 nic back, i want to use the last to as to vlans there can talk together but i need a specific firewall rule and DNS on each vlan, how can i make this? i tryed alot, but the moment i use vlan all the config goes wrong and i cant get ethernet to any thing, my set up is like the topology


      1 Reply Last reply Reply Quote 0
      • stephenw10
        stephenw10 Netgate Administrator last edited by

        It looks from your diagram as though you don't need VLANs for this setup. Why are you trying to use them?

        Steve

        1 Reply Last reply Reply Quote 0
        • T
          Tvede last edited by

          Thanks for the fast reply

          I want to use VLan to get the lan 1 and 2 to "work" as one big lan som the PC's can se each other and send data aka use the funtion of a local file server (workgroupe/home groupe) but is there a easyer way or better way? subneting? routing?

          1 Reply Last reply Reply Quote 0
          • stephenw10
            stephenw10 Netgate Administrator last edited by

            I assume you still need to filter traffic between them, otherwise you could just connect it as one network segment.
            You can connect the two segments to each of your two extra NICs and then bridge the two NICs. This will make it appear as though both segments are directly joined, it will have one subnet across both. However you can still apply firewall rules to each NIC to filter traffic as needed.
            Separate DNS might be more difficult though.

            Steve

            1 Reply Last reply Reply Quote 0
            • T
              Tvede last edited by

              Sounds like a plan, i need to use 2 zones because of 2 firewall rules, dns is not the big problem, but it will help a lot if i can use 2 dns insted of a single one… /: but the most importen is they work as one network, but with two nic's and firewall's

              Thanks for the help! if any know how to give 2 dns's to each Nic when they arre briged it will be very nice to know

              1 Reply Last reply Reply Quote 0
              • stephenw10
                stephenw10 Netgate Administrator last edited by

                How are you using the separate DNS? Do you mean two independent DNS servers? Presumably you are using this to do some URL filtering.

                One thing you could do is hand out both DNS servers to all clients across both subnets and then use firewall rules to block the incorrect server at each NIC. It's a pretty ugly method and I don't know how clients would handle it, I imagine you might get a few DNS errors.

                Steve

                1 Reply Last reply Reply Quote 0
                • S
                  SMuD last edited by

                  Hand out DHCP from each NIC.  In the DHCP Configuration, specify the DNS server you want each segement to use.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post