/srv/irclogs.ubuntu.com/2022/04/29/#netplan.txt

pmjdebruijninterface aliases still aren't supported?11:53
pmjdebruijnalso https://netplan.io/examples/ the 'lo' example seems to replace the 127.0.0.1/8 IP, as opposed to merely adding an ew ip11:54
slyonpmjdebruijn: netplan supports ip addr labels, does that work for your interface alias use case? https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/174320011:57
pmjdebruijnslyon: is there any proper documentation?12:02
slyonpmjdebruijn: it's described in netplan's reference, which also contains a small example: https://netplan.io/reference/#common-properties-for-all-device-types12:03
pmjdebruijnyeah found that in the meanwhile12:04
pmjdebruijnit seems this breaks ifconfig entirely12:05
pmjdebruijnand doesn't result in a seperate interface12:06
pmjdebruijnso it's marginally worse than before12:11
pmjdebruijnslyon: essentially we'd like to add additional IPs to 'lo' but OTOH not mess with 'lo' itself, so we can be sure to never break it12:13
slyonpmjdebruijn: hmm.. what OS are you running that you need to use legacy ifconfig instead of iproute2?12:17
slyonnetplan set network.ethernets.lo.addresses='["127.0.0.1/8", "::1/128", "1.1.1.1/24", "2.2.2.2/24"]' doesn't work for you?12:19
pmjdebruijnI don't "need" anything, it's a matter of convenience12:19
pmjdebruijnslyon: it seems to work now, it's more than netplan has had more than it's fair share of bugs, so having it mess with the main lo, isn't something i'm looking forward to12:21
pmjdebruijnaside from the documentation about 'lo' being a bit misleading12:21
slyonI'm glad it's working now, and I agree that the 'lo' documentation needs to be updated12:22
pmjdebruijnit's misleading in way, that would badly break a pre-existing install, so removing that would better than leaving it in place like this12:23
slyonpmjdebruijn: I guess this should help, right? https://github.com/canonical-web-and-design/netplan.io/pull/22512:35
pmjdebruijnyeah I think so12:41

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!