Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Kubuntu 12.04 installed on dual boot with Windows 7, when I search for my IP on Google, I get different results: one IP for Windows 7, and other for Kubuntu (it says also no proxy detected)

I was banned from a certain webpage, they say that my user account is banned as well as my computer. I can't enter with other newly created accounts, but with kubuntu, I can enter with no problems (not same banned account, but the same computer, that means they banned the IP address only).

How can I change my IP address on Kubuntu to another, in case they detect that is the same computer, or I get banned again? I am using default network manager.

I receive internet from a router with DCHP enabled, and other computers connected to the router. On Windows 7 I sometimes use the virtual wifi miniport to share internet with a laptop and that laptop gets different IP addresses each time I create the network.

share|improve this question
maybe ifconfig eth0 ip netmask gateway dns??? – geoh Jul 29 '12 at 16:13
The IP that appears as your public address on the Internet is in most cases the one that on the terminal equipment for your internet connection, from your internet provider. E.g, if you have a DSL connection, that device will be your modem. That IP address is usually different than the one on your PC/laptop, which is a private one. If what you need is to change your public IP, you might be able to do that by restarting your modem, depending on whether or not your provider leases you a dynamic IP, and also depending on how often they renew their leases. – Marios Zindilis Jul 29 '12 at 17:27
Your public IP depends on the internet provider (ISP), and in most cases, you can't change it at will. – mikewhatever Jul 29 '12 at 17:45
I reinstalled Windows 7,installed kubuntu on dual-boot, and both of them have different Ip addresses, different from the last ones. How can I change Ip without formatting? – user37805 Aug 7 '12 at 19:17
They may be different every time. If you are having gripes with a site, I recommend you contact the site owner directly. – hexafraction Aug 7 '12 at 19:55

If you have a "public IP", this suggests you have a different IP in your local network. That usually means you have something like a broadband modem/router, which is often NATed just to make things more interesting. In that case, it's the router that owns the public IP and you cannot change it in either Ubuntu, Windows or any other OS.

You should contact your internet service provider to get answers to this question.

share|improve this answer
I am in a network wich uses a router and there are other several PCs. When I search in google ''my ip'', it shows an address, if I reinstall the OS, I get a different address in google, but I guess the router still has its unchangeable ip. I want to change only what my computer ip is, without reinstalling OS, because that is enough to avoid bans. – user37805 Aug 17 '12 at 22:26
For the record... Some ISPs se a proxy system to save bandwith. It's possible to get different ip results depending on "who" you ask. – wlraider70 Mar 28 '13 at 22:18

The baseline is that its your internet service provider that decides what IP you get. but usually they give the same ip to the same computer. Also the dhcp client on computers usually request the same ip.

There are two things you can try:

If you release the IP. Your computer will ask for a new one. You might get the same one again though.

Option one: in windows in the terminal type:

ipconfig /release
ipconfig /renew

this will release the ip you have back to the dchp and then ask for a new lease.

Option two:

change your mac address.
I don't know really how to do that in windows.
but here is a [instruction][1] that came in high on google
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.