[Inter-VLAN routing] problem with a Linux server as router
Publié : jeu. 28 nov. 2024, 14:04
Hello everyone,
I'm having a problem routing between different VLANs on my local network. Here is my configuration:
A switch manages several VLANs (for example VLAN 10 for users and VLAN 20 for servers).
I'm using a Linux server (Arch) configured as a router to enable communication between these VLANs.
I have enabled routing on the server using ip_forward=1 in sysctl, and each VLAN interface is correctly configured with an IP address. However, the machines in the different VLANs are unable to reach each other. I've tested pings between VLANs, but none get through. I've also checked the iptables rules to make sure they're not blocking traffic.
Does anyone have any ideas on what might be missing or additional tests to run to diagnose the problem?
Thanks in advance for your help!
Sorry for the traduction i'm french.
I'm having a problem routing between different VLANs on my local network. Here is my configuration:
A switch manages several VLANs (for example VLAN 10 for users and VLAN 20 for servers).
I'm using a Linux server (Arch) configured as a router to enable communication between these VLANs.
I have enabled routing on the server using ip_forward=1 in sysctl, and each VLAN interface is correctly configured with an IP address. However, the machines in the different VLANs are unable to reach each other. I've tested pings between VLANs, but none get through. I've also checked the iptables rules to make sure they're not blocking traffic.
Does anyone have any ideas on what might be missing or additional tests to run to diagnose the problem?
Thanks in advance for your help!
Sorry for the traduction i'm french.