[tcng] mirror the config on the fly !?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

is there easy way to "mirror" the configuration... what i have in mind.. normaly when we setup a class we setting class like this :

dev eth0 {
    class(<$ch1>) if ip_dst = 192.168.0.5;
....
   $ch1 = class(rate X,ceil Y);
}
eth1 mirror eth0;# <----now I wan to do something like this ..


so my config will mean this :

dev eth0 {
    class(<$ch1>) if ip_dst = 192.168.0.5;
....
   $ch1 = class(rate X,ceil Y);
}
dev eth1 {
    class(<$mch1>) if ip_src = 192.168.0.5;
....
   $mch1 = class(rate X,ceil Y);
}


dst --become--> src AND class-names got appended one "m" in front..




_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux