Re: [mpls-linux-general] Mapping traffic to a LSP using iptables
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-04-28 13:04:03
|
Just for sanity sake do a 'which iptables' to make sure your
running the binary from the RPM. If that checks out then do a
strace -f iptables <your parameters from before>
You'll probably want to redirect the output to a file. Look through that
output for where it tries to load libipt_spec_nh.so, check to see what
error number is being returned. Send that portion of the output to
the list.
On Thu, Apr 28, 2005 at 09:21:32AM +0200, Claus Holst wrote:
> The RPM lists the /lib/iptables/libipt_spec_nh.so file. I have always
> executed the commands when logged in as root.
>=20
> On Tue, Apr 26, 2005 at 06:09:58PM +0200, Claus Holst wrote:
> > I cannot get to the machines at the moment, but what should I be lookin=
g=20
> > for in the output?
>=20
> In particular you are looking to make sure the RPM lists the file:
>=20
> /lib/iptables/libipt_spec_nh.so
>=20
> and that the file exists on the system. If is does then is must be
> something about how it's being called (not being run as root etc) and
> we will have to do some tracing to see what is happening.
>=20
> In the future please use 'wide' reply (ie reply to the list and to me).
> Thanks
>=20
> > James R. Leu wrote:
> >=20
> > > Do a 'rpm -ql iptables' and send the output to the list.
> > >=20
> > > On Tue, Apr 26, 2005 at 05:44:32PM +0200, Claus Holst wrote:
> > >=20
> > >=20
> > > > I downloaded the RPM from=20
> > > > http://prdownloads.sourceforge.net/mpls-linux/iptables-1.2.11-3.1.F=
C3mpls1_946.i386.rpm?download
> > > >=20
> > > > /Claus
> > > >=20
> > > > James R. Leu wrote:
> > > >=20
> > > > =20
> > > >=20
> > > > > Did you download the iptables RPM from http://mpls-linux.sf.net/
> > > > > or patch/compile iptables by hand?
> > > > >=20
> > > > > On Tue, Apr 26, 2005 at 02:41:18PM +0200, Claus Holst wrote:
> > > > >=20
> > > > >=20
> > > > > =20
> > > > >=20
> > > > > > After executing the following commands:
> > > > > >=20
> > > > > > mpls nhlfe add key 0
> > > > > > mpls nhlfe change key 0x2 instructions push gen 10000 nexthop e=
th0 ipv4=20
> > > > > > 130.225.185.243
> > > > > > iptables -A OUTPUT -d 130.225.185.241 -j spec_nh --spec_nh 0x88=
47:0x2
> > > > > >=20
> > > > > > I get the following error:
> > > > > >=20
> > > > > > iptables: No chain/target/match by that name
> > > > > >=20
> > > > > > I guess it is the target that is wrong?
> > > > > >=20
> > > > > > Regards,
> > > > > > Claus
> > > > > >=20
> > > > > >=20
> > > > > >=20
> > > > > > -------------------------------------------------------
> > > > > > SF email is sponsored by - The IT Product Guide
> > > > > > Read honest & candid reviews on hundreds of IT Products from re=
al users.
> > > > > > Discover which products truly live up to the hype. Start readin=
g now.
> > > > > > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
> > > > > > _______________________________________________
> > > > > > mpls-linux-general mailing list
> > > > > > mpl...@li...
> > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
> > > > > >=20
> > > > > >=20
> > > > > > =20
> > > > > >=20
> > > > > =20
> > > > --=20
> > > > No virus found in this outgoing message.
> > > > Checked by AVG Anti-Virus.
> > > > Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25-04-2=
005
> > > > =20
> > > >=20
> > >=20
> >=20
> > --=20
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25-04-2005
>=20
> --=20
> James R. Leu
> jl...@mi...
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=3D105hix
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--=20
James R. Leu
jl...@mi...
|