On Sat, 2003-08-30 at 08:32, Jonathan Michael Nowacki wrote:
> Please Help Me set up a RH8 router
> 
> My current setup
> cable modem -----> eth1--rh8--eth0 ----->win xp 

Setup no gateway on the eth0 (you can directly edit the
/etc/sysconfig/network-scripts/ifcfg-eth0 and remove it) - then setup
the WinXP box with a gateway address reflecting the IP of the eth0 on
the RH8 box; then you can use IP tables to enable NAT:

echo "1" > /proc/sys/net/ipv4/if_forward
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE


Use the IP address of the eth0 on the RH8 box as your primary DNS server
for WinXP; and for the RH8 box, use the DNS that your ISP uses.

-- 
Sat Aug 30 08:45:00 EST 2003
 08:45:00 up 4 days, 22:31,  3 users,  load average: 0.90, 1.00, 0.99
-----------------------------------------------------------------
|            __    __          | illawarra computer services    |
|           /-oo /| |'-.       | http://kma.0catch.com          |
|          .\__/ || |   |      |================================|
|       _ /  `._ \|_|_.-'      | stephen kuhn                   |
|      | /  \__.`=._) (_       | email: [EMAIL PROTECTED] |
-----------------------------------------------------------------
  linux user #:267497 linux machine #:194239 * MDK 9.1+ & RH 9  
      Mandrake Linux Kernel 2.4.21-13mdk Cooker for i586
-----------------------------------------------------------------
 * This message was composed on a 100% Microsoft free computer *

Bishops move diagonally. That's why they often turn up where the kings don't
expect them to be.
(Small Gods)


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

Reply via email to