Hi guys.

I have a RH 7.1 box running which I intended to use as a firewall and router 
for the families's windows boxes with an ADSL connection through an external 
Zyxel Prestige 645 modem.

For testing I got the ADSL connection up and running and from that machine I 
can connect to the Internet and everything is ok.

Now the RH box has two nics's. Eth0 (10.0.0.132/16)is connected to the modem 
and eth1 (192.168.1.254/24) is connected to the lan. Running 'netstat -rn' 
gives this output:

root@vesturgate /root]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags MSS Window irtt Iface
157.157.56.1    0.0.0.0         255.255.255.255 UH 40 0 0 ppp0
192.168.1.0             0.0.0.0         255.255.255.0   U 40 0 0 eth0
10.0.0.0                0.0.0.0         255.255.0.0     U 40 0 0 eth1
127.0.0.0               0.0.0.0         255.0.0.0               U 40 0 0 lo
0.0.0.0                 157.157.56.1 0.0.0.0            UG 40 0 0 ppp0

and I ran the command 'echo "1" > /proc/sys/net/ipv4/ip_forward'

The win98 machine (192.168.1.135/24) I configured with the eth0 address as 
default gateway and for the dns I used the addresses from my ISP, the same 
as in the '/etc/resolv.conf' file on the RH box.

The routing table on the win98 box looks like this:

Network Address Netmask Gateway Address         Interface       Metric
0.0.0.0         0.0.0.0         192.168.1.254   192.168.1.135   1
127.0.0.0       255.0.0.0       127.0.0.1               127.0.0.1               1
192.168.1.0     255.255.255.0192.168.1.135      192.168.1.135   1
192.168.1.135 255.255.255.255 127.0.0.1 127.0.0.1               1
192.168.1.255-255.255.255.255   192.168.1.135-192.168.1.135     1
224.0.0.0       224.0.0.0       192.168.1.135   192.168.1.135   1
255.255.255.255 255.255.255.255 192.168.1.135-0.0.0.0   1

Now comes my problem. When I try to ping the outside world from the win98 
box I get the 'unknown hosts' message. When I try to ping the DNS addresses 
I get the 'request timed out' message.

IPTABLES have not been configured yet, the RH box is wide open both ways (I 
think).

Any suggestions?
Thanks in advance,
brgds,
Ragnar W.


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



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

Reply via email to