=== chris15 is now known as chris14 | ||
=== elastic_dog is now known as Guest6674 | ||
=== kostkon_ is now known as kostkon | ||
lolek_ | alkisg: hi, not sure you remember me but some time ago you gave me a link to https://github.com/stcz/initramfs-tools-network-hook for getting vlan working in initramfs, long story short I'd like to know if you're using it and if you found any problems with it? | 18:27 |
---|---|---|
lolek_ | alkisg, I'm asking cause it seems for me on debian 11.5 it's not willing to work :( | 18:30 |
alkisg | lolek_: no I'm not using it my switches support vlan per port | 18:46 |
lolek_ | alkisg, yes mine to but I need to have two vlans over one nic | 18:47 |
lolek_ | hence I need to handle this on the box not on the switch | 18:47 |
alkisg | I only need that for the servers not the clients | 18:47 |
lolek_ | well the box I'm using is a server.. file server but need to be visible in two vlans | 18:48 |
lolek_ | so I prefer to have it two address from two different vlans over one NIC | 18:49 |
lolek_ | then I can expose required services on the needed network | 18:49 |
alkisg | In my servers networking is brought up after the initramfs, so I'm using network manager | 18:49 |
lolek_ | no go I need it earlier because of encryption | 18:51 |
alkisg | Yeh I get it | 18:52 |
JanC | if the server has 2 NICs, you could still set up 2 VLANs on the switch, of course... | 18:52 |
=== jgee118692 is now known as jgee11869 | ||
JanC | (if you can't get the software solution to work...) | 18:54 |
lolek_ | JanC, only one nic... it's for home use so second nic would increase power consumption | 18:54 |
lolek_ | right now I got down up to 9W when idle with 1 ssd | 18:55 |
JanC | right | 18:55 |
lolek_ | JanC, yeah that's an option of a last resort, right now the system already handle that the only problem is the initramfs and dropbear | 18:56 |
JanC | home switch probably has less ports available also :) | 18:56 |
lolek_ | JanC, I've got 16 port switch, had to upgrade since the old one was not enough already :D | 18:57 |
JanC | more ports = more power consumption for switches too :) | 18:57 |
lolek_ | JanC, yes but there's only 8 or 16 | 18:57 |
lolek_ | nothing in between and when ports are not used, they're shut off so it's not like always 100% energy | 18:58 |
JanC | the processors in those switches have to be capable to handle all the traffic when all are in use though | 18:58 |
JanC | OTOH, maybe those home switches aren't designed to run all ports at full speed all the time :) | 18:59 |
lolek_ | JanC, previous switch max power usage was 3.3 it was dump 8 port switch, now I've got managed switch 16 port and according to the spec sheet it's 10W I understand that it's when all ports are in use | 19:01 |
lolek_ | but yeah... not much I can do with that I need 11 ports so | 19:01 |
lolek_ | and vlans :D | 19:01 |
JanC | I need to buy a non-dumb switch for home some day... | 19:02 |
lolek_ | JanC, pick up carefully ... tp-link has better power efficency but lacks some functionality, d-link has that but use more power | 19:06 |
lolek_ | I can also say that I'm quite positively surprised with d-link support | 19:06 |
JanC | yeah, it's why I haven't bought one yet; first need to figure out what I want exactly | 19:07 |
lolek_ | JanC, now I need to buy another switch also managed | 19:07 |
lolek_ | JanC, pm? so we won't spam here | 19:07 |
JanC | it's not a "soon" project for me probably, and by the time I buy one TP-link might be better than D-link, or there might be another better option still, etc. :) | 19:09 |
alkisg | Why do you need vlans at the initramfs? You can unlock the encryption with vlan1 = native, and initialize vlan2 later on | 19:14 |
lolek_ | JanC, there was a problem between tp-link and d-link, the first one was missing some functionality I think it was link aggregation | 19:14 |
lolek_ | alkisg, on switch the port is set to trunk so I need tagged packets | 19:14 |
lolek_ | alkisg, if packes won't be tagget switch won't pass it up to the router | 19:15 |
lolek_ | *packets | 19:15 |
lolek_ | ok, need to go, alkisg JanC thanks for the conv | 19:19 |
alkisg | 👍 | 19:20 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!