[mythtv] Q about networking after recent networking improvements in master
keemllib at gmail.com
Sat Apr 15 21:24:21 UTC 2017
On 04/15/2017 10:42 AM, Peter Bennett wrote:
> How do you add the Unique local address to your systems?
I used http://www.sixxs.net/tools/grh/ula/ to get a proper ULA.
But I lied about my actual MAC. I haven't researched it much,
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
exist and when set to 2 (in 15.10), a ULA is generated automatically.
Likely where distros may set things differently. I haven't retried
it with your new work, but I'm not clear if using temporary addresses
would work for the backend if it has remote FEs.
Originally, I added it with the Network Manager GUI. When systemd
(and networkd) arrived, I disabled NetworkManager and added them
manually like this:
/etc/systemd/network$ cat eth0.network
> I am thinking about updating the wiki IPV6 article and wondering about the best way of doing it.
In here: https://www.mythtv.org/wiki/Enable_IPv6#Which_IPv6_address_should_be_used.3F I did
the complete cop-out of: "If the desired address doesn't exist, use the configuration tool
provided with the host's distribution to add it." I was trying to write the page mostly from
a MythTV perspective and tried to be light on IPv6 details. Had 2nd thought of even adding
the "Tools and sample output" section.
> I have it working by creating a script and linking it to /etc/network/if-up.d/010addipaddress. In that script I run a command ip -6 address add
> $ipadd dev "$ifacename" with appropriate parameters. I created a table of ULAs and MAC addresses. This works well, I get the automatic Global
> IPv6 address from Comcast plus the ULA that I set up.
Unfortunately, I mostly run *buntu boxes and can't comment on
the others. Here's some notes from what I tried:
Sample IP configurations. Pick one.
/etc/network/interfaces: [on *buntu]
iface eth0 inet static
iface eth0 inet6 static
/etc/NetworkManager/system-connections/Wired (or any name): [*buntu]
I'm not sure the Wiki is going to care for all cases. Maybe those that
choose other than NetworkManager would be on there own.
> I could not find a more user-friendly way to do it with NetworkManager. It allows automatic or manual configuration. I have to leave automatic
> configuration in place to get a valid Global IPv6 address. It would be nice if NetworkManager allowed you to use automatic plus add additional
> IP addresses to the list at the same time.
Same here, I've been doing things with an editor mostly.
More information about the mythtv-dev