From owner-freebsd-questions Thu Mar 28 8:26: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from samuelstn.dhs.org (h24-64-81-248.cg.shawcable.net [24.64.81.248]) by hub.freebsd.org (Postfix) with SMTP id 30E9637B41C for ; Thu, 28 Mar 2002 08:25:59 -0800 (PST) Received: (qmail 20788 invoked from network); 28 Mar 2002 16:25:57 -0000 Received: from firewall (HELO SAMCHOW1.ca.nortel.com) (192.168.1.1) by homeserver with SMTP; 28 Mar 2002 16:25:57 -0000 Message-ID: <02b701c1d674$ffcd9ca0$2784412f@ca.nortel.com> From: "Samuel Chow" To: "Martyn Hill" Cc: "FreeBSD-questions" References: <001e01c1d672$0b46f520$0a00000a@stjames.net> Subject: Re: Cable-modem, dynamic IP, NAT and IPFW Date: Thu, 28 Mar 2002 09:24:13 -0700 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 > 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