Change Windows XP default Gateway

August 10, 2006 at 16:39:18
Specs: Windows XP, 1GB

I need to change Windows XP default gateway from 192.168.0.1 (default) to 192.168.1.1 (custom) because i have a device that is set to IP 192.168.1.10 with gateway 192.168.1.1. Everytime i change to 192.168.1.1 i can access the device, but then i have to change it back to 192.168.0.1 so my laptop can connect to the internet using the desktop's gateway.

I use an ADSL USB modem in the desktop, don't know if this is relevant.

changing IP in the desktop network's card tcp/ip to 192.168.1.1 cuts access to internet or share to the laptop, so there must be something else i should change but i don't know what.

Any ideas?

I only do what the voices in my head command...


See More: Change Windows XP default Gateway

Report •


#1
August 10, 2006 at 17:13:09

Change the device IP not your internet connection.

Report •

#2
August 10, 2006 at 20:18:25

I think you want to use profiles. See the help and support pages. You'd setup a system for one way then reboot to a new hardware setup.

Report •

#3
August 10, 2006 at 23:54:57

I believe you could also bind two IPs to your network interface, then dabble with their "metric" configurations.

Report •

Related Solutions

#4
August 11, 2006 at 01:59:57

"Change the device IP not your internet connection"

The device has a fixed IP, i cannot change it.

What i was trying to say is: using windows xp network assistant, it sets ASDL USB as internet connection and network adapter as gateway with IP 192.168.0.1. What i want is to change this gateway to 192.168.1.1 without losing internet access when i connect the laptop to the network adapter. I think the DHCP server on the desktop stops working when i change the default IP.

I only do what the voices in my head command...


Report •

#5
August 11, 2006 at 08:14:31

You can't use dhcp and static together. Its one or the other not both.

I am sure you can change the ip on the "device" you are trying to dual connect to. See if it has a web interface by setting your ip to static and then put the gateway address in IE/Firefox.

Since you don't mention having a router I don't think you can change the x.x.0.1 you get from the modem. Now if it was a router it would be a simple job to change the dhcp server to the .1.x ip range.

Give a person a fish, they eat for a day. Suggest they internet search and they learn a skill for a lifetime.


Report •

#6
August 11, 2006 at 11:42:49

I'm choosing the wrong words.

I have 2 computers: desktop with adsl modem, and laptop. I used windows xp network assistant to configure the desktop as a gateway, the internet connection is the ADSL Modem, and the local network adapter is set to 192.168.0.1/255.255.255.0 (gateway). The laptop connects with a crossover cable to the desktop.
What i want is to change 192.168.0.1 to 192.168.1.1. But if i do this, the laptop no longer is able to access the desktop or the internet. So, changing 192.168.0.1 to 192.168.1.1 in the local network adapter's tcp/ip is not enough, there is something else i should change but i don't know what.

I only do what the voices in my head command...


Report •

#7
August 11, 2006 at 12:36:53

"What i want is to change 192.168.0.1 to 192.168.1.1."
Not sure why you are considering this. Has nothing to do with ICS configuration if this is the gateway address of the adsl. Don't mess with this.

Do you have two network cards or interfaces in the desktop pc? I am assuming you have the crossover from laptop nic to pc nic but you also have to have a network interface [nic/usb] to the adsl. ICS bridges the network interfaces on the desktop pc.

You set both the laptop and the pc nic with the crossover to dhcp and ICS will do the rest.

Perhaps this will help
http://support.microsoft.com/kb/306126/

Give a person a fish, they eat for a day. Suggest they internet search and they learn a skill for a lifetime.


Report •

#8
August 11, 2006 at 13:51:28

Yes, it is exactly like that link: my desktop is using ICS, with USB ADSL Modem and the NIC set to 192.168.0.1/255.255.255.0 (by windows xp). the laptop NIC connects to the desktop NIC with a crossover cable. But i need to use 192.168.1.1 because i have a machine (not a computer) that connects to the desktop NIC using 192.168.1.10 as a fixed IP and expects to find 192.168.1.1 as the gateway (this is FIXED, cannot be changed). I can change the desktop NIC to 192.168.1.1 manually, but if i connect the crossover to the laptop's NIC with that IP, the laptop doesn't receive an IP and can't access the internet.

Resuming: IP 192.168.0.1 is somehow connected to
ICS, and i want to find out how to chnage it to 192.168.1.1, and keep ICS intact.
I only do what the voices in my head command...


Report •

#9
August 11, 2006 at 15:29:00

I'm going on vacations for the entire next week starting saturday, but feel free to reply, i'll come back to reply whenever i can access an internet connection :) meanwhile i'll keep trying to figure out how to solve my request.

I only do what the voices in my head command...


Report •

#10
August 11, 2006 at 15:59:09

The easiest solution is to buy a dsl router.

The modem should also have an ethernet port that you can use to connect to the router's WAN port. Most if not all dsl router's now come with a built-in switch with al least 4 ports. Both computers and the other device connect to the LAN (switch) ports on the router with a standard patch cables (not crossover cables). The router can be configured to use either 192.168.0.x or 192.16.1.x addresses.


