Internet only subnet
-
@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.
-
@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...
-
@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.
-
@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.
-
@Bob-Dig It would take me a bit to duplicate the IPv6 stuff..
But can easy duplicate a policy route with IPv4 gateway..
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..
-
@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.
-
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!
-
@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.
-
@Bob-Dig Gonna do that after the weekend! I will let you know!
-
@Bob-Dig sorry for my late reaction. Work was busy. The gateway rule does the trick with me!