ip not changing before log out/shutdown/reboot

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Ultegro778

ip not changing before log out/shutdown/reboot

Post by Ultegro778 »

i have problem when im set ip to static via network connections. i change ip from 192.168.2.4 to 192.168.2.100 and then im restarting network manager. so i check it in terminal but my ip still 192.168.2.4. so i log out linux and re-log in and my ip already changes to 192.168.2.100.

my network adapter rtl 8111. any ideas. thx anyway..
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
kisaru
Level 1
Level 1
Posts: 7
Joined: Sun Jul 24, 2016 6:57 pm

Re: ip not changing before log out/shutdown/reboot

Post by kisaru »

First, i understood you changed /etc/network in order to get new ip, right?
What version of Mint do you use? also, isn't there a ethernet gui interface to perform that?
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: ip not changing before log out/shutdown/reboot

Post by catweazel »

Ultegro778 wrote: Sun Aug 26, 2018 2:53 am i have problem when im set ip to static via network connections. i change ip from 192.168.2.4 to 192.168.2.100 and then im restarting network manager. so i check it in terminal but my ip still 192.168.2.4. so i log out linux and re-log in and my ip already changes to 192.168.2.100.

my network adapter rtl 8111. any ideas. thx anyway..
The best way to get a fixed IP address is to feed your MAC address to your router so that the router always asigns the chosen IP whenever that device connects.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Locked

Return to “Networking”