In order to divide incoming traffic I use the "ip link" command:
ip link add link eno1 name eno1.vlan10 type vlan id 10
I want to do the same for a network range, so that I have a named interface for customer network A, or customer network B.
Is there any way I can specify such a sub interface, which logically divides the incoming traffic based on the expression of a network range instead of a vlan id? I am also trying to figure out how to use multiple vlan ids at once.
I could use iptables but that is much too slow. This is high speed (40 Gbit) link. I'd rather linke a iproute/netctl based approach, which performs better. IPtables are not supposed to do something like this.