I am trying to conduct nmap scan on my router. I find out my router using route command:
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 100 0 0 ens33
link-local 0.0.0.0 255.255.0.0 U 1000 0 0 ens33
192.168.111.0 0.0.0.0 255.255.255.0 U 100 0 0 ens33
Now trying nmap but getting an error:
$ nmap 192.168.111.0
Starting Nmap 7.60 ( https://nmap.org ) at 2019-01-31 15:19 IST
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 0.07 seconds