From owner-freebsd-questions Wed Sep 26 8:34: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by hub.freebsd.org (Postfix) with ESMTP id 16F3037B401 for ; Wed, 26 Sep 2001 08:34:02 -0700 (PDT) Received: from leblanc.mirrorimage.net (leblanc.mirrorimage.net [209.192.210.146]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id LAA06626 for ; Wed, 26 Sep 2001 11:34:01 -0400 Received: (from leblanc@localhost) by leblanc.mirrorimage.net (8.11.5/8.11.4) id f8QFYgD13014; Wed, 26 Sep 2001 11:34:42 -0400 (EDT) (envelope-from leblanc) Date: Wed, 26 Sep 2001 11:34:42 -0400 From: Louis LeBlanc To: freebsd-questions@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: dhcp & cable, @home (help me fight the MS monopoly) Message-ID: <20010926113441.B12931@acadia.ne.mediaone.net> Reply-To: freebsd-questions@FreeBSD.ORG Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <3.0.5.32.20010926000700.007ad100@widomaker.com> <20010926110938.VAVP28038.mail1.home.nl@there> <200109261325.f8QDPe922234@c1828785-a.saltlk1.ut.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200109261325.f8QDPe922234@c1828785-a.saltlk1.ut.home.com> User-Agent: Mutt/1.3.22.1i X-bright-idea: Lets abolish HTML mail! 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 On 09/26/01 07:25 AM, Mike Porter sat at the `puter and typed: > On Wednesday 26 September 2001 05:09 am, Danny Pansters wrote: > > . . . > > Definitely. I've been using it for nearly a year now. In that time they > have changed IP's on me three times. My solution, since I'm too lazy to edit > my dhclient script, and the changes are fairly rare, and I have my computer > set up to dual-boot, is simply to boot windows, run winipconfig and see what > data has changed, then boot back to FBSD, and change the appropriate stuff. > (including my firewall config. sigh). The only downside I have noticed from > this approach is that when they DO change my IP, they also change their > routing tables, so I find myself suddenly unable to connect, even though the > modem indicates full connectivity. So as long as they don't just switch IPs > with someone else in my local net range, it won't confuse the system too > badly. I think one thing that they do is check if the IP is in use on a > local net before reassigning it. Since I usually leave my computer on all > the time (in BSD <(}: not in windows on cable ) my IP is always reporting > "in use" so unless they change the whole IP map (as I said, they have done it > to me three times in a little over a year, changing from a 24.x.x.x address > to a 65.x.x.x address and back again.) it will never reassign away from me. This seems the hard way. I am in the process (a long one, unfortunately) of switching from a RH6.2 system to a FreeBSD system on my cable modem with AT&T Broadband. The DHCP thing is one of my holdups. I know that with dhcpcd distributed with Linux (not pump) it is easy to get a script executed every time you get a lease/renewal from the server. Why wouldn't the FreeBSD dhcp client do the same thing? This would allow you to reset your firewall automatically. If I care to, I can get my Linux box to play a sound file, send an email, or ping another system, or whatever, anytime I get a lease or renewal from the dhcp server. Of course, I really only have the firewall reset and a modification to the /etc/hosts file so I can just look there for my IP. Any other behavior kinda rubs against the 'dynamic' in dhcp :) You shouldn't have to do anything. That's the point. And saying that this service or that one doesn't work with FreeBSD, or Linux, or Joe's_Favorite_OS, is bull. The DHCP protocol is pretty well defined, and it is unlikely they are running a server that doesn't comply. So as long as the FreeBSD client complies, it is *only* a matter of configuration. My only issue is finding the mechanism to reset the firewall when I get a lease and fix the IP in /etc/hosts. Once I do that, the Linux box gets retired. Just my $0.02. Lou -- Louis LeBlanc leblanc@acadia.ne.mediaone.net Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://acadia.ne.mediaone.net ԿԬ millihelen, n.: The amount of beauty required to launch one ship. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message