linux – Scapy Python 3 Error: WARNING No route found (no default route?)

linux – Scapy Python 3 Error: WARNING No route found (no default route?)

It seems that the cause of the error is that as I am not using a wired connection, I am not using the network card. For that reason, the Ether() function cannot be used. As every network card has a unique Mac address, the Mac address cannot be used. That, in my opinion, is the cause of the error. Of course, I would love to have an opinion of somebody who knows more about the subject. My college degree is in mathematics. :):):) In my last attempt, I installed Scapy on an Oracle Virtual Box Machine, and I am getting the following message:

WARNING: getmacbyip failed on [Errno 1] Operation not permitted
WARNING: Mac address to reach destination not found. Using broadcast.

What do you think?

@Carcigenicate advised me to use the route command in Linux.

Here is the info that I get when I use the command route in the Ubuntu terminal that is in my Oracle virtual box machine.

enter

When I use the command route in the Ubuntu terminal that is in my Windows 10 Pro Laptop, I get the following:

enter

At this time, following the tip of @Carcigenicate, we find that the Gateway is 0.0.0.0

What that exactly means? Not sure. Check this link: https://en.wikipedia.org/wiki/0.0.0.0

I forgot to mention that my machine is a corporate machine. So, most likely my machine has some IT security software that causes that behavior.

However, as I am not an expert, please give me your opinion or post a better answer. Thank you for your help!

linux – Scapy Python 3 Error: WARNING No route found (no default route?)

Leave a Reply

Your email address will not be published. Required fields are marked *