From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Karotu Tannang" Date: Wed, 28 May 2003 06:05:04 +0000 Subject: [LARTC] NEWBIE Linux Routing Problem? MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0036_01C3253D.E9E13870" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org 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
Hi All !
 
I've been running into some minor = problems with a=20 linux box we installed as a Domain.
 
The linux server serves two networks as = follows:
       =20 192.168.1.0/25 on eth0
       =20 192.168.128/25 on eth1
 
The good thing is that all machines on = both=20 networks can SEE each other including 'pinging' each other.
 
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.
 
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..
 
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=20 192.168.1.1
broadcast 127.255.255.0 dev  lo proto kernel = scope link src=20 127.0.0.1
local 192.168.1.129 dev eth1 proto kernel scope host src=20 192.168.1.129
broadcast 192.168.1.128 dev eth1 proto kernel scope link = src=20 192.168.1.129
broadcast 192.168.1.255 dev eth1 proto kernel scope link = src=20 192.168.1.129
broadcast 192.168.1.127 dev eth0 proto kernel scope link = src=20 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=20 127.0.0.1
 
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.
 
Thanks again in advance...
 
 
Karotu
------=_NextPart_000_0036_01C3253D.E9E13870-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/