Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 18:07:40 +0200
From:      Claudio Eichenberger <ce@wks.ch>
To:        Joao Carlos <jcarlos@bahianet.com.br>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw natd dynamic ip needs two tries to connect
Message-ID:  <374ACAB0.41C67EA6@wks.ch>
References:  <Pine.BSF.3.96.990523134131.26114A-100000@postman.bahianet.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <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?374ACAB0.41C67EA6>