[mpls-linux-general] iptables traffic eng.
Status: Beta
Brought to you by:
jleu
|
From: Zordan A. <zor...@gm...> - 2004-03-29 13:27:15
|
Hi, i've set up a little MPLS network under rh9. I use 4 pcs in the Core network and 2 Edge Routers to bind 2 different networks together: one with 192.168.0.0/24 and the other 192.168.1.0/24. now i wan't to divide different classes of traffic. e.g. route ssh over one edge of the core net and everything else over another. i tried to use iptables with the following commands: iptables -t mangle -A FORWARD -p tcp --dport 22 -j MPLS --set-key 0x2 iptables -t mangle -A OUTPUT -p tcp --dport 22 -j MPLS --set-key 0x2 and iptables -t mangle -A FORWARD -d 192.168.1.0/24 -j MPLS --set-key 0x3 iptables -t mangle -A OUTPUT -d 192.168.1.0/24 -j MPLS --set-key 0x3 but every time i changed the FORWARD-Entries the LER alway ignored my changes. The only thing that worked is to reboot them ... is this a bug or did i forget something ?? regards Zordan Arres -- +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz |