Re: [mpls-linux-general] [RE]Re: fc8.mpls 1.961 - iptables error : invalid argument,
Status: Beta
Brought to you by:
jleu
From: J. N. <oc...@gm...> - 2008-09-12 16:08:55
|
I had that message to, I am trying now with MPLS 1958 and kernel version 2.6.22.5 and have no errors, but you have to change command and doing in the mangle table (-t mangle) like: iptables -t mangle -A FORWARD -m dscp --dscp 0x1a -j mpls --nhlfe $var1 regards On Fri, Sep 12, 2008 at 5:14 PM, Lee kye hwan <kye...@yn...> wrote: > > > > > Hi Jesus Nubiola, Adrian, > > Yesterday, I had some experience regarding to your mentioned configuration( > mpls 1955 version of iptables with kernel 2.6.18.1). > > A. kernel-2.6.18-1.2257.fc5.mpls.1.955.i686.rpm > > B. ebtables-2.0.8-0.6.rc2.fc5.mpls.1.955a.i386.rpm > > C. iproute-2.6.16-1.fc5.mpls.1.955.i386.rpm > > D. iptables-1.3.5-1.2.fc5.mpls.1.955.i386.rpm > > E. iptables-ipv6-1.3.5-1.2.fc5.mpls.1.955.i386.rpm > > > But I 've got some errors that didn't work mpls command (-nhlfe :unknown > argument, iptables: Unknown error 4294967295 ). > > So, may I ask a favor of you? > Would you send me the mpls-linux package that you used or links ? > > I 'll test mpls-linux qos functionality as you 've done. > > Thanks > Kyehwan Lee. > > --------------------------------------- [ *Original Message* ] > -------------------------------------- > *Sender :* Jes?s Nubiola < oc...@gm... > > *To :* Lee kye hwan < kye...@yn... > > *CC :* mpl...@li... > *Date :* 2008-09-12 01:25:56 > *S u b j e c t :* Re: [mpls-linux-general] fc8.mpls 1.961 - iptables error > : invalid argument, > > > I'll post here the reply that I sent yesterday. In case that could help > anyone. > > Hello Lee Kye Hwan, > The error that you mention in 99% of the cases are because a bad kernel > configuration. The only way that I avoid this error is installing a correct > version of iptables with the correct version of kernel (in my case I used > mpls 1955 version of iptables with kernel 2.6.18.1). > I fixed that error with that but now I've got an other error related to > iptables too (like I post in the mailing list) > > > PS: I think that I have already fixed my error of unknow argument applying > the policy in the mangle table instead directly with -A forward > > > regards > > On Thu, Sep 11, 2008 at 6:10 PM, Lee kye hwan <kye...@yn...> wrote: > >> >> Hello, >> >> I'm now studying mpls QoS guaranteed traffic engineering. >> >> I intended to test mpls traffic engineering in the document >> mpls-linux-labs_v1.950. >> Also I used the script included in it. But I have a problem to launch >> iptables command. >> >> In this forum I have read some threads about this error using another >> package version. ( >> http://sourceforge.net/mailarchive/message.php?msg_id=1ad2c10d0808140236kf4889dk6c65cf5262bc2996%40mail.gmail.com >> ) >> >> >> Followings describe the script, >> >> # push label 1000 for destination A2 >> var1=`mpls nhlfe add key 0 instructions ds2exp 0xf 0x1a 0x3 0x2e 0x5 0x0 >> 0x0 exp2tc >> 0x3 0x1 0x5 0x2 0x0 0x3 push gen 1000 nexthop eth0 ipv4 10.0.2.3 | grep >> key |cut -c 17-26` >> >> # map a FEC to NHLFE >> iptables -A FORWARD -m dscp --dscp 0x1e -j mpls --nhlfe $var1 >> >> >> --> Here, command output of iptables said 'iptables: Invalid argument >> type'. >> >> >> >> I used the virtual machine on Vmware 6 and installed FC8 and mpls-linux >> packages. >> (downloaed from http://mpls-linux.sourceforge.net/fedora/8/sources/mpls/) >> >> details: >> - kernel-2.6.25.14-69.fc8.mpls.1.962 >> - iptables-1.4.1.1-1.fc8.mpls.1.962 >> - ebtables-2.0.8-3.fc8.mpls.1.962 >> - iproute-2.6.22-2.fc8.mpls.1.962 >> >> >> I donwloaded each rpms, srcs, and test both of them respectively. >> But iptables outputs had same error. >> >> >> >> Is there any way to configure mpls QoS testing successfully with fc8 ? >> Isn't there any patch for fc8.mpls.1.961 until now ? >> >> Or Do I have to use another kernel, 2.6.18.1? >> >> >> I 'm very confused to configure mpls QoS testing with using kernels, >> iptables etc. >> I don't know what versions are suitable for mpls QoS testing environment. >> >> >> I'll be very appreciate if you give me some information about this >> iptables error problem. >> >> And I hope someone summarize mpls-linux dependencies in order to avoid >> misconfigure. >> >> >> Thanks. >> KH Lee. >> >> ------------------------------------------------------------------------- >> 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 >> >> > |