If 192.168.1.2 (the NT) is the box is the one connected to the outside world, then "route add default gw 192.168.1.2" on the .251 box. "route -n" should show 0.0.0.0 192.168.1.2 0.0.0.0 UG 0 0 0 eth0 You would also need to set up the gateway machine to forward packets, otherwise you won't be able to get anything in or out. There should also be a nameserver in /etc/resolv.conf nameserver 192.168.1.2 (or other address if you know of an external nameserver). If the NT box was set up by a cable/DSL company, there should be less to do with it. Can't help you on NT as I'm not Microsoft literate. Regards Sid. Jerry Feldman wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Your gateway is the box that has the NIC for the outside world, and it may not be 192.168.1.1. In some cases, the gateway may be the cable modem. You need to give us all the details of your network. Here is a typical home network:
- ----Cable modem or DSL-----| router or PC with multiple NICS| | | | PC PC PC... | +---------------IP address is local, gateway is the router.
The first question, can you ping the NT box from the Linux box. Secondly, can you ping the linux box from NT.
If either one of these are successful, then we can establish that the NIC and switch are working.
(Most switches will handle both full and half duplex where hubs are only half duplex).
Once you have established that the switch and NIC are working correctly, then let's figure out what you are using for a gateway: What type of system is connected to the outside world: That system must be connected to the switch and have an IP address 192.168.1.X. That would be your gateway.
On Mon, 29 Dec 2003 18:26:23 EET pseep@mail.gr wrote:
I have already to set the 192.168.1.1 as the getway with no success as far as the ip 192.168.1.1 is not pingable (from a networked winpc).
The WinNt which acts as a file server owns the 192.168.1.2
- -- Jerry Feldman
Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/8I7P+wA+1cUGHqkRAgZcAJ9WAjvUrHDR0rH9IZKFtg/Ludt+uACfUrvA 6PBah2yjKHZejDrQvZ2W2to= =AMMA -----END PGP SIGNATURE-----
-- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.