[mpls-linux-general] problem with iptables. Error invalid argument type.
Status: Beta
Brought to you by:
jleu
From: J. N. <oc...@gm...> - 2008-08-12 20:41:19
|
Hi all, I'm trying to make the scenario (QoS scenario) described in MPLS-Linux Labs by Adrian Popa with VNUML ( http://www.dit.upm.es/vnumlwiki/index.php/Main_Page). I have a lot of problems to achieve a kernel that I can compile (a lot of problems with uml architecture). After aplying a lot of patches I finally be able to have a testbed with mpls support and a filesystem with debian. The only kernel that I can achieve to compile with uml and without errors is 2.6.18.1 (with mpls patched too) but the problem is that if I install iptables like it syas in http://www.elcom.pub.ro/~adrian.popa/mpls-linux/mpls-linux-docs/1-3-installation.html, then when I launch iptables for example in: var1=`mpls nhlfe add key 0 instructions ds2exp 0xf 0x1e 0x3 0x0 0x0 exp2tc 0x3 0x1 0x0 0x3 push gen 2000 nexthop eth3 ipv4 10.0.5.3 | grep key |cut -c 17-26` #create a FEC: packets with DSCP=0x1E and DSCP=0x00 go to nhlfe $var1 iptables -A FORWARD -m dscp --dscp 0x1e -j mpls --nhlfe $var1 it launches an error saying iptables: invalid argument type. I've been seeking in Google and I see that probably is because the rpm file that I've downloaded is for kernel 2.6.15.1 (like Adrian do in his manual) but actually I can't compile any kernel previosu than 2.6.18.1 (vnuml problems) and I dont know how to compile iptables for that version of Kernel. I try a lot of options, trying to install iptables in the filesystem with 'chroot', try to install when in the guest machine (run the virtual machines and trying to install iptables.deb in every machine)... but all have the same result. I try to know how to compile with that kernel support (2.6.18.1) or if there is a version of MPLS for that kernel with a .rpm or .deb packet of iptables. The previous scenarios that don't use iptables run good in my mpls testbed and changing my virtualitzacion system is not an option becaus I have to do it with VNUML. Thank you in advance for all advices, regards |