Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 1998 11:36:24 +0200
From:      Arve Ronning <arve.ronning@alcatel.no>
To:        freebsd-isdn@FreeBSD.ORG
Cc:        Heiko Schaefer <hschaefer@fto.de>
Subject:   Re: succeeded !
Message-ID:  <3584EB18.6B43F148@alcatel.no>
References:  <Pine.BSF.3.96.980614212747.14892A-100000@spock.spacequest.hs>

next in thread | previous in thread | raw e-mail | index | archive | help
Heiko Schaefer wrote:
> my best regards and thanks to the authors of i4b - the package is great!
ditto!
> 
[snip]
> right now i'm still a bit puzzled about [....], and why natd doesnt know what
> to do when i dial up again and get a new ip (even though i started it with
> -dynamic)... but i think that will sort itself out eventually :-)
> 
Natd -dynamic in cooperation with sppp doesn't work the way people seem
to think. Natd -dynamic opens a routing socket and waits for a routing message
which is assumed to arrive when the interface gets a new IP-address.
However, sppp doesn't supply a routing message for natd when the IP-address is
changed during ppp address negotiation.

The result is that the interface IP-address stored in natd doesn't get updated
after a redial.

However, (as always in the unix world:) there is a way around this problem.
I use a script which does a kill -HUP on natd when i4b comes up after a
(re)dial. This forces natd to (re)read the interface IP-address. The script
is executed by isdnd.

I don't have the details here (at work). If you are interested, I'll check the
setup (at home).

  -Arve


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3584EB18.6B43F148>