From owner-freebsd-questions Thu Mar 28 8:31:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.mailbox.net.uk (smtp.mailbox.co.uk [195.82.125.32]) by hub.freebsd.org (Postfix) with ESMTP id D578E37B430 for ; Thu, 28 Mar 2002 08:30:46 -0800 (PST) Received: from [212.18.235.141] (helo=sjmobile) by smtp.mailbox.net.uk with smtp (Exim 3.22 #2) id 16qcnW-0002Sk-00; Thu, 28 Mar 2002 16:30:46 +0000 Message-ID: <003d01c1d676$111728e0$0a00000a@stjames.net> From: "Martyn Hill" To: "Samuel Chow" , "FreeBSD-questions" References: <001e01c1d672$0b46f520$0a00000a@stjames.net> <02b701c1d674$ffcd9ca0$2784412f@ca.nortel.com> Subject: Re: Cable-modem, dynamic IP, NAT and IPFW Date: Thu, 28 Mar 2002 16:31:51 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Samuel Thank you. The light is beginning to dawn. I'll try out your suggestions once home... Martyn. ----- Original Message ----- From: "Samuel Chow" To: "Martyn Hill" Cc: "FreeBSD-questions" Sent: Thursday, March 28, 2002 4:24 PM Subject: Re: Cable-modem, dynamic IP, NAT and IPFW > > > Where the FreeBSD box is acting as a gateway for a private LAN, I > > assume I must then implement NATD for NAT, as opposed to PPP NAT? > > Correct. > > > As the external NIC will at some time be re-assigned its IP etc, > > including its default route, is it the case that dhclient will > > take care of this, allowing uninterrupted access to the Internet > > from inside the private LAN? > > You need the -dynamic flag to natd if your IP address can > change. The routing is handled by dhclient. > > > I've noted that some published configurations use dhclient-scripts > > that do some additional configuration upon a renewed DHCP lease. > > Will this be necessary? > > It depends on what you want. I don't do any. However, > if you want to send a signal to some processes, possibly. > > --- > Samuel Chow > cyschow@shaw.ca > > This message is displayed using recycled electrons. > Segmentation Fault (core dumped) > > > > > 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