From owner-freebsd-questions Tue May 25 9: 1:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from nty.ch (www.nty.ch [194.38.74.68]) by hub.freebsd.org (Postfix) with ESMTP id 456641574B for ; Tue, 25 May 1999 09:01:54 -0700 (PDT) (envelope-from ce@wks.ch) Received: from gamma.wks.ch (portmp007.worldcom.ch [195.119.116.7]) by nty.ch (8.9.1/8.9.1) with SMTP id SAA26171; Tue, 25 May 1999 18:01:39 GMT Message-ID: <374ACAB0.41C67EA6@wks.ch> Date: Tue, 25 May 1999 18:07:40 +0200 From: Claudio Eichenberger Organization: WKS Working Solutions GmbH X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: Joao Carlos Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw natd dynamic ip needs two tries to connect References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joao Carlos wrote: > > after connecting, pppd creates a default route to the remote ip address. > But the local ip address changes when you connect, so, the first packets > goes with the last ip address (not the actual, the ip address you got in > the last connection). This way, the first packets does not arrive back to > you. > if you can get a fixed ip address this can be solved, but if you > can't, try building a local name server. dns queries (i think) three times > before get an error message, so the first would do the pppd to open the > line, the second goes with the wrong ip address and the third goes > correct. > Don't forget to point your client to the local dns server. I think > this would help. Thanks for your help. Having it set up like this is fine for telnet and ftp but netscape 3.04 still hangs when the line is down and you click onto 'retrieve mail' or a link. You need to stop it, and click 'retrieve mail' again that it works. It is funny, when you set the option 'forward-only' for the DNS then a telnet or ftp may block for 15 seconds after the modem has established the line. It takes about 7 to 10 seconds without that option. BUT, we saw that the local DNS even quiries root servers ?! > > On Sun, 23 May 1999, Claudio Eichenberger wrote: > > > Date: Sun, 23 May 1999 18:04:07 +0200 > > From: Claudio Eichenberger > > To: Doug White > > Cc: freebsd-questions@FreeBSD.ORG > > Subject: Re: ipfw natd dynamic ip needs two tries to connect > > > > Doug White wrote: > > > > > > On Sat, 22 May 1999, Claudio Eichenberger wrote: > > > > > > > We connect our Intranet 10.0.0.# via a FreeBSD 2.2.7 machine which makes > > > > ipfw, natd to an ISP by ppp which dynamically attributes us an IP at > > > > every call we make. Everything works fine. There's just this small > > > > problem. e.g. > > > > > > > > % telnet an.internet.host #ppp opens the line > > > > > > > > nothing happens, you either stop the telnet and start a new one > > > > > > > > % telnet an.internet.host ^C > > > > % telnet an.internet.host #now it works, the connection will be > > > > established > > > > > > Sounds like DNS problems. Check your firewall rules. > > > > > > > Thanks for your rapid answer > > > > - The problem exists equally while using an IP instead of a hostname > > - The problem exists whether we use our firewall rules, or the 'open' > > version > > > > :Claudio http://www.wks.ch/ > > > > > Doug White > > > Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve > > > http://gladstone.uoregon.edu/~dwhite | www.freebsd.org > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message