well, i have redhat 9 with eth1 192.168.1.1 and eth0 with 62.65.xxx.xxx (DHCP). i connect winXP to eth1 and give it the IP 192.168.1.2 and gw 192.168.1.1 m'kay. the two machines see each-other and ping and everything is fine. but the winXP can't see the outside world. how do i set up the routing?
eth0 Link encap:Ethernet HWaddr **:**:**:**:**:**
inet addr:62.65.***.*** Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:348997 errors:0 dropped:0 overruns:0 frame:0
TX packets:6509 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:25272053 (24.1 Mb) TX bytes:699633 (683.2 Kb)
Interrupt:10 Base address:0x5000
eth1 Link encap:Ethernet HWaddr **:**:**:**:**:**
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2595 errors:0 dropped:0 overruns:0 frame:0
TX packets:2250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:192133 (187.6 Kb) TX bytes:455390 (444.7 Kb)
Interrupt:11 Base address:0xd000
Code:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
62.65.233.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 62.65.233.1 0.0.0.0 UG 0 0 0 eth0
just for case tryed with stopped iptables too but no luck.