Thread: [mpls-linux-general] fc8.mpls 1.961 - iptables error : invalid argument,
Status: Beta
Brought to you by:
jleu
From: Lee k. h. <kye...@yn...> - 2008-09-11 16:11:04
|
<style> P {margin-top:0px;margin-bottom:0px;} </style> <P><IMG SRC=http://mail.ynu.ac.kr:80/nara/servlet/webmail.WebMailReConfServ/995373></P> <BR>Hello, <BR><BR>I'm now studying mpls QoS guaranteed traffic engineering.<BR><BR>I intended to test mpls traffic engineering in the document mpls-linux-labs_v1.950.<BR>Also I used the script included in it. But I have a problem to launch iptables command. <P>In this forum I have read some threads about this error using another package version. (<A href="http://sourceforge.net/mailarchive/message.php?msg_id=1ad2c10d0808140236kf4889dk6c65cf5262bc2996%40mail.gmail.com" target=_blank>http://sourceforge.net/mailarchive/message.php?msg_id=1ad2c10d0808140236kf4889dk6c65cf5262bc2996%40mail.gmail.com</A>)<BR><BR><BR>Followings describe the script,<BR></P> <P># push label 1000 for destination A2<BR>var1=`mpls nhlfe add key 0 instructions ds2exp 0xf 0x1a 0x3 0x2e 0x5 0x0 0x0 exp2tc <BR>0x3 0x1 0x5 0x2 0x0 0x3 push gen 1000 nexthop eth0 ipv4 <A href="http://10.0.2.3/" target=_blank>10.0.2.3</A> | grep key |cut -c 17-26`<BR><BR># map a FEC to NHLFE<BR>iptables -A FORWARD -m dscp --dscp 0x1e -j mpls --nhlfe $var1</P> <P><BR>--> Here, command output of iptables said 'iptables: Invalid argument type'.</P> <P><BR><BR>I used the virtual machine on Vmware 6 and installed FC8 and mpls-linux packages.<BR>(downloaed from <A href="http://mpls-linux.sourceforge.net/fedora/8/sources/mpls/" target=_blank>http://mpls-linux.sourceforge.net/fedora/8/sources/mpls/</A>)<BR></P> <P>details:<BR>- kernel-2.6.25.14-69.fc8.mpls.1.962<BR>- iptables-1.4.1.1-1.fc8.mpls.1.962<BR>- ebtables-2.0.8-3.fc8.mpls.1.962<BR>- iproute-2.6.22-2.fc8.mpls.1.962</P> <P><BR>I donwloaded each rpms, srcs, and test both of them respectively.<BR>But iptables outputs had same error.</P> <P><BR><BR>Is there any way to configure mpls QoS testing successfully with fc8 ?<BR>Isn't there any patch for fc8.mpls.1.961 until now ?<BR><BR>Or Do I have to use another kernel, <A href="http://2.6.18.1/" target=_blank>2.6.18.1</A>?<BR></P> <P><BR>I 'm very confused to configure mpls QoS testing with using kernels, iptables etc.<BR>I don't know what versions are suitable for mpls QoS testing environment.</P> <P><BR>I'll be very appreciate if you give me some information about this iptables error problem.<BR></P> <P>And I hope someone summarize mpls-linux dependencies in order to avoid misconfigure.<BR><BR><BR>Thanks.<BR>KH Lee.</P> |
From: James R. L. <jl...@mi...> - 2008-09-11 16:24:31
|
First off, poor form for posting HTML encoded email to mailing lists. Please don't. Second, I have not tried iptables on 1.962 yet. I'll look into it. On Fri, Sep 12, 2008 at 01:10:43AM +0900, Lee kye hwan wrote: > <style> P {margin-top:0px;margin-bottom:0px;} </style> > <P><IMG SRC=http://mail.ynu.ac.kr:80/nara/servlet/webmail.WebMailReConfServ/995373></P> > <BR>Hello, <BR><BR>I'm now studying mpls QoS guaranteed traffic engineering.<BR><BR>I intended to test mpls traffic engineering in the document mpls-linux-labs_v1.950.<BR>Also I used the script included in it. But I have a problem to launch iptables command. > <P>In this forum I have read some threads about this error using another package version. (<A href="http://sourceforge.net/mailarchive/message.php?msg_id=1ad2c10d0808140236kf4889dk6c65cf5262bc2996%40mail.gmail.com" target=_blank>http://sourceforge.net/mailarchive/message.php?msg_id=1ad2c10d0808140236kf4889dk6c65cf5262bc2996%40mail.gmail.com</A>)<BR><BR><BR>Followings describe the script,<BR></P> > <P># push label 1000 for destination A2<BR>var1=`mpls nhlfe add key 0 instructions ds2exp 0xf 0x1a 0x3 0x2e 0x5 0x0 0x0 exp2tc <BR>0x3 0x1 0x5 0x2 0x0 0x3 push gen 1000 nexthop eth0 ipv4 <A href="http://10.0.2.3/" target=_blank>10.0.2.3</A> | grep key |cut -c 17-26`<BR><BR># map a FEC to NHLFE<BR>iptables -A FORWARD -m dscp --dscp 0x1e -j mpls --nhlfe $var1</P> > <P><BR>--> Here, command output of iptables said 'iptables: Invalid argument type'.</P> > <P><BR><BR>I used the virtual machine on Vmware 6 and installed FC8 and mpls-linux packages.<BR>(downloaed from <A href="http://mpls-linux.sourceforge.net/fedora/8/sources/mpls/" target=_blank>http://mpls-linux.sourceforge.net/fedora/8/sources/mpls/</A>)<BR></P> > <P>details:<BR>- kernel-2.6.25.14-69.fc8.mpls.1.962<BR>- iptables-1.4.1.1-1.fc8.mpls.1.962<BR>- ebtables-2.0.8-3.fc8.mpls.1.962<BR>- iproute-2.6.22-2.fc8.mpls.1.962</P> > <P><BR>I donwloaded each rpms, srcs, and test both of them respectively.<BR>But iptables outputs had same error.</P> > <P><BR><BR>Is there any way to configure mpls QoS testing successfully with fc8 ?<BR>Isn't there any patch for fc8.mpls.1.961 until now ?<BR><BR>Or Do I have to use another kernel, <A href="http://2.6.18.1/" target=_blank>2.6.18.1</A>?<BR></P> > <P><BR>I 'm very confused to configure mpls QoS testing with using kernels, iptables etc.<BR>I don't know what versions are suitable for mpls QoS testing environment.</P> > <P><BR>I'll be very appreciate if you give me some information about this iptables error problem.<BR></P> > <P>And I hope someone summarize mpls-linux dependencies in order to avoid misconfigure.<BR><BR><BR>Thanks.<BR>KH Lee.</P> > > ------------------------------------------------------------------------- > 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... |
From: J. N. <oc...@gm...> - 2008-09-11 16:25:59
|
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 > > |