On Fri, Jun 06, 2003 at 04:45:18PM +0200, Kosta Porotchkin wrote: > Hello, experts! > My feeling that I have a simple problem, which I cannot solve alone. > Would appreciate any help from community. > > I have a 3-computer network at home: > First Windows workstation: 192.168.1.2/16, gw 192.168.1.1 > Second Windows workstation 192.168.2.2/16, gw 192.168.2.1 > Linux server/NAT firewall/gateway running Debian Woody 3.0: > eth0: 10.0.0.150/24 connected to ADSL modem/router (10.0.0.138) > eth1: 192.168.1.1/24 connected to the first workstation > eth2: 192.168.2.1/24 connected to the second workstation
With those addresses and 16 bit masks, the Windows boxes think they're on the same subnet, so they'll try to send direct rather than through the router. To match the router's config, they should also be /24. In more detail, the /16 is saying that the first 16 bits of the address specify the network, and the remainder (16 to make 32 total) specify the host. Each section of the address is 8 bits, so the network is 192.168.0.0, and the host parts are 1.2 and 2.2. With the /24 mask, the networks are 192.168.1.0 and 192.168.2.0, which is almost certainly what you were after. HTH, Richard (who happens to have a very similar setup at home, but (naturally) no windows boxes ;-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]