Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202012

Re: [SOLVED] Re: Migrating Debian installation to a new motherboard

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: [SOLVED] Re: Migrating Debian installation to a new motherboard
Date 2018-11-03 07:10 +0100
Message-ID <wPXi9-75p-3@gated-at.bofh.it> (permalink)
References (6 earlier) <wPya5-8y-1@gated-at.bofh.it> <wPFuV-4xi-17@gated-at.bofh.it> <wPSVb-4hn-1@gated-at.bofh.it> <wPUDD-5qs-1@gated-at.bofh.it> <wPVgl-5D6-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/2/18 8:49 PM, David Wright wrote:
> On Fri 02 Nov 2018 at 20:11:03 (-0700), David Christensen wrote:
>> On 11/2/18 6:24 PM, David Wright wrote:
>>> On Fri 02 Nov 2018 at 07:05:16 (-0400), Michael Stone wrote:
>>>> On Thu, Nov 01, 2018 at 10:12:36PM -0500, David Wright wrote:
>>>>> BTW in a network set up like my own, the place where the MAC would be
>>>>> relevant is in the DHCP server (here, the router) because that is how
>>>>> the IP number is assigned. An unassigned MAC will get given an IP
>>>>> address 192.168.1.200+, and it will conect to the Internet, but other
>>>>> machines on the LAN would not recognise it. (Although the router can
>>>>> hand out IP numbers, it doesn't run a nameserver.)
>>>>
>>>> If you do something strange on your network, the assumption is that
>>>> you're responsible for updating it for new machines. It's not
>>>> something that needs to be in a general guide.
>>>
>>> I agree with that sentiment. But what is strange about my setup?
>>> Perhaps you can help me find a less idiosyncratic way.
>>>
>>> Condition #1: All devices at home must be addressable by name.
>>> Condition #2: Several devices cannot have a static IP address assigned.
>>> For example, this PC is 192.168.1.17 at home. Currently it is 172.20.5.105;
>>> last night it was 10.0.27.15.
>>>
>>> So at home, all the IP addresses are assigned by the router using the
>>> devices' MACs. The computers use /etc/hosts to look up other devices.
>>> The non-"computers" use the router's IP address for their configuration.
>>>
>>> What would you change?
>>
>> Buy or build a router with a caching name server that integrates with
>> the DHCP server.  Configure the LAN devices to use DHCP.  Set DHCP
>> fixed leases on the router for devices that require a static IP.
> 
> You misunderstood my question. I'm meant to have done something
> "strange" with my network and wanted to know how to "rectify" the
> situation, not how to throw cash at it.
> 
> BTW all the devices are currently configured using DHCP; that's what
> I meant by "assigned by the router".

What is strange is that your router does not have a caching name server 
that integrates with the DHCP server.  This is a common and useful 
feature.  Not having it forces work-around's like putting LAN host IP's 
into the /etc/hosts files of every other LAN host, which is a PITA to 
maintain.  Alternatively, implement your own integrated DHCP server and 
caching DNS server.


Low-cost solutions include:

1.  Router appliance -- re-flashing the firmware with a FOSS firmware 
distribution like DD-WRT.

2.  Home-brew router using a PC -- installing a second NIC and a Linux 
or BSD router distribution like IPCop or pfSense.


I tried the former on an older Netgear device and it worked.  But when I 
later tried to flash an upgrade, I bricked it.


I ran home-brew PC routers for years.  This approach gives you the most 
control, and pfSense rocks.  But, I burned up a lot of energy, made a 
lot of noise, and generated a lot of heat.  Unfortunately, ITX PC's with 
dual NIC's are too expensive.


So, I researched commercial products, asked around on Linux and BSD 
lists, and bought Ubiquiti Networks UniFi stuff:

     https://www.ubnt.com/unifi-routing/usg/

     https://www.ubnt.com/unifi/unifi-ap-ac-lite/


I run the UniFi SDN Controller server on Debian:

     https://www.ubnt.com/download/unifi/


What do you mean by "The non-"computers" use the router's IP address for 
their configuration"?


David

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Migrating Debian installation to a new motherboard local10 <local10@tutanota.com> - 2018-10-18 23:40 +0200
  Re: Migrating Debian installation to a new motherboard Felix Miata <mrmazda@earthlink.net> - 2018-10-19 00:50 +0200
    Re: Migrating Debian installation to a new motherboard local10 <local10@tutanota.com> - 2018-10-19 01:20 +0200
      Re: Migrating Debian installation to a new motherboard local10 <local10@tutanota.com> - 2018-10-31 17:40 +0100
      Re: Migrating Debian installation to a new motherboard local10 <local10@tutanota.com> - 2018-10-31 21:20 +0100
        Re: Migrating Debian installation to a new motherboard Dan Ritter <dsr@randomstring.org> - 2018-10-31 23:10 +0100
          Re: Migrating Debian installation to a new motherboard local10 <local10@tutanota.com> - 2018-10-31 23:50 +0100
            Re: Migrating Debian installation to a new motherboard Michael Stone <mstone@debian.org> - 2018-11-01 00:40 +0100
              Re: Migrating Debian installation to a new motherboard local10 <local10@tutanota.com> - 2018-11-01 15:20 +0100
                Re: Migrating Debian installation to a new motherboard Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-01 15:20 +0100
                Re: Migrating Debian installation to a new motherboard local10 <local10@tutanota.com> - 2018-11-01 17:20 +0100
                Re: Migrating Debian installation to a new motherboard Dan Ritter <dsr@randomstring.org> - 2018-11-01 17:20 +0100
                Re: Migrating Debian installation to a new motherboard local10 <local10@tutanota.com> - 2018-11-01 17:50 +0100
                Re: Migrating Debian installation to a new motherboard Michael Stone <mstone@debian.org> - 2018-11-01 19:00 +0100
                [SOLVED] Re: Migrating Debian installation to a new motherboard local10 <local10@tutanota.com> - 2018-11-01 19:30 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard Brian <ad44@cityscape.co.uk> - 2018-11-01 20:10 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-11-02 03:30 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard David Wright <deblis@lionunicorn.co.uk> - 2018-11-02 04:20 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-11-02 05:00 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard Michael Stone <mstone@debian.org> - 2018-11-02 12:10 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard David Wright <deblis@lionunicorn.co.uk> - 2018-11-03 02:30 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard David Christensen <dpchrist@holgerdanske.com> - 2018-11-03 04:20 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard David Wright <deblis@lionunicorn.co.uk> - 2018-11-03 05:00 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard David Christensen <dpchrist@holgerdanske.com> - 2018-11-03 07:10 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard David Wright <deblis@lionunicorn.co.uk> - 2018-11-04 16:30 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard David Christensen <dpchrist@holgerdanske.com> - 2018-11-05 01:50 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard David Wright <deblis@lionunicorn.co.uk> - 2018-11-05 16:20 +0100
                Re: [SOLVED] Re: Migrating Debian installation to a new motherboard Celejar <celejar@gmail.com> - 2018-11-05 19:50 +0100
                Re: Migrating Debian installation to a new motherboard mick crane <mick.crane@gmail.com> - 2018-11-02 08:30 +0100
                Re: Migrating Debian installation to a new motherboard Felix Miata <mrmazda@earthlink.net> - 2018-11-02 08:40 +0100
                Re: Migrating Debian installation to a new motherboard mick crane <mick.crane@gmail.com> - 2018-11-02 09:00 +0100
                Re: Migrating Debian installation to a new motherboard Curt <curty@free.fr> - 2018-11-02 10:00 +0100
                Re: Migrating Debian installation to a new motherboard Michael Stone <mstone@debian.org> - 2018-11-02 12:20 +0100
                Re: Migrating Debian installation to a new motherboard mick crane <mick.crane@gmail.com> - 2018-11-03 03:00 +0100
                Re: Migrating Debian installation to a new motherboard Michael Stone <mstone@debian.org> - 2018-11-03 12:50 +0100
                Re: Migrating Debian installation to a new motherboard Curt <curty@free.fr> - 2018-11-03 18:30 +0100
                Re: Migrating Debian installation to a new motherboard Michael Stone <mstone@debian.org> - 2018-11-03 19:10 +0100
                Re: Migrating Debian installation to a new motherboard Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-11-03 05:10 +0100
                Re: Migrating Debian installation to a new motherboard Michael Stone <mstone@debian.org> - 2018-11-01 19:00 +0100
  Re: Migrating Debian installation to a new motherboard Patrick Bartek <nemommxiv@gmail.com> - 2018-10-19 18:50 +0200
  Re: Migrating Debian installation to a new motherboard songbird <songbird@anthive.com> - 2018-10-20 00:50 +0200

csiph-web