Newbie Networking Linux

fredlogo fredlogo" <fredlogo@digitalf.com
Mon, 4 Sep 2000 04:23:39 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0035_01C01627.E6E55A20
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit

I'm a newbie using SuSE 6.4.
I want to network 3 computers using my SuSE Linux box as a firewall.

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





------=_NextPart_000_0035_01C01627.E6E55A20
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>I'm a newbie using SuSE 6.4.</DIV>
<DIV>I want to network 3 computers using my SuSE Linux box as a =
firewall.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have two nic(s) installed in the SuSE linux box and have set them =

as:</DIV>
<DIV>eth0&nbsp; with my DSL line's IP address, and</DIV>
<DIV>eth1 with an IP address of 192.168.1.1&nbsp;&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>I have set the nic's address&nbsp;on the other computer&nbsp;(OS is =

WIN98)&nbsp;as 192.168.2.1</DIV>
<DIV>The third computer will be 192.168.3.1 (it will be a linux/win =
box).</DIV>
<DIV>&nbsp;</DIV>
<DIV>I've played with these setting every which way but the right=20
way&nbsp;because I still don't get a connection.&nbsp;&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>What do I need to put in the route.conf file to get this network =
up? </DIV>
<DIV>Right now I have the following and its not working:</DIV>
<DIV>&nbsp;</DIV>
<DIV>#destination&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
Dummy/gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Netmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;Device</DIV>
<DIV>XXX.186.215.21&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XXX.186.215.1&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;255.255.255.25=
5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eth0</DIV>
<DIV>192.168.1.1&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;255.255.255.0&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
eth1</DIV>
<DIV>default&nbsp;&nbsp; XXX.186.215.1</DIV>
<DIV>&nbsp;</DIV>
<DIV>When I run "ifconfig"&nbsp; the out put looks ok.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Fred</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0035_01C01627.E6E55A20--