Date: Sun, 23 May 1999 13:48:13 -0300 (EST) From: Joao Carlos <jcarlos@bahianet.com.br> To: Claudio Eichenberger <ce@wks.ch> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw natd dynamic ip needs two tries to connect Message-ID: <Pine.BSF.3.96.990523134131.26114A-100000@postman.bahianet.com.br> In-Reply-To: <374826F7.41C67EA6@wks.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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. On Sun, 23 May 1999, Claudio Eichenberger wrote: > Date: Sun, 23 May 1999 18:04:07 +0200 > From: Claudio Eichenberger <ce@wks.ch> > To: Doug White <dwhite@resnet.uoregon.edu> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990523134131.26114A-100000>