[mythtv-users] convoluted questiom

Mike Perkins mikep at randomtraveller.org.uk
Tue Dec 28 18:17:24 UTC 2021

On 28/12/2021 14:43, Barry Martin wrote:
> James:
>> This does mean that to upgrade I have to temporarily
>> reboot the server onto a different subnet to do any upgrades, etc.
> On a Linux system you can add a second IP address to a device to access a second network:
>     *Second/Alternate IP address – two network address:*
>     sudo ip addr add broadcast dev enp1s0
>     Temporarily (clears at boot) adds this address to current device.
>     Allows connecting to different LAN. (so and
> "enp1s0" is my ethernet port per ifconfig.  I am not certain of the '24'; may need a smaller number 
> -- I sort of know what it's for but not enough to start to explain.  *.*.4.* is the original network 
> here; *.*.0.* the alternate.
> (And I thought I was bowing out of this thread! <g>)
Actually I have a much more devious way to move the server than that!

As it happens I built it as a VM on an old Xen server that used to be my main one before I moved to 
KVM. (Reason: number of SATA ports on m/b: DH67CF with an i3-2120T proc.)

That board now has two NICs: The main one which the dom0 uses to communicate with the rest of the 
world and a plugin one which is allocated to the ZM subnet. The domU with the ZM software usually 
uses this.

When I want to do any upgrades, I just down the domU and bring it up on an alternate config which 
uses the main NIC. This of course nonplusses the cameras, but that doesn't matter during the day. 
When I'm finished, I just down it and bring it up on the ZM subnet again.

I may upgrade this 10-year-old board to use KVM, but it isn't urgent. If I do, the config 
arrangements will likely work just the same.


Mike Perkins

More information about the mythtv-users mailing list