[mpls-linux-general] [RE]Re: fc8.mpls 1.961 - iptables error : invalid argument,
Status: Beta
Brought to you by:
jleu
From: Lee k. h. <kye...@yn...> - 2008-09-12 15:14:28
|
<style> P {margin-top:0px;margin-bottom:0px;} </style> <P><IMG SRC=http://mail.ynu.ac.kr:80/nara/servlet/webmail.WebMailReConfServ/996870></P> <P> </P> <P> </P> <P>Hi Jesus Nubiola, Adrian,<BR><BR>Yesterday, I had some experience regarding to your mentioned configuration( mpls 1955 version of iptables with kernel 2.6.18.1).<BR></P> <P class=MsoListParagraph style="MARGIN-LEFT: 60pt; TEXT-INDENT: -20pt; mso-list: l1 level2 lfo5"><SPAN lang=EN-US><SPAN style="mso-list: Ignore">A.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN lang=EN-US>kernel-2.6.18-1.2257.fc5.mpls.1.955.i686.rpm<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P> <P class=MsoListParagraph style="MARGIN-LEFT: 60pt; TEXT-INDENT: -20pt; mso-list: l1 level2 lfo5"><SPAN lang=EN-US><SPAN style="mso-list: Ignore">B.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN lang=EN-US>ebtables-2.0.8-0.6.rc2.fc5.mpls.1.955a.i386.rpm<o:p></o:p></SPAN></P> <P class=MsoListParagraph style="MARGIN-LEFT: 60pt; TEXT-INDENT: -20pt; mso-list: l1 level2 lfo5"><SPAN lang=EN-US><SPAN style="mso-list: Ignore">C.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN lang=EN-US>iproute-2.6.16-1.fc5.mpls.1.955.i386.rpm<o:p></o:p></SPAN></P> <P class=MsoListParagraph style="MARGIN-LEFT: 60pt; TEXT-INDENT: -20pt; mso-list: l1 level2 lfo5"><SPAN lang=EN-US><SPAN style="mso-list: Ignore">D.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN lang=EN-US>iptables-1.3.5-1.2.fc5.mpls.1.955.i386.rpm<o:p></o:p></SPAN></P> <P class=MsoListParagraph style="MARGIN-LEFT: 60pt; TEXT-INDENT: -20pt; mso-list: l1 level2 lfo5; mso-para-margin-left: 0gd"><SPAN lang=EN-US><SPAN style="mso-list: Ignore">E.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN lang=EN-US>iptables-ipv6-1.3.5-1.2.fc5.mpls.1.955.i386.rpm<o:p></o:p></SPAN></P> <P><BR>But I 've got some errors that didn't work mpls command (-nhlfe :<SPAN lang=EN-US>unknown argument, iptables: Unknown error 4294967295 ).</SPAN><BR><BR>So, may I ask a favor of you? <BR>Would you send me the mpls-linux package that you used or links ?<BR><BR>I 'll test mpls-linux qos functionality as you 've done.<BR><BR>Thanks <BR>Kyehwan Lee.<BR></P> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px" TYPE="CITE">--------------------------------------- [ <B>Original Message</B> ] --------------------------------------<BR><B>Sender :</B> Jes?s Nubiola < oc...@gm... ><BR><B>To :</B> Lee kye hwan < kye...@yn... ><BR><B>CC :</B> mpl...@li...<BR><B>Date :</B> 2008-09-12 01:25:56<BR><B>S u b j e c t :</B> Re: [mpls-linux-general] fc8.mpls 1.961 - iptables error : invalid argument,<BR><BR> <DIV dir=ltr>I'll post here the reply that I sent yesterday. In case that could help anyone.<BR><BR>Hello Lee Kye Hwan, <BR>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 <A href="http://2.6.18.1/" target=_blank>2.6.18.1</A>).<BR>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) <BR><BR><BR>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<BR><BR><BR>regards<BR><BR> <DIV class=gmail_quote>On Thu, Sep 11, 2008 at 6:10 PM, Lee kye hwan <SPAN dir=ltr><<A href="mailto:kye...@yn...">kye...@yn...</A>></SPAN> wrote:<BR> <BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"> <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><BR>-------------------------------------------------------------------------<BR>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>Build the coolest Linux based applications with Moblin SDK & win great prizes<BR>Grand prize is a trip for two to an Open Source event anywhere in the world<BR><A href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target=_blank>http://moblin-contest.org/redirect.php?banner_id=100&url=/</A><BR>_______________________________________________<BR>mpls-linux-general mailing list<BR><A href="mailto:mpl...@li...">mpl...@li...</A><BR><A href="https://lists.sourceforge.net/lists/listinfo/mpls-linux-general" target=_blank>https://lists.sourceforge.net/lists/listinfo/mpls-linux-general</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE> |