-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I think you need to recompile the kernel with IP_FORWARDING enabled.
Butch At 14:53 -0600 on 1/2/98, [EMAIL PROTECTED] wrote: > I have encountered a strange problem with dialing out on PPP, and it is >really bugging me now. > > I have got a slightly adnormal server running. This is what it looks like. > > I have got a local network running on and arcnet card whos address is >192.168.0.1, This works I and doesn't seem to stop working. I also have a >hacked DNS server for my dial-up users which gets shut off when I go >online. > > The problem is I can connect to my server and everything looks 100% >except for the fact I can't do anything on the Internet. > > When I have connected and type in ifconfig this is what I am given : > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 > UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 > RX packets:52 errors:0 dropped:0 overruns:0 > TX packets:52 errors:0 dropped:0 overruns:0 > > arc0 Link encap:1.5Mbps ARCnet HWaddr 50 > inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 > IPX/Ethernet 802.3 addr:00000123:000000000050 > UP BROADCAST RUNNING MTU:1500 Metric:1 > RX packets:140 errors:0 dropped:0 overruns:0 > TX packets:218 errors:0 dropped:0 overruns:0 > Interrupt:5 Base address:0x260 Memory:d1000-d17ff > > ppp0 Link encap:Point-Point Protocol > inet addr:196.25.198.23 P-t-P:196.25.198.2 Mask:255.255.255.0 > UP POINTOPOINT RUNNING MTU:1500 Metric:1 > RX packets:11 errors:1 dropped:1 overruns:0 > TX packets:37 errors:0 dropped:0 overruns:0 > > This looks normal except for the ppp errors in which there is only one. > > If I do a route -n this is what I am given : > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 196.25.198.2 0.0.0.0 255.255.255.255 UH 0 0 1 ppp0 > 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 2 arc0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 4 lo > 0.0.0.0 196.25.198.2 0.0.0.0 UG 0 0 1 ppp0 > > This also looks right. > > Now for some init files... > > My /etc/init.d/network file : > > #!/bin/sh > ifconfig lo 127.0.0.1 > route add -net 127.0.0.0 > IPADDR=192.168.0.1 > NETMASK=255.255.255.0 > NETWORK=192.168.0.0 > BROADCAST=192.168.0.255 > GATEWAY=none > ifconfig arc0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} > route add -net ${NETWORK} > route add default gw ${GATEWAY} metric 1 > > This as far as I can see is default unless something has changed without >me noticing. > > My /etc/hosts file : > > 127.0.0.1 localhost > 0.0.0.0 ptest > 192.168.0.1 progtest.alt.za progtest > > My /etc/networks file : > > loopback 127.0.0.1 > localnet 0.0.0.0 > alt.za 192.168.0.0 > > If anyone can shead some light on this I would be very happy. This has >been bugging me for the past two months. > > Thanks, > Robert. > > --- > +-----------------------------------------------+ > | Robert Moody Sysop of Programmer's Test BBS. | > | Running well on Debian ver 1.2 Kernel 2.0.27 | > | http://www.zsd.co.za/~ptest/ | > | e-mail: [EMAIL PROTECTED] | > +-----------------------------------------------+ > > > > > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > [EMAIL PROTECTED] . > Trouble? e-mail to [EMAIL PROTECTED] . Butch Kemper | Free sound advice available Kemper & Associates Consulting Group | "95% sound and 5% advice" 409-361-2324 | Refunds cheerfully provided -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.5.3 for non-commercial use <http://www.pgp.com> iQA/AwUBNLBMBihIHyLj1QScEQLoOACg1lS+N6NaH8bFDc6Y9JgtlgWTeSIAn1uJ TUIxrfxX53I1VEroJOvDnWrh =QL2m -----END PGP SIGNATURE----- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .