I
I
Ilnur Karimov2017-07-20 22:44:11
linux
Ilnur Karimov, 2017-07-20 22:44:11

Why does the Internet disappear when changing the mac-address kali linux?

Good day.
The problem is this:
In the terminal I enter

service network-manager stop
macchanger -r eth0

The poppy address changes, but after turning on network-manager, the Internet connection disappears, I can’t go to any site. But when I return the poppy address back everything works. What to do ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nazar Mokrinsky, 2017-07-20
@nazarpc

Based on the MAC address, the provider issues IP and other settings. After the change, he does not know what kind of machine is connected and does not give out the settings, so the Internet does not work. But why change the MAC?

D
Dmitry Ponomarev, 2017-07-21
@dimker

If an interface with a specific MAC address is required, then you can raise the virtual interface and set the required MAC to it:

ifconfig eth0:1 123.123.123.123/24 ether hw 08:00:00:00:00:01

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question