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 3CA501389FE for ; Fri, 31 Oct 2014 11:09:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BA51E08C0; Fri, 31 Oct 2014 11:09:10 +0000 (UTC) Received: from mail-qa0-f49.google.com (mail-qa0-f49.google.com [209.85.216.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51604E0833 for ; Fri, 31 Oct 2014 11:09:09 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id i13so4972370qae.8 for ; Fri, 31 Oct 2014 04:09:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=207JM2Ahr3lgRDlQt9bbKL+c6mKDHGiWs20W8b/xGNM=; b=w/8Jc40KG/SG7MkR21ddOpEB9BMjhEWdC9OQGKg6A0rhuOK4ULLS9NcUr4KFZyivC1 8/tc2W8mSXmBgCMYDzH6UV+JRi6zFcislsD8aWYI8uC3TyQuWuPN5R/Kjo+9yDRvEr5S OdSNE62qYNlHYor3OqpezFQ1DT9Z7xKnCy85FvWQcWaQynlNto6p7k+zGh6Zz/estySs tVcBZmCXkBDXLH/4J8La5+QATUNW2qrZYNNfJUV9KcJ+5gz3vcXWZlyhUBwcvhC8frpn sISEE/qhCyCgeSkNPLflIuBrforJNsu/pwPqPAsIuNXufkmzTS3n7umd5V3Vp7yzvsIk QyLQ== 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 X-Received: by 10.224.130.198 with SMTP id u6mr34832796qas.99.1414753748480; Fri, 31 Oct 2014 04:09:08 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.140.102.134 with HTTP; Fri, 31 Oct 2014 04:09:08 -0700 (PDT) In-Reply-To: <20141031114750.19783056@marcec.fritz.box> References: <20141028004458.16d1bbbc@marcec.fritz.box> <201410281628.46275.michaelkintzios@gmail.com> <20141028193156.7b55437b@marcec.fritz.box> <1639884.UKlFl08jV7@andromeda> <20141031114750.19783056@marcec.fritz.box> Date: Fri, 31 Oct 2014 07:09:08 -0400 X-Google-Sender-Auth: ujlBWBHyoGJce1eMi_s3621ryXo Message-ID: Subject: Re: [gentoo-user] Strange behaviour of dhcpcd From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: ae3da167-bc6c-4436-85f6-cb32bbb328ce X-Archives-Hash: e6049570693b533f6c252fccacade9e6 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. At 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 they even >> offer it) > > That's what I thought :) . > 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. 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. 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. 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. -- Rich