routing by tos

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

 



hi

I have to routers and with two Internet connections on them and I wanted to set up routing by TOS.

I tryed diffrent configurations of IPtables tos marking and iproute tos routing and everything failed.

Can you give me a working example or help?

this is what I did on the box with is a default router:

iptables -t mangle -I PREROUTING -i eth0 -s 192.168.0.10 -j TOS --set-tos Minimize-Cost

ip route add tos 2 via 192.168.0.2

eth0 is the internat netword interface
192.168.0.2 is the internal network router_2 address

Optek



[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