On Fri, Nov 16, 2001 at 01:49:23AM +0700, AD Marshall wrote: > I was just wondering if either (or both ;) of you could share some > of your ppp config' files or scripts with me. Backchannel is fine.
I'll send you a mail off-list later. It will probably be tomorrow morning before I can, though. > I've no problems with the MTUs matching, at 1500, between ppp0 and > eth0, so far -- though i'm not really clear on how this causes IP > fragmentation... a digression for me. I didn't realize I had this problem for a while. If you can get to certain websites from your gateway machine, but not from the internal MASQed machines, you've probably got the fragmentation problem. A couple of sites that always gave me trouble were http://www.staples.com http://www.faqs.org My understanding (and I'm no expert, so I could be wrong here) is that the problem with fragmented packets comes when the remote machine blocks all ICMP messages. ICMP messages are supposed to be used to tell your machine to drop the MTU, but that can't happen because they can't get through. The result is that you just sit there waiting for a response that never comes. Something like that... :) > I've already got IP-Masquerading set up to share my modem-link with > my workstations via my RH7.1 box (with the iptables commands now > in /etc/rc.d/rc.local and starting on bootup, thanks to Ben). Do you have a static IP? I had to put a call to my firewall (and IP-MASQ rules) in /etc/ppp/ip-up.local because I need to get my dynamic IP each time I connect. > And i've tried Glenn's earlier advice to someone else, re. dial-on- > demand (DOD), ie, adding to /etc/sysconfig/network-scripts/ifcfg-ppp0: > demand=yes > idle=600 > though left unchanged the idle line to "IDLETIMEOUT=600", assuming > it a new version since RH7.1 set that as default. > > But i still have not been able to get D0D to execute. I still have > to use wvdial or kppp instead. I can't help much there as I don't use DOD. I did have it working a time or two though, and it seems like you have to specify some extra options (in addition to 'demand' and 'idle') in the ifcfg-ppp0 file. Seems like you've got to give it your ISP's IP addr--I can't remember. I think you also have to run 'ifup ppp?' to start pppd, so that it can listen for traffic. Does the PPP-Howto have anything to say about DOD? I never could quite get DOD to do what I wanted because there was always something bringing the link up when I didn't want it to. I run named and several other servers on my LAN, including Apache. Quite often, I or one of my users will load Netscape to look at a local document, and Netscape tries to connect to its home causing the link to come up. That kind of thing was always happening, so I disabled DOD. You might also be interested in diald. I can't remember the url, but I'm sure it's listed at freshmeat. I wrote a set of tcl scripts that take care of the ppp link for me. A server runs on the gateway machine and receives requests for connects from clients on all machines. It keeps a list of who has requested a connection from which machine, and that way no one disconnects anyone else accidentally. (No more yelling "Can I (dis)connect" accross the house. :) Regards, Ben -- Ben Logan: blogan at newcreature dot org OpenPGP Key KeyID: A1ADD1F0 _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list