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

    Internet only subnet

    Scheduled Pinned Locked Moved IPv6
    23 Posts 3 Posters 2.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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @Bob.Dig
      last edited by johnpoz

      @Bob-Dig policy routing is going to force traffic only to that gateway.. Yeah that would block access to your other IPv6 networks, because your gateway your sending the traffic to can not get there.

      That would be the same for IPv4 or 6..

      Like I said there are many ways to skin the cat, you could have 1 set of rules that skins it one way, and another set of rules that skins it a different way.. You still end up with the same skinned cat ;)

      I personally wouldn't do it that way.. I like to be very explicit in what rules do, so the goal is easy to see.. Forcing traffic out a specific gateway might accomplish blocking client X from talking to destination Y.. But its not really clear that was the goal to the rule.. But if I have a specific rule that says X can not talk to Y.. Then its very clear what the point of that rule was.. Vs just a policy route - was the goal to block x from talking to y, or was the goal just to send traffic out a gateway.. Blocking x to y could be a byproduct of the rule - but is that something they actually wanted, or just something that happened.

      Explicit rules are always best.

      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

      Bob.DigB 1 Reply Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @johnpoz
        last edited by Bob.Dig

        @johnpoz said in Internet only subnet:

        policy routing is going to force traffic only to that gateway.. Yeah that would block access to your other IPv6 networks, because your gateway your sending the traffic to can not get there.

        But it is not working like my intention was. At least with ping, I can ping from my PC devices in the other subnet via IPv6 and vice versa...

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

          @Bob-Dig you sure you don't have an existing state? Or a rule say in floating that allows it..

          A ping to a dest where the pinger rules does not force out a gateway, would allow the return traffic even if where your pinging had a rule to force out a gateway.. because the state would be evaluated first, etc.

          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

          Bob.DigB 1 Reply Last reply Reply Quote 0
          • Bob.DigB
            Bob.Dig LAYER 8 @johnpoz
            last edited by

            @johnpoz said in Internet only subnet:

            you sure you don't have an existing state? Or a rule say in floating that allows it..

            Yep, nothing.

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

              @Bob-Dig It would take me a bit to duplicate the IPv6 stuff..

              But can easy duplicate a policy route with IPv4 gateway..

              2024-02-03_082237.jpg

              Create a policy route rule to send traffic out my wan dhcp gateway..

              I can not ping device on my other network.

              Notice the rule has been evaluated.

              Remove the rule and now I can ping..

              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

              Bob.DigB 1 Reply Last reply Reply Quote 0
              • Bob.DigB
                Bob.Dig LAYER 8 @johnpoz
                last edited by

                @johnpoz said in Internet only subnet:

                It would take me a bit to duplicate the IPv6 stuff..

                I wanted to try some linux machine but they all don't get an IPv6 address with their configuration so I am stuck with my windows machines for this test. But at least here it stands.

                Now if you want to test this you probably have to disable the patch from the other thread but I am sure you have read this today.

                1 Reply Last reply Reply Quote 0
                • G
                  gwabber
                  last edited by

                  I guess I can do both... create rules to block traffic to my other subnets and a policy rule for the gateway. At least I have stuff to tinker with now!

                  Thanks!

                  Bob.DigB 1 Reply Last reply Reply Quote 0
                  • Bob.DigB
                    Bob.Dig LAYER 8 @gwabber
                    last edited by Bob.Dig

                    @gwabber said in Internet only subnet:

                    and a policy rule for the gateway. At least I have stuff to tinker with now!

                    If you want to tinker, try if the policy rule alone is preventing the crosstalk of the subnets with IPv6. For me it is only for IPv4 but my network is complicated.

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      gwabber @Bob.Dig
                      last edited by

                      @Bob-Dig Gonna do that after the weekend! I will let you know!

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

                        @Bob-Dig sorry for my late reaction. Work was busy. The gateway rule does the trick with me!

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