Network Gateway problem?

Jacky7084400

Member
Oct 2, 2000
43
0
0
our netowrk has two gateway, one is connect to another branch office, ip: 192.168.0.1; another one is connected to internet, ip: 192.168.0.2
Problem:
we config one workstation with fixed ip address:192.168.0.179, netmask:255.255.255.0, and default gateway: 192.168.0.2, so this computer can access internet through gateway:192.168.0.2, it work. But after a period time( 10 minutes or 30 minutes ), this computer can not access interet, I try to key in "tracert www.yahoo.com" under MS-DOS mode, I saw the request is transfered to 192.168.0.1, it is not 192.168.0.2, I don't know why this computer transfer request to 192.168.0.1, because I have setted the default gateway to 192.168.0.2, which is used to connect to interet.
so anyone could give me solution, thank you very much.
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
what OS is this? 95/98 cannot handle two gateways. I suspect your having problems because of the default route on your machines. Check the host routing table by going to dos prompt and typing "route print". You'll see an entry for 0.0.0.0. This is the default route/gateway. It tells the IP stack what to do with any datagram not on the local subnet.

How are the gateway settings being assigned? DHCP? Also check your IP settings with winipcfg command. My guess is somehow your renewing and address and picking up the 192.168.0.1 gateway setting.

 

Jacky7084400

Member
Oct 2, 2000
43
0
0
There is no DHCP server in local network. All settings are setted by mannual. we set the fixed ip address for workstation, and only one default gateway which we want it to go--192.168.0.2

192.168.0.1 -------- another office, this workstation doesn't need this gateway
192.168.0.2 -------- Internet -----we use this gateway for this workstation

when we boot up this box, it can access internet, but after a while, it can't access internet.
we found all request sent to 192.168.0.1, I don't know why?