Please Help Me set up a RH8 router

My current setup
cable modem -----> eth1--rh8--eth0 ----->win xp 

Windows XP and RH8 can ping each other, but when eth0 is active on RH8 I
can not surf the internet with either RH8 or XP.  When eth0 is inactive I
CAN surf the internet with RH8, but of course cannot ping XP.  Whats
the deal?

What do I set the DNS on Windows to?
What do I set the Default Gateway on eth0 to? Remember eth1 is set by
DHCP.

My RH8 Settings
-----------------------------
eth1
-------
DHCP: up and working perfectly

eth0 
-------
ip address: 10.0.0.1 using rh gui tools (neat) 
Subnet Mask: 255.255.255.0
Default Gateway: (Blank)

Other Settings
--------------
*Turn on packet fwd. 
(edit /etc/sysctl.conf, to net.ipv4.ip_forward = 1) 

At shell, root:
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -A INPUT -i eth1 -m state --state NEW,INVALID -j DROP
iptables -A FORWARD -i eth1 -m state --state NEW,INVALID -j DROP
/sbin/service iptables save
*Restarted iptables
(coulnd't figure out the gui way so used command lines)
/etc/init.d/iptables stop
/etc/init.d/iptables start

Windows XP
----------------------------
IP: 10.0.0.2
Subnet Mask: 255.255.255.0
Default Gateway: 10.0.0.1
Preffered DNS: (Blank)
Alternate DNS: (Blank)

thanks to gh for previous help


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

Reply via email to