change IP address in linux mint?

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
mintcandy
Level 2
Level 2
Posts: 63
Joined: Mon Mar 09, 2015 3:02 am

change IP address in linux mint?

Post by mintcandy » Tue Jan 05, 2016 8:31 am

any way to change IP from command line or some app in linux mint?

cwsnyder
Level 6
Level 6
Posts: 1242
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: change IP address in linux mint?

Post by cwsnyder » Tue Jan 05, 2016 8:39 am

Are you talking about the Internet Protocol Address, or the IP protocol stack? Are you assuming there is a simple, one address IP Address associated with your machine? Or are you talking about the MAC address which is defined by your network interface card (a.k.a NIC)? Are you talking about the one provided to you by your Internet Provider, your local intranet DHCP, or the Internet Provider itself?

Define your term and how it is used, otherwise your question is too broad to be easily answered.
LMDE Mate 64-bit, LM17.3 Cinnamon 64-bit
Debian Mate 64-bit, Xubuntu xenial 64-bit, Ubuntu-Mate 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS Mate 64-bit

mintcandy
Level 2
Level 2
Posts: 63
Joined: Mon Mar 09, 2015 3:02 am

Re: change IP address in linux mint?

Post by mintcandy » Tue Jan 05, 2016 8:44 am

cwsnyder wrote:Are you talking about the Internet Protocol Address, or the IP protocol stack? Are you assuming there is a simple, one address IP Address associated with your machine? Or are you talking about the MAC address which is defined by your network interface card (a.k.a NIC)? Are you talking about the one provided to you by your Internet Provider, your local intranet DHCP, or the Internet Provider itself?

Define your term and how it is used, otherwise your question is too broad to be easily answered.
Thanks for your reply,

I want to change the IP address that is visible for webpages I visit with my browser. I am unfortunately not sure about the distinction you are making however I do know the difference between MAC and IP address. I have already tried manipulating my MAC address using macchanger as I read somewhere this might also change my IP address. However I had no luck changing it with this method.

I am on a home network with a router if that is of any help

DanielR
Level 4
Level 4
Posts: 238
Joined: Mon Sep 23, 2013 1:22 pm

Re: change IP address in linux mint?

Post by DanielR » Tue Jan 05, 2016 8:58 am

The IP address with which you appear on the internet is the IP address given to your internet connection by your ISP (Internet Service Provider). It has nothing to do with the IP address given to your local PC by your router. Depending on the type of internet access, your ISP has either given you a variable/dynamic IP address (usually changes every 24 hours or at each login to your internet connection) or a fixed IP address. Please check your contract with your ISP for details.

Please explain why you want to have a different IP address for the internet.

cwsnyder
Level 6
Level 6
Posts: 1242
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: change IP address in linux mint?

Post by cwsnyder » Tue Jan 05, 2016 9:12 am

Also, if you are seeking to provide more privacy, look into something like the Onion Router (a.k.a. TOR) browser. https://www.torproject.org/
LMDE Mate 64-bit, LM17.3 Cinnamon 64-bit
Debian Mate 64-bit, Xubuntu xenial 64-bit, Ubuntu-Mate 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS Mate 64-bit

mintcandy
Level 2
Level 2
Posts: 63
Joined: Mon Mar 09, 2015 3:02 am

Re: change IP address in linux mint?

Post by mintcandy » Tue Jan 05, 2016 9:25 am

cwsnyder wrote:Also, if you are seeking to provide more privacy, look into something like the Onion Router (a.k.a. TOR) browser. https://www.torproject.org/
I do have the tor browser but it wont access a lot of non onion web sites, such as google directly for example
DanielR wrote:The IP address with which you appear on the internet is the IP address given to your internet connection by your ISP (Internet Service Provider). It has nothing to do with the IP address given to your local PC by your router. Depending on the type of internet access, your ISP has either given you a variable/dynamic IP address (usually changes every 24 hours or at each login to your internet connection) or a fixed IP address. Please check your contract with your ISP for details.

Please explain why you want to have a different IP address for the internet.
I want a different IP address because my current is not working with certain websites

Cosmo.
Level 23
Level 23
Posts: 17829
Joined: Sat Dec 06, 2014 7:34 am

Re: change IP address in linux mint?

Post by Cosmo. » Tue Jan 05, 2016 9:48 am

You get from your ISP provider a more or less random IP address out of a pool of addresses. It is possible, that the very IP address you have now my be blocked, because of something the previous owner did something bad; in this case changing the IP address might help. But if the complete pool of addresses gets blocked, you will not solve anything by changing the address.

In most cases the random IP address gets automatically changed once in 24 hours. If you do not want to wait for this time, disconnect the router for a few minutes from the Internet, after the new connection it will get a new IP address. Probably the software interface of your router has also an option to make a new connection.

mintcandy
Level 2
Level 2
Posts: 63
Joined: Mon Mar 09, 2015 3:02 am

Re: change IP address in linux mint?

Post by mintcandy » Tue Jan 05, 2016 9:55 am

Cosmo. wrote: In most cases the random IP address gets automatically changed once in 24 hours. If you do not want to wait for this time, disconnect the router for a few minutes from the Internet, after the new connection it will get a new IP address. Probably the software interface of your router has also an option to make a new connection.
tried this, didnt work. means my ISP dont change my IP even when I unplug the router for some minutes?

DanielR
Level 4
Level 4
Posts: 238
Joined: Mon Sep 23, 2013 1:22 pm

Re: change IP address in linux mint?

Post by DanielR » Tue Jan 05, 2016 10:03 am

mintcandy wrote: tried this, didnt work. means my ISP dont change my IP even when I unplug the router for some minutes?
With your current internet connection please visit http://www.showmemyip.com/ and write down the IP address it displays. Then disconnect your router from the WAN (telephone line, cable, etc.) and wait a few minutes. Or better, just power down the router, wait a bit and power it up again. Afterwards visit the same web site from above again and check if you now have a different IP address.

mintcandy
Level 2
Level 2
Posts: 63
Joined: Mon Mar 09, 2015 3:02 am

Re: change IP address in linux mint?

Post by mintcandy » Tue Jan 05, 2016 10:10 am

DanielR wrote:
mintcandy wrote: tried this, didnt work. means my ISP dont change my IP even when I unplug the router for some minutes?
With your current internet connection please visit http://www.showmemyip.com/ and write down the IP address it displays. Then disconnect your router from the WAN (telephone line, cable, etc.) and wait a few minutes. Or better, just power down the router, wait a bit and power it up again. Afterwards visit the same web site from above again and check if you now have a different IP address.
it does not seem to change

Cosmo.
Level 23
Level 23
Posts: 17829
Joined: Sat Dec 06, 2014 7:34 am

Re: change IP address in linux mint?

Post by Cosmo. » Tue Jan 05, 2016 10:10 am

mintcandy wrote:means my ISP dont change my IP even when I unplug the router for some minutes?
I don't know your ISP and even if I would I wouldn't know, how he handles this. But your ISP should be able to give you the answer, probably also what is wrong with your current IP.

cwsnyder
Level 6
Level 6
Posts: 1242
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: change IP address in linux mint?

Post by cwsnyder » Tue Jan 05, 2016 4:51 pm

Also some Internet addresses may be blocked by your ISP[/b], for example in China, sites condemned by the government. In another example, if your IP address indicates you are not from in country USA, you are blocked from some sports sites.
LMDE Mate 64-bit, LM17.3 Cinnamon 64-bit
Debian Mate 64-bit, Xubuntu xenial 64-bit, Ubuntu-Mate 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS Mate 64-bit

Post Reply

Return to “Other networking topics”