Newbie Networking Linux

Kevin Brown kevin_brown@uswest.net
Mon, 04 Sep 2000 08:35:35 -0700


If you are using a NetMask of 255.255.255.0 for your internal address space then
192.168.1.1, 192.168.2.1 and 192.168.3.1 are not on the same network.  Try
either changing the netmask to 255.255.0.0 or change your ip's (192.168.2.1 ->
192.168.1.2, 192.168.3.1 -> 192.168.1.3), that will put them on the same
network.  For those boxes the default gateway should be 192.168.1.1 (the
internal ip of your linux box).  

> I have two nic(s) installed in the SuSE linux box and have set them as:
> eth0  with my DSL line's IP address, and
> eth1 with an IP address of 192.168.1.1
> 
> I have set the nic's address on the other computer (OS is WIN98) as
> 192.168.2.1
> The third computer will be 192.168.3.1 (it will be a linux/win box).
> 
> I've played with these setting every which way but the right way because I
> still don't get a connection.
> 
> What do I need to put in the route.conf file to get this network up?
> Right now I have the following and its not working:
> 
> #destination                        Dummy/gateway
> Netmask                         Device
> XXX.186.215.21               XXX.186.215.1                          255.255.255.255                 eth0
> 192.168.1.1
> 0.0.0.0                                         255.255.255.0
> eth1
> default   XXX.186.215.1
> 
> When I run "ifconfig"  the out put looks ok.
> 
> Thanks,
> Fred
> 
> 
> 
>