Re: [mpls-linux-general] problem with iptables. Error invalid argument type.
Status: Beta
Brought to you by:
jleu
From: Adrian P. <adr...@gm...> - 2008-08-13 05:30:53
|
Hello Jesus, I wasn't able to compile iptables for my kernel a few years ago (I got all sorts of gcc errors), so the only solution for me was to convert the patched iptables rpm to deb (with alien). You should be able to find this rpm on sourceforge, and you should install it by force in your debian system. Regards, Adrian On Wed, Aug 13, 2008 at 12:52 AM, Jesús Nubiola <oc...@gm...> wrote: > I am aware that netkit have MPLS support but I have to make with VNUML > because I have made before another works with that platform and now that > after a lot of work I can have an MPLS kernel running on it I want to make > it work. I think that the only thing that it remains is download a version > of iptables (patched with mpls support) that runs with 2.6.18.1 or trying > to compile it with KERNEL_VERSION option, but by now I cannot achieve it :( > > By the way, I cannot get access to your perforce server with visual clinet, > it launches an error saying that the server is too old: > > only 2004.2 or later servers supported by Perforce Visual CLient. > > I remember that moths ago I can get access to it. Anyone have the same > problem? > > Thanks for all James and sorry for my english > > > > > > On Tue, Aug 12, 2008 at 11:09 PM, James R. Leu <jl...@mi...>wrote: > >> 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<http://www.elcom.pub.ro/%7Eadrian.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... >> > > > ------------------------------------------------------------------------- > 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 > > |