/srv/irclogs.ubuntu.com/2021/05/26/#ubuntu-server.txt

=== Napsterbater is now known as Guest21382
=== Napsterbater_ is now known as Napsterbater
=== Napsterbater is now known as Guest32646
=== Napsterbater_ is now known as Napsterbater
=== Napsterbater_ is now known as Napsterbater
pytorchanyone can help me improve my boot time -> https://paste.debian.net/1198810/05:19
=== blueeagle is now known as BlueEagle
ikoniapytorch: probably worth moving to libera chat07:14
ikoniawhere people are active07:14
=== gpiccoli_ is now known as gpiccoli
maswanHey, so, this is the second time this has happened. After we restart our resolver cluster, bind9 fails to resolve anything with "broken trust chain resolving" .. logged. if we do a bind9 restart everything starts working fine. anyone seen that before (we're on focal)?13:31
* rick_h waves to the server crew13:47
athoso/13:47
UssatO/13:48
maswanah, it's probably the broken systemd deps, we'll try waiting for nework-online.target (and chrony just to be sure).14:15
=== pizza is now known as pizzaiolo
=== fjmorazan is now known as help
=== help is now known as fjmorazan
=== 038AAATSO is now known as mastablasta
=== mastablasta is now known as gregor3000
bittin_good afternoon15:27
=== pizzaiolo is now known as pizza
genkgoHello, I am looking for some help with multiple interface networking via netplan. I have one local IP, and two external. I want my local interface to be able to connect to addresses inside the subnet of the external IPs, which fails at the moment.19:16
genkgoI have published my netplan config: https://gist.github.com/frederikbosch/10a27b897b5ea8eb685370d8c0084fdf19:16
sarnoldgenkgo: that's way more advanced than I've ever done, so this is a *guess*, but that 'gateway4' line feels out of place -- afterall you've got a 0.0.0.0/0 route declared later on19:21
genkgohmm, maybe I should not include gateway4, but then the question is, if there is no gateway4, then what will the default route be?19:23
sarnoldmy guess is the 0.0.0.0/0 route on ens1919:25
genkgookay, what if I want ens18 to be the default, then I should add manual route for ens18 as well19:25
genkgosarnold: basically I want it configured as this: only use ens19 and ens20 when there is a direct bind on it, otherwise use ens18.19:26
sarnoldgenkgo: and probably set the metric for it so it's preferred, no?19:26
genkgosarnold: but they are already using different routing tables, then metric makes no difference, or does it?19:26
sarnoldgenkgo: oh hmm. this is well beyond my familiarity :(19:27
genkgosarnold: mine too, I am already happy I came this far. This is the final step.19:28
genkgoBut, let's give it a try without gateway419:31
genkgosarnold: disabling gateway4 and adding a manual 0.0.0.0/0 route for ens18 is not the solution, maybe it should be done with a routing-policy19:43
Ussat^^^19:43
UssatEverything can not (nor should be ) done in netplan19:44
sarnoldgenkgo: how do you get each applicatioon to know which routing table it ought to be using?19:44
genkgosarnold: the application that needs the external IPs, knows this, it binds directly to those IPs19:45
genkgobut the problem arises for the other applications19:45
genkgowhich may not use the external IPs, but must use the internal IP19:45
genkgoso I have one application using ens19 and ens20, everything works totally fine for that application19:46
genkgobut other applications cannot connect to any IP inside the subnet of ens19 and ens2019:47
sarnoldgenkgo: oh sure when they know enough to bind to a specific source address, but very few do that, they just let the kernel pick whichever address is 'best' given their destination..19:48
sarnoldgenkgo: but, and this is where I get real shaky real fast, what's the point of having multiple routing tables? it's to put different groups of processes onto different 'networks' entirely, no?19:48
genkgosarnold: otherwise I was not able to get ens19 and ens20 working anyhow19:49
genkgosarnold: it already took me hours to reach this point, via multiple routing policies and tables19:50
genkgosarnold: so may main goal is to use ens19 and ens20 only when a certain application explicitly requests its usage, otherwise use ens18.19:52
genkgoUssat: what would you suggest to do?19:56
marethi, i run pwmconfig just to try it and now  my fan on motherboard is spinning . What should I do ? this is the ouput -> https://paste.debian.net/1198906/20:08
genkgosarnold: I found the solution, ip route del 46.0.0.0/24 dev ens19 proto kernel scope link src20:19
genkgonow the question becomes how to prevent netplan from adding it20:19
maretI run echo 2 | sudo tee /sys/class/hwmon/hwmon4/pwm2_enable  but the fan is still going hard :/ 20:28
genkgosarnold: since you were also eager on this topic, here is the explanation20:39
genkgoif you add an ip address the kernel will automatically add a direct route (proto kernel scope link) automatically to the routing table20:40
genkgothis cannot be prevented20:40
genkgounless you noprefixroute to the ip addr add command20:41
sarnoldgenkgo: hey!! excellent :D :D21:07
sarnoldgenkgo: could you file a bug report about that? it feels like something netplan ought to expose for cases like yours21:08
sarnoldgenkgo: I don't know for sure if systemd-networkd has syntax for that, or not, but if not having a bug report somewhere about it would be a good start21:08
ddstreetgenkgo you want to use the systemd.network config param AddPrefixRoute=false21:10
ddstreethowever, if you really don't want the prefix route, you probably actually want to use a /32 netmask instead of /2421:11
=== ember_ is now known as ember
genkgoddstreet: I found that config, thanks21:39
genkgoFor me /32 was not working21:40
genkgoddstreet: if I remove the prefix route, I now find out that containers using my fan overlay network are still failing to connect to the externals IP addresses21:46
genkgobut if I can make /32 working, I think that should resolve that21:48
genkgoWhen changed the addresses in netplan into a /32 address, netplan failed21:48
genkgoshould look into that21:49
genkgobut it is already late here, is for tomorrow21:49

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