Linux IP addressing Problem

hello,

we are having a LAN of about 100 nodes each installed with windows 2000. the default gateway ip address of each system has been assigned the IP of a personal router which connects us to the internet. and offcourse there are a few DNS address also. the ip address range from 192.168.1.1 to 192.168.1.100

the problem is that i have installed redhat linux 9 on a node with windows 2000 in dual boot. when i assigned the above stated ip address to the redhat linux system (i.e 192.168.1.68) with all the other settings as shown above , the internet does not work at all. Linux operating system pings all the local hosts but does not ping any website on internet which is rather done by windows operating system.
but when i give IP address 192.168.0.1 to the Linux operating system the internet works and it pings all the websites on the internet.i want that the linux operating system also works properly on with designed IP address. i am very confused and not getting it why is it happening so.

Thanks in advance for any help.

What is your NETMASK?

What have you got for your default gateway?

You'll need to run a command such as

route add default gw ip_addr

where ip_addr is the IP address of the internet gateway.

yahoo.com returns ICMP packets, so try pinging it to verify that you have a route out to the 'net

cheers
ZB

yeah the netmask is 255.255.255.0 and the default gateway IP address is assigned to in the network setup (192.168.0.250).

This looks like it could be because 192.168.0.xxx and 192.168.1.xxx are on different networks (in terms of IP addresses) - this is why when you set the IP of the Linux box to 192.168.0.1 it works, but as 192.168.1.xxx it doesn't - the gateways IP address is 192.168.0.250, hence it's on the 192.168.0 network.

You could install a machine with two NICs as a gateway between the 192.168.0 and 192.168.1 networks. Else, if you can change the IP of either the gateway or the Linux box so they're on the same network, that'll do.

Cheers
ZB

thanks i will definitely try this!!!!!