Re: [mpls-linux-general] problem with iptables. Error invalid argument type.
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2008-08-12 21:09:21
|
You might want to try netkit: http://www.netkit.org/ On Tue, Aug 12, 2008 at 10:41:16PM +0200, =?ISO-8859-1?Q?Jes=FAs_Nubiola_ wrote: > 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 > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |