Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 11:34:42 -0400
From:      Louis LeBlanc <leblanc+freebsd@acadia.ne.mediaone.net>
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>
In-Reply-To: <200109261325.f8QDPe922234@c1828785-a.saltlk1.ut.home.com>
References:  <3.0.5.32.20010926000700.007ad100@widomaker.com> <20010926110938.VAVP28038.mail1.home.nl@there> <200109261325.f8QDPe922234@c1828785-a.saltlk1.ut.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010926113441.B12931>