So, IP route show is where I'm going to start, and we need a custom route, right?
So IP route add, and what do I want to do?
I want to add 10.0.0.0.8 via 192.168.29.142.
I'm using an existing IP address, even if it does not provide any routing functionality.
So IP route show is showing that the 10 route has been added.
So if I'm going to ping 10.0.0.3, then I am getting what?
Now, this is a funny one.
I'm getting a redirect.
So what is this smart router doing?
This router is answering, hey, I'm not a router.
So check this out with 192.168.29.2, but in the end, the redirect is an error.
And for that reason, I've received nothing.
That is expected behavior.
We needed to discover IP addresses on this network, well, nmap-sn for scan network, 192.168.29.0.24.
Give it a few seconds, and you will see all the IP addresses that are available.
And final thing, the stealth scan.
So nmap-ss on 192.168.29.147, which is showing what?
Well, once it is done, it should show all the ports that it has found open.
And look at that.
We have port 22, but also port 9090.
Well, at least that is something else.
Stealth scan allows you to go deeper.
And best thing about stealth scan, it allows you to be undetected.
And in case you are wondering, why would I want to be undetected?
Well, I don't know.
That depends on what you want to do on the network.
But please do remember, you should never use nmap on networks where you don't have permission.
It's generally considered a hacking tool.