lundi 2 février 2015

Interface on Linux for IP range to divide incoming traffic


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, for 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 40 Gbit link. I'd rather linke a iproute/netctl based approach, which performs better.



Aucun commentaire:

Enregistrer un commentaire