Using the route
command I want to add not a specific IP, but a range of 172.16.12.0-172.16.12.255
. I tried route add -p 172.16.80.95 172.16.12.0
The route is being added, but it does not seem that the whole range is clinging. If I add one IP, then pings go. How to add the whole range or what am I doing wrong?
UPD
I wanted to add a range of gateways with one command. It turned out that this is impossible.