On Friday 29 August 2003 00:38, [EMAIL PROTECTED] wrote: > I have a > -------------- > cable modem > Windows XP Machine > Redhat Linux 8 machine with 2 ethernet cards > > The linux machine is fully functioning and can surf the internet > The Windows XP machine is connected via a crossover ethernet cable to the > Windows XP machine and appears to have some connection
Is this: cable modem -----> eth1--rh8--eth0 ----->win xp what you mean? If so: *Assign a static ip address to both your eth0 (which does not seem to have one as per below), say 10.0.0.1 using rh gui tools, and your win xp, say 10.0.0.2. (No heed for a DHCP server now, but it may come in handy when adding a switch behind eth0 and more win or linux clients) *Turn on packet fwd. (edit /etc/sysctl.conf, to net.ipv4.ip_forward = 1) *Assuming you are using iptables and not ipchains: 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 *Restart iptables using rh gui tools Hope that helps gh > [EMAIL PROTECTED] qmail]# ifconfig > eth0 Link encap:Ethernet HWaddr 00:E0:29:7E:D2:63 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:240 errors:0 dropped:0 overruns:0 frame:0 > TX packets:55 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:51986 (50.7 Kb) TX bytes:18810 (18.3 Kb) > Interrupt:10 Base address:0xec00 > > eth1 Link encap:Ethernet HWaddr 00:30:BD:28:E1:18 > inet addr:68.58.115.219 Bcast:68.58.115.255 Mask:255.255.252.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:446796 errors:0 dropped:0 overruns:0 frame:0 > TX packets:143003 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:341674750 (325.8 Mb) TX bytes:10154437 (9.6 Mb) > Interrupt:12 Base address:0x1f00 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list