NEIPv4Settings includedRoutes not work

IPv4 route : ["128.0.0.0/1","0.0.0.0/1"] is equal "0.0.0.0/0". if i set

ipv4Settings.includedRoutes = [NEIPv4Route.default()]

every site is ok,but when i set

 ipv4Settings.includedRoutes = [NEIPv4Route(destinationAddress: "128.0.0.0", subnetMask: "128.0.0.0"),NEIPv4Route(destinationAddress: "0.0.0.0", subnetMask: "128.0.0.0")]

some website not work with tunnel,like google,youtube

I would take a look at your subnetMasks to make sure they are set the way you want them. A good way to deduce what is happening here is by starting with one NEIPv4Route and then get that working. Then, add another more granular route to ensure that this is working. Then keep dialing it in as more routes are added.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
NEIPv4Settings includedRoutes not work
 
 
Q