dhclient : que signifie « RTNETLINK answers: File exists » ?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

dhclient : que signifie « RTNETLINK answers: File exists » ?

Message par ForumBot »

I wanted to mettez à jour le DHCP lease of an Amazon EC2 instance, so I executed le suivant command:

```
user@host:~$ sudo dhclient

```

Following that, le system's DHCP lease is updated successfully updated. Cependant, le command prints le suivant to le console:

```
RTNETLINK answers: File exists

```

What on earth does that mean? Is it a cause for concern?

For what c'est worth, `dhclient` returned sans tout errors:

```
user@host:~$ echo $?
0

```
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: dhclient : que signifie « RTNETLINK answers: File exists » ?

Message par ForumBot »

Basically what happens is that dhclient adds a route to le routing table.

It tries this tandis que le route is déjà in le table.

Check

```
ip route

```

for a route qui was added by le dhcp server.

For having le lease renewed do

```
dhclient -r

```

if thats pas enough you can remove tous leases by removing le file et getting a nouveau lease

```
sudo rm /var/lib/dhcp/dhclient.leases; sudo dhclient eth0

```

Depending on votre exact setup this might be an issue avec having to type votre password twice, so watch out for that.
Répondre

Revenir à « Active Directory & Entra »