/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! /* ALSO: Don't quote this header. It makes you look lame :-) */ Thank you so much for responding! I went back over everything and discovered that amoung all the tests and changes I had commented out the default route line, which apparently caused some issues. I reinstated it and rebooted the machine, now I can't seem to make it past test 1. I can ping 198.162.0.1(Windows NIC) from the linux, and I can ping 198.162.0.2 (Linux) from the WinNT, I can even ping my DHCP Linux PPP modem connections' IP address from the WinNT box. But I can't ping anything else, including internet addresses, from either machine. I've included the following files, I've been stareing at these and changing them until I'm crosseyed, maybe I just am overlooking the obvious? -------------- ifconfig output -------------- eth0 Link encap:Ethernet HWaddr 00:40:05:A1:74:5F inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:87 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:5 Base address:0x240 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:45 errors:0 dropped:0 overruns:0 frame:0 TX packets:45 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 ppp0 Link encap:Point-to-Point Protocol inet addr:165.247.148.140 P-t-P:168.121.1.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1514 Metric:1 RX packets:11 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 -------------- /etc/init.d/network -------------- #! /bin/sh insmod ne io=0x240 irq=5 ifconfig lo 127.0.0.1 route add -host 127.0.0.1 lo ifconfig eth0 192.168.0.2 netmask 255.255.255.0 route add default gw 192.168.0.2 ipchains -P forward DENY ipchains -A forward -s 192.168.0.0/24 -i pp0 -j MASQ echo 1 > /proc/sys/net/ipv4/ip_forward -------------- netstat -rn output -------------- Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 168.121.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.0.2 0.0.0.0 UG 0 0 0 eth0 Thank you so much for your help! Rusty -----Original Message----- From: Rusty Kroboth [mailto:[EMAIL PROTECTED]] Sent: Friday, September 22, 2000 12:34 AM To: [EMAIL PROTECTED] Subject: question I have two machines on a LAN, the Debian/GNU Linux 2.2.12 NIC card is 198.162.0.2 and the Windows NT box' NIC is 198.162.0.1. The Linux box has a dhcp ppp dial-up connection that I want to use to access the internet for both boxes. I followed the steps very carefully on the web page. The only thing that didn't work was this line: echo "1" > /proc/sys/net/ipv4/ip_always_defrag because that file doesn't exist on my linux system. I was able to complete all the tests listed up to and including test 5.4 on the site (ping the ppp modem's dynamically assigned ip address from the Windows NT box.) But I could not complete test 5.5 (ping any address outside on the internet from the Windows NT box.) Here is the output of my netstat -r command: Destination/Gateway/Genmask/Flags/MSS/Window/irtt/Iface localhost * 255.255.255.255 UH 0 0 0 lo localnet * 255.255.255.0 U 0 0 0 eth0 Is there something I am missing? Thank you very much for any feedback! Rusty _______________________________________________ Masq maillist - [EMAIL PROTECTED] Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES UNSUBSCRIBING! or email to [EMAIL PROTECTED] PLEASE read the HOWTO and search the archives before posting. You can start your search at http://www.indyramp.com/masq/ Please keep general linux/unix/pc/internet questions off the list.
