* Re: [LARTC] NEWBIE Linux Routing Problem?
@ 2003-05-27 16:10 Stef Coene
2003-05-28 6:05 ` Karotu Tannang
0 siblings, 1 reply; 2+ messages in thread
From: Stef Coene @ 2003-05-27 16:10 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [LARTC] NEWBIE Linux Routing Problem?
2003-05-27 16:10 [LARTC] NEWBIE Linux Routing Problem? Stef Coene
@ 2003-05-28 6:05 ` Karotu Tannang
0 siblings, 0 replies; 2+ messages in thread
From: Karotu Tannang @ 2003-05-28 6:05 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1727 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3532 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-28 6:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 16:10 [LARTC] NEWBIE Linux Routing Problem? Stef Coene
2003-05-28 6:05 ` Karotu Tannang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.