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

    Wan and Lan on same IP range for test lab

    NAT
    8
    25
    2.0k
    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.
    • DerelictD
      Derelict LAYER 8 Netgate
      last edited by

      The only exception would be where the masks are a different length, because routers rely on longest match.  So, in this case, it might be possible to have 172.16.0.0 /16 on one side and 172.16.x.0 /24 on the other.  In this situation, it says everything 172.16.0.0 /16 on one port, except 172.16.x.0 /24 which is on the other.  This works only because the net mask allows the router to make the distinction.  This also means that any address in the /24 network cannot be on the /16 side.

      And the subnets would not be able to talk to each other without specific host routes because anything on 172.16.0.0/16 would think 172.16.x.0/24 was same-subnet traffic and would not send it to the router.

      Chattanooga, Tennessee, USA
      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
      Do Not Chat For Help! NO_WAN_EGRESS(TM)

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Bottom line, he can't have the same address ranges on both sides of the router.

        So he deserves endless mockery & grief because he's new at networking and got something basic wrong?  That's what I'm talking about here.  The need to rub someone's face in their mistake and taking pleasure in shaming them by pointing out what a noob they are and how little they know.  What is the point of that behaviour?  I see it on tech forums all the time.  It's petty and counter-productive to growing a community.

        And if anyone was about to roll out the Snowflake label, I can roll with the punches myself.  This guy was brand-new and was asking his first question, and he gets jumped on.  I'm not the least bit surprised that he hasn't responded back.

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          I just got a job as a mechanic in a local shop.

          What is the difference between a 7/16" socket wrench and a Phillips head screwdriver?

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by

            It depends, what size Phillips head screwdriver?

            1 Reply Last reply Reply Quote 0
            • ivorI
              ivor
              last edited by

              Locking this thread for obvious reasons. If mattie01 comes back, please send me a pm to unlock. Thanks!

              Need help fast? Our support is available 24/7 https://www.netgate.com/support/

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