From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C2D7E1389FE for ; Fri, 31 Oct 2014 14:53:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30067E08D0; Fri, 31 Oct 2014 14:52:57 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7C86E086B for ; Fri, 31 Oct 2014 14:52:55 +0000 (UTC) Received: from marcec.fritz.box ([93.181.44.4]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LrvWY-1YDH3I17mw-013dS9 for ; Fri, 31 Oct 2014 15:52:54 +0100 Date: Fri, 31 Oct 2014 15:52:39 +0100 From: Marc Joliet To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Strange behaviour of dhcpcd Message-ID: <20141031155239.7f37fd3b@marcec.fritz.box> In-Reply-To: References: <20141028004458.16d1bbbc@marcec.fritz.box> <201410281628.46275.michaelkintzios@gmail.com> <20141028193156.7b55437b@marcec.fritz.box> <1639884.UKlFl08jV7@andromeda> <20141031114750.19783056@marcec.fritz.box> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.24; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/3t8kr+QFy1O=IOUd._lxQX+"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:H5GahtrcF3Z3pQ9SqllIb+A2e912rlMMFb7loEVtFoHA36cnBSC syrHa8WSEB/VOGd0rkdzxP0A0twj79gzkI5wo3IBBbeRCZM6vMnrFu8EtqAAZKWqnC+iVf6 Gr3eNfPx3vy64gsYRWzIMC1xvFSOV8Gz7Derrw6NGSDeZmy75/mljSwU8xCiJwJiOGp5eTF iaAGDZYh+N/JaqBTtszGQ== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: 4bd09b5e-678b-4103-9b5d-474817940f47 X-Archives-Hash: cfa6ea964ef7e85629f7120173b66926 --Sig_/3t8kr+QFy1O=IOUd._lxQX+ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Fri, 31 Oct 2014 07:09:08 -0400 schrieb Rich Freeman : > On Fri, Oct 31, 2014 at 6:47 AM, Marc Joliet wrote: > > Am Fri, 31 Oct 2014 07:52:54 +0100 > > schrieb "J. Roeleveld" : > >> On Tuesday, October 28, 2014 07:31:56 PM Marc Joliet wrote: > >> > > >> > - I don't know whether we have an IP block or not; I suspect not. A= t the > >> > very least, we didn't make special arrangements to try and get one. > >> > >> Then assume not. Most, if not all, ISPs charge extra for this. (If the= y even > >> offer it) > > > > That's what I thought :) . > > >=20 > Generally speaking you can't just attach a modem to your LAN and have > it act as a DHCP server. Your ISP probably will assign you dynamic > IPs, but they will not as a matter of policy assign you more than one > unless you pay for them. IPv4 address space is in short supply these > days. >=20 > I'm using FIOS and in my case the "modem" is in a box in the basement > and the ISP provides a router with the service. Whatever you plug > into the "modem" will obtain a DHCP lease for one routable IP. If you > do plug more than one device into the "modem" then the first device to > get the IP is the only one that will get an IP - the modem won't hand > out another unless it gets a DHCPRelease from the MAC that was issued > the original lease or until that lease expires, or until you call up > the ISP on the phone and get them to release it manually. >=20 > Another design would be to issue a new IP anytime a device asks for > one, but to silently cancel the lease of the last IP that was issued > and drop packets using it. For a single device being plugged in that > won't have any impact, and if for some reason you buy a new router and > plug it in you don't have to worry about your old router still having > a lease. This is less standards-compliant, but perhaps more > clueless-friendly. >=20 > In general, though, you really shouldn't be plugging your ISP's modem > into anything but a router for general use. In fact, I have the > router provided by my ISP configured as a bridge and running into > another router (FIOS uses MoCA over coax in the standard install and > I'm too lazy to run CatV and beg Verizon to reconfigure the modem to > use the RJ45 connection instead). Note that if you use an > ISP-provided router there is a good chance that they can essentially > VPN into your LAN. The last time I called up Verizon over a cablecard > issue they helpfully turned on DHCP on my router so that it started > competing with my DHCP server, and then I was wondering why PXE was > randomly failing. Now all they can do is disable bridge mode, which > will break my external connection and be a fairly obvious point to > troubleshoot. Right, thanks for the explanation :) . Thankfully, our ISP only gave us the modem (though they also offer modems w= ith WLAN for 5=E2=82=AC a monthg :-/ ). The router we bought off eBay ourselves= :) . --=20 Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup --Sig_/3t8kr+QFy1O=IOUd._lxQX+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUU6JEAAoJEL/Q5oYsiHj0rwwQAJaqEyAYhs3+tp9zL+cDyAuq ToXpz2Q41GaJSEQdiGtkFLslUQrHO3A8mpxkVyxlROuJ82M1c2EEPrAvJAP+BKqD fTtgBjlDeQlZjQ8a+eYvMmgpIxxxgclNBcxzl6kBTDx2IQaOj+fqhc6qTEEk+uOj xgEXSXoE2Uo2geC/cWWbbPFSusqONf2aCh9b2ry7GQj6TE70Mf5/xtTU9Zc/CxVa 63UKf6kqrNGYdJw/6AHWL5gY6/obMhtnprDuOY/Ql2tLsV60MvmUtdGTd7dpLHeo 3rORxj+oTL1A2D6Nzmm/ShU5LQEqaA7UtWoxahc3hFGpxgiprXUEigiBlx8MZvzi pKQxoREfOrgtHY8nItgtosOjEIT+n96g//Qrct5IgeQv5m68Jbk2DDw2oEkWLuC/ KFKKqO0OsFnyAracFSEH9ymTWA5vgsqHuOPkyBtY1hCnNFhfjK0pGX4tLX8Qo0PH EGSIh7VnWebshsG0RinDa4mPGoochpT13/svHArZhBeWgeQIGazhPj5/4npygO80 INKsx2co2e6dH0tIwBfWINkJLT5b9DdwlCcnSJ3SNpUIfK1pnECax3Wgxuo+ubsY 91lfHTVwf6rmslHKTe6NvolNVSqJdKeqt/DSvBwftasrWZ4s7V5vvfllMDztOYLM /SOAXZtDlLC4zPTOiMd9 =/Z4M -----END PGP SIGNATURE----- --Sig_/3t8kr+QFy1O=IOUd._lxQX+--