Score:-1

Ubuntu gets same IP as another device on the network

vn flag

I faced with a weird issue. In our office we have wifi and after reinstalling Ubuntu 20.04 I am not able to use network due to Ubuntu gets the same ip address as another device(android) has. DHCP is set and I didn't do any custom configuration in the system. After the following commands it gets a unique ip.

sudo dhclient -r

sudo dhclient

Was trying to solve with our support team but in their side everything is fine they said. Also manually try to add wifis:dhcp4: yes to netplan config file.

netplan config file:

network: 
    version: 2 
    renderer: NetworkManager`
Pilot6 avatar
cn flag
Is mac address the same on both devices?
javadev avatar
vn flag
no it's not, I don't think the another device is related to the problem. I suppose netplan not works correctly
jtessier72 avatar
cn flag
what does the netplan config look like?
javadev avatar
vn flag
@jtessier72 added file to the answer, it's default file created by ubuntu
chili555 avatar
cn flag
I suggest that you remove the connection listed in `/etc/NetworkManager/system-connections` reboot and see if there is any improvement.
Score:0
vn flag

Issue is fixed it by editing /etc/NetworkManager/NetworkManager.conf config file.

added:

[main]
dhcp=dhclient

suppose it uses something else by default

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.