No IPv4 address is currently assigned
No IPv4 address is currently assigned
Example:
From the output of your ip a command, there is no IPv4 address assigned to your active network interface (eth0), only IPv6 addresses are present.
Here's What You Have:
-
Loopback interface (
lo) has:127.0.0.1→ that's only for local use. -
Ethernet interface (
eth0) has only IPv6 addresses
dhclient is not installed by default on your Kali system.Let’s fix that and get your IPv4 address:
$ sudo apt install isc-dhcp-client -y
Then check:
$ ip a
You should now see a line under eth0 like:
🧠Why might IPv4 be missing?
-
Your network/router might be IPv6-only
-
DHCP server is not assigning IPv4
-
Your system didn’t automatically request an IPv4 address
dhclient doesn’t work:Try this command instead (newer systems use NetworkManager):
$ nmcli device reapply eth0
Comments
Post a Comment