Report •

#11
August 11, 2006 at 16:57:13

Fishmonger has it. You can NOT accomplish what you want with what you have. You can't change the ip address ie. gateway you get from the ISP.

But I have to tell you there is no such thing as a "fixed" ip address. Someone somehow ASSIGNED that ip address to the device.

If you don't want to get a router figure out how to access the device and change it.
Have you ever tried putting 192.168.1.1 in IE and see if there is a web interface for the device?

Give a person a fish, they eat for a day. Suggest they internet search and they learn a skill for a lifetime.


Report •

#12
August 11, 2006 at 22:53:12

Wanderer is right. There are few devices that have an address that cannot be changed.

The grass may not be greener on the other side . . . but it just might have less weeds. :-D


Report •

#13
August 12, 2006 at 09:51:15

You're getting it all wrong, let me try to explain once more:

The laptop connects to the desktop NIC, the desktop connects to the internet with an USB ADSL Modem.

The laptop receives an IP in the range 192.168.0.x, and the desktop NIC is set to 192.168.0.1 by windows xp network assistant.

FishMonger said: "The router can be configured to use either 192.168.0.x or 192.16.1.x addresses." Exactly, but not quite. The desktop NIC is working as a router to the laptop, what i want is to change the default range 192.168.0.x to 192.16.1.x, and the desktop NIC from 192.168.0.1 (set by XP) to 192.168.1.1.

And NO, the machine i want to connect to using a crossover cable is pre-set to use IP 192.168.1.10 / gateway 192.168.1.1 and i CANNOT change this. I already said, it is not a computer, and the only way to change it's IP is with a cable and software that i don't have.


I only do what the voices in my head command...


Report •

#14
August 12, 2006 at 15:39:37

I know it's not a computer. I called is device. You have just confirmed what we have been saying, network devices don't have permanent unchangable addresses. When you said you can't change it you neglected to mention that you don;t have the proprietary cable and software make the chnage with.

As you know already from your present experience, Microsoft's ICS (Internet Connection Sharing) uses the 192.168.0.0/24 network as the defualt and cannot be changed through any GUI interfaces in the desktop OS. There may only be an unsupported registry hack to make the changes you need as there was for 98 and Milllenium. I have not seen it.

The grass may not be greener on the other side . . . but it just might have less weeds. :-D


Report •

#15
August 12, 2006 at 15:50:28

Maybe I have it all wrong.

What you want to do is share the intenet on the desktop to a laptop? On the desktop you have two nics. (I don't understand the can't change IP but.,,) If I wanted a laptop to share in that setup I'd get AnalogX's proxy. Put it on the desktop. Read the readme file. On the laptop I'd set the IP address in XP to be in the same subnet as the nic on the desktop. Then in your browser I'd setup the desktop's IP address and use AnalogX's proxy port.

If this is all wrong then maybe you could restate the initial problem on a new thread and we all can try again?


Report •

#16
August 12, 2006 at 16:41:56

Cnances are you can change the IP on the device. Secondly, I don't know why people insist on using a PC as a router. It doesn't make any sense to me.

Report •

#17
August 13, 2006 at 07:24:37

Thanks Puppy, that's exactly what i was suspecting. I'll try to find if there is a hack to XP, otherwise i'm stuck to changing IP manually whenever i need to switch the crossover from the laptop to the machine...

To Jefro: on the desktop i have ONE NIC, it connects to the laptop with a crossover cable, so the laptop can access the internet through the desktop. That was the NIC i was trying to change from 192.168.0.1 to 192.168.1.1 and still have ICS working, but as Puppy said, ICS only works with 192.168.0.0/24.

To don2006: as i stated above, i don't have the proper cable and software to change the machines's default IP (it is not a computer). I use the desktop as a router because i was not using it's NIC, the desktop is always ON and i only connect the laptop to it. Well, ocasionally i need to connect the machine for updating purposes only.

I only do what the voices in my head command...


Report •

#18
August 13, 2006 at 16:49:15

Sorry, I haven't seen a web page or document of some sort that contains the required registry changes for modifying the ICS network.

I searched for a short while too so I could post the steps or a link to the steps for you but came up empty. A more exaustive search may turn up something.

The grass may not be greener on the other side . . . but it just might have less weeds. :-D


Report •

#19
August 14, 2006 at 16:56:36

YES, ICS is limited. Use AnalogX's proxy. You can use any IP address.

Report •

#20
August 14, 2006 at 17:19:13

I think it's free too.

It doesn't proxy UDP protocols.

The grass may not be greener on the other side . . . but it just might have less weeds. :-D


Report •

#21
August 17, 2006 at 17:36:29

Thanks for all your help. I'll try all your suggestions, and as a last resort, i'll keep changing the IP manually (heck, i only do it once a week).

I only do what the voices in my head command...


Report •


Ask Question