It's possible mark or classify packets per gateway in a multihop route ?

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

 



Hi,

I have multiple DSL routers, all of them in the same subnet
(192.168.100.0/24) and reacheable by eth0. I use a multihop default
route and I want to shape traffic with limits per gateway. So, it's
possible to mark or classify packets once it's known with router will
be routed through ? wich extension/selector should I use ?

-------
ip route show

192.168.100.0/24 dev eth0  proto kernel  scope link  src 192.168.100.5
192.168.10.0/24 dev eth1  proto kernel  scope link  src 192.168.10.30
169.254.0.0/16 dev eth0  scope link
127.0.0.0/8 dev lo  scope link
default
	nexthop via 192.168.100.2  dev eth0 weight 1
	nexthop via 192.168.100.3  dev eth0 weight 1
------------

192.168.10.0/24 it's my LAN

eth0 has address 192.168.100.5 (to balance traffic), and alias
(eth0:0, eth0:1) exists with addresses (192.168.100.102,
192.168.100.103) to rule traffic to specific router.

It's even possible to apply HTB qdisc to eth0 and shape traffic with
limits per gateway ?

Best regards,
Victor
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux