This is a multi-part message in MIME format.
------=_NextPart_000_0036_01C3253D.E9E13870
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi All !
I've been running into some minor problems with a linux box we installed =
as a Domain.
The linux server serves two networks as follows:
192.168.1.0/25 on eth0
192.168.128/25 on eth1
The good thing is that all machines on both networks can SEE each other =
including 'pinging' each other.
After installing an Win 95 Internet Gateway on 192.168.1.2 ... only =
machines in the 192.168.1.0/25 network can use it to connect to the =
internet but not the ones in the 192.168.1.128/25 network.
I've also done some reading on lartc.org but couldn't get any help... or =
maybe its just too complicated for me :( but I've included some info =
from our server as a result of my readings which I thought would be =
helpful..
ip route list table main
192.168.1.0/25 dev eth0 scope link
192.168.1.128/25 dev eth0 scope link
127.0.0.0/8 dev lo scope link
ip route table local
local 192.168.1.1 dev eth0 proto kernel scope host src 192.168.1.1
broadcast 192.168.1.0 dev eth0 proto kernel scope link src 192.168.1.1
broadcast 127.255.255.0 dev lo proto kernel scope link src 127.0.0.1
local 192.168.1.129 dev eth1 proto kernel scope host src 192.168.1.129
broadcast 192.168.1.128 dev eth1 proto kernel scope link src =
192.168.1.129
broadcast 192.168.1.255 dev eth1 proto kernel scope link src =
192.168.1.129
broadcast 192.168.1.127 dev eth0 proto kernel scope link src 192.168.1.1
local 127.0.0.1 dev lo proto kernel scope host 127.0.0.1
local 127.0.0.0/8 dev lo proto kernel scope host 127.0.0.1
If anyone could kindly offer me some pointers on how to get the other =
network to connect to the internet via the Internet Gateway, I would be =
very grateful.
Thanks again in advance...
Karotu
------=_NextPart_000_0036_01C3253D.E9E13870
Content-Type: text/html;
charset="iso-8859-1"
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=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>Hi All !</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I've been running into some minor =
problems with a=20
linux box we installed as a Domain.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The linux server serves two
networks as =
follows:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
=20
192.168.1.0/25 on eth0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
=20
192.168.128/25 on eth1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The good thing is that all machines
on =
both=20
networks can SEE each other including 'pinging' each
other.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>After installing an Win 95 Internet
=
Gateway on=20
192.168.1.2 ... only machines in the 192.168.1.0/25 network can use it =
to=20
connect to the internet but not the ones in the 192.168.1.128/25=20
network.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I've also done some reading on =
lartc.org but=20
couldn't get any help... or maybe its just too complicated for me :( but =
I've=20
included some info from our server as a result of my readings which I =
thought=20
would be helpful..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>ip route list table
main</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>192.168.1.0/25 dev eth0 scope =
link</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>192.168.1.128/25 dev eth0 scope =
link</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>127.0.0.0/8 dev lo scope =
link</FONT></DIV>
<DIV> </DIV>
<DIV>ip route table local</DIV>
<DIV>local 192.168.1.1 dev eth0 proto kernel scope host src =
192.168.1.1</DIV>
<DIV>
<DIV>broadcast 192.168.1.0 dev eth0 proto kernel
scope link =
src=20
192.168.1.1</DIV>
<DIV>broadcast 127.255.255.0 dev lo proto kernel =
scope link src=20
127.0.0.1</DIV>
<DIV>local 192.168.1.129 dev eth1 proto kernel
scope host src=20
192.168.1.129</DIV>
<DIV>broadcast 192.168.1.128 dev eth1 proto kernel
scope link =
src=20
192.168.1.129</DIV>
<DIV>
<DIV>broadcast 192.168.1.255 dev eth1 proto kernel
scope link =
src=20
192.168.1.129</DIV>
<DIV>
<DIV>broadcast 192.168.1.127 dev eth0 proto kernel
scope link =
src=20
192.168.1.1</DIV>
<DIV>local 127.0.0.1 dev lo proto kernel scope host 127.0.0.1</DIV>
<DIV>local 127.0.0.0/8 dev lo proto kernel scope host=20
127.0.0.1</DIV></FONT></DIV></DIV></DIV></DIV></DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If anyone could kindly
offer me =
some pointers=20
on how to get the other network to connect to the internet via the =
Internet=20
Gateway, I would be very grateful.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks again in
advance...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial
size=3D2>Karotu</FONT></DIV></DIV></BODY></HTML>
------=_NextPart_000_0036_01C3253D.E9E13870--
On Thursday 29 May 2003 02:23, Karotu Tannang wrote: > Hi All ! > > I've been running into some minor problems with a linux box we installed as > a Domain. > > The linux server serves two networks as follows: > 192.168.1.0/25 on eth0 > 192.168.128/25 on eth1 > > The good thing is that all machines on both networks can SEE each other > including 'pinging' each other. > > After installing an Win 95 Internet Gateway on 192.168.1.2 ... only > machines in the 192.168.1.0/25 network can use it to connect to the > internet but not the ones in the 192.168.1.128/25 network. > > I've also done some reading on lartc.org but couldn't get any help... or > maybe its just too complicated for me :( but I've included some info from > our server as a result of my readings which I thought would be helpful.. > > ip route list table main > 192.168.1.0/25 dev eth0 scope link > 192.168.1.128/25 dev eth0 scope link > 127.0.0.0/8 dev lo scope link > > ip route table local > local 192.168.1.1 dev eth0 proto kernel scope host src 192.168.1.1 > broadcast 192.168.1.0 dev eth0 proto kernel scope link src 192.168.1.1 > broadcast 127.255.255.0 dev lo proto kernel scope link src 127.0.0.1 > local 192.168.1.129 dev eth1 proto kernel scope host src 192.168.1.129 > broadcast 192.168.1.128 dev eth1 proto kernel scope link src 192.168.1.129 > broadcast 192.168.1.255 dev eth1 proto kernel scope link src 192.168.1.129 > broadcast 192.168.1.127 dev eth0 proto kernel scope link src 192.168.1.1 > local 127.0.0.1 dev lo proto kernel scope host 127.0.0.1 > local 127.0.0.0/8 dev lo proto kernel scope host 127.0.0.1 > > If anyone could kindly offer me some pointers on how to get the other > network to connect to the internet via the Internet Gateway, I would be > very grateful. This is maybe a stupid answer, but have the enabled forwarding int he kernel ? echo "1" > /proc/sys/net/ipv4/ip_forward Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net