Hi Dr. Patra,

Ur problem is typical IP MASQ problem.

Please check whether both of gateway for 192.168.0.0
and 90.0.0.0 as MASQ ed for packet forwarding...

for the gateway of the 90.0.0.0 network, please
make following file at /etc/rc.d/rc.fw

        #!/bin/sh
        echo 1 > /proc/sys/net/ipv4/ip_forward
        /sbin/ipchains -F
        /sbin/ipchains -P forward DENY
        /sbin/ipchains -A forward -s 90.0.0.0/255.255.255.0 -j MASQ
        #comment te following lines if not needed and make the default iput
        # and output policy to accept
        /sbin/ipchains -P input DENY
        /sbin/ipchains -A input -d 90.0.0.0/255.255.255.0 -j ACCEPT
        /sbin/ipchains -A input -d 192.168.0.0/255.255.255.0 -j ACCEPT
        /sbin/ipchains -P output DENY
        /sbin/ipchains -A output -s 90.0.0.0/255.255.255.0 -j ACCEPT
        /sbin/ipchains -A output -s 192.168.0.0/255.255.255.0 -j ACCEPT
        /sbin/ipchains -L

then add following line at /etc/rc.d/rc.local
        
        #added for MASQ
        /etc/rc.d/rc.local

Then restart all network services and execute /etc/rc.d/rc.local
It is assumed that u are running typical RH6.2 provided Kernel.

Do the same kind of things with the appropriate IP address in 192.168.0.0
network's gateway

regards
Archan Paul
Lateral Linux Labs
ICQ - 61737056
[EMAIL PROTECTED]

ps. If u still face problem, please make me know!!!

On Fri, 15 Sep 2000, you wrote:
> Hi everybody,
> 
> I have a machine running as a server for almost all my work. I have 2
> network cards. Both are emabled and woreking. I am using Red Hat 6.2
> (PCQuest, July2K)
> 
> The configuration for these is as under
> ;
> 
> eth0   192.168.1.200  Shakti.aeie_imp.rec.ori.nic.in
> (aeie_imp.rec.ori.nic.in is my domain I like this machine to work to DNS
> and NIS set\rver. NIS is working nicely)
> 
> eth1   90.0.0.228     Shakti.rec.ori.nic.in   (This is my gateway card
> connecting the lab to the college backbone / network)
> 
> Is this naming correct. I am able to ping to both networks. The only
> thing i am unablke to achieve is use IP Masquerading to connect from
> 192.168.1.x to 90.0.0.x network with this server.
> 
> I am also using this machine as aweb server. I am able to ccess the web

----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to