Ifconfig

If I start if I can not find my IP address:

eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 8c:16:45:4a:bf:98 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

What can I do to find my IP Address?
Thanks

Hey,

This means you are not connected to any network or have not leased an IP from the DHCP or set up a static IP. You currently do not have an IP address.

How is that possible sir, I have normal internet connection

How can I set up a static IP Address and/or a DHCP services Sir?

You may be connected to a different interface as well …such as wlan0 for wifi/wlan.
eth0 is typically your hard wired ethernet interface. Running ip a or `ifconfig -a’ should give you ip and more details. You can then look up man pages or manuals for how to set static IPs or DHCP IPs with these two commands. OR you can also do them from the network manager GUI.

1 Like

You say you have normal internet connection, are you running Kali in a VM then?