Re: [LARTC] NEWBIE Linux Routing Problem?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux