!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

824 Members
Declaratively manage your switching, routing, wireless, tunneling and more.246 Servers

Load older messages


SenderMessageTime
17 Jan 2025
@magic_rb:matrix.redalder.orgmagic_rbbut then you have to match up the networks, which is your problem right now i think22:26:35
@telometto:matrix.orgzenoimage.png
Download image.png
22:26:50
@magic_rb:matrix.redalder.orgmagic_rbalso then the server shouldnt be a trunk, but generally id avoid this scenario and instead use a trunk22:26:52
@magic_rb:matrix.redalder.orgmagic_rbright yeah okay, then its weird why the packet arrived on vlan4, should have arrived untagged22:27:30
@magic_rb:matrix.redalder.orgmagic_rbcheck the desktop side22:27:34
@telometto:matrix.orgzenoimage.png
Download image.png
22:28:07
@magic_rb:matrix.redalder.orgmagic_rbthat doesnt quite match the diagram22:28:37
@magic_rb:matrix.redalder.orgmagic_rb:)22:28:37
@magic_rb:matrix.redalder.orgmagic_rbyou gotta figure out what precisely youre trying to do, because i think we're both getting lost22:28:51
@telometto:matrix.orgzenoI- is that a good sign?22:28:54
@telometto:matrix.orgzenolol22:29:00
@magic_rb:matrix.redalder.orgmagic_rbdunno :)22:31:38
@telometto:matrix.orgzeno

Say e.g. k8s: I used to write up scripts like the one below and just publish the service on VLAN 4 and it just werked®

---
apiVersion: "v1"
kind: "Service"
metadata:
  name: "immich-service"
  namespace: "immich"
spec:
  selector:
    app.kubernetes.io/instance: "immich"
    app.kubernetes.io/name: "server"
  ipFamilyPolicy: "SingleStack"
  ipFamilies:
    - "IPv4"
  ports:
    - name: "immich-webui"
      port: 2283
      targetPort: "http"
      protocol: "TCP"
  type: "LoadBalancer"
  loadBalancerIP: "192.168.7.50"
22:32:32
@telometto:matrix.orgzeno *

Say e.g. k8s: I used to write up scripts like the one below and just publish the service on VLAN 4 and it just werked®

---
apiVersion: "v1"
kind: "Service"
metadata:
  name: "immich-service"
  namespace: "immich"
spec:
  selector:
    app.kubernetes.io/instance: "immich"
    app.kubernetes.io/name: "server"
  ipFamilyPolicy: "SingleStack"
  ipFamilies:
    - "IPv4"
  ports:
    - name: "immich-webui"
      port: 2283
      targetPort: "http"
      protocol: "TCP"
  type: "LoadBalancer"
  loadBalancerIP: "192.168.4.50"
22:32:42
@telometto:matrix.orgzenoI am kinda lost... especially now that you're telling me that it isn't possible22:33:41
@telometto:matrix.orgzenoI've been living a lie22:33:46
@telometto:matrix.orgzenoAnyway22:34:34
@telometto:matrix.orgzenoI guess my follow-up question now is: when people have a server running e.g. Proxmox and have various VMs running on it, how do they have these VMs on different VLANs and still get it to work?22:36:44
@magic_rb:matrix.redalder.orgmagic_rbyou can have them on different vlans22:37:20
@magic_rb:matrix.redalder.orgmagic_rbbut youre mixing your nets22:37:27
@magic_rb:matrix.redalder.orgmagic_rbthe primary problem is the address you have on your PC rn22:37:36
@magic_rb:matrix.redalder.orgmagic_rbits 192.168.2.100 when it must be 192.168.4.10022:37:46
@telometto:matrix.orgzenoYes, but how can they reach them?22:37:46
@magic_rb:matrix.redalder.orgmagic_rbwell you must have a router which routers between the vlans22:38:06
@telometto:matrix.orgzenoSo the server would have to physically be on that network?22:38:07
@telometto:matrix.orgzenoPhysical or can you route on a switch?22:38:29
@magic_rb:matrix.redalder.orgmagic_rbid keep to the 1 vlan == 1 network mapping ideally22:38:31
@magic_rb:matrix.redalder.orgmagic_rbyou cant route on a switch a switch isnt a router22:38:43
@magic_rb:matrix.redalder.orgmagic_rbbut the thing you have i doubt is a switch22:38:48
@magic_rb:matrix.redalder.orgmagic_rbit sounds like a L3 switch, ie a dumbed down router22:39:02

Show newer messages


Back to Room ListRoom Version: 6