I have quite a typical issue - "network unreachable" in Windows Subsystem for Linux (WSL2) with Ubuntu 18.04. There is much advice on the internet, what to do with ifconfig and resolve.conf, but they don't work. There are also some people who advise to turn off the firewall. This helps, but it's not the way I would like to go on.
So I tried to set up my free Zone Alarm Firewall. There is a new zone there, called "New Network", set as "Trusted", where the IP and the Subnet are the same as I see in ipconfig for "vEthernet (WSL)":
IPv4 Address. . . . . . . . . . . : 172.23.16.1
Subnet Mask . . . . . . . . . . . : 255.255.240.0
However, ifconfig in Ubuntu on WSL shows slightly different IP's
inet 172.23.25.51 netmask 255.255.240.0 broadcast 172.23.31.255
After each system restart, the IPs change (always starting from '172'), the netmask is the same.
What settings should I make in my ZoneAlarm to make this work?