On Tue, 25 Feb 2003, Larry Brown wrote:

> echo "1" >/proc/sys/net/ipv4/ip_forward
>
> turns on forwarding.  As for the Smoothwall, I've never used it before.
> >From just looking at their site they appear to have built it on RH.  If so
> and you have access to the console, redhat's route on the Smoothwall box
> would be...
>
> route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.100

Thanks for the help. I removed shorewall, and did as you said, and now the
two networks are connected. However, the 192.168.1 network is still unable
to access internet. Even the redhat box, which was able to before, gets a
"connect: Network is unreachable" error when trying to ping an address on
the internet (I've tried pinging IP-addresses, so it's not a DNS problem).

Does anybody know what the problem is? Below are the routing tables for
the two machines.


*Output from route on the redhat box (192.168.0.10/192.168.1.10):
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
192.168.0.0     *               255.255.0.0     U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo

*Output from route on the smoothwall box (192.168.0.1):
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
ti500720a080-l1 *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     krokodille.com  255.255.255.0   UG    0      0        0 eth0
1.1.1.0         *               255.255.255.0   U     0      0        0 eth1
192.168.0.0     *               255.255.0.0     U     0      0        0 eth0
default         ti500720a080-l1 0.0.0.0         UG    0      0        0 ppp0

(krokodille.com is the redhat box)



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to