Re: [mpls-linux-general] waiting for your feedback
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-06-07 14:14:20
|
Sorry about the delay.
I've been doing some thinking on this and I just want to make sure you have
everything setup correctly. Without the iptables commands, do your test
packets go out the correct interface? (ie is there a IPv4 route for the
destination address). I would make sure you can get this working via
IPv4 before adding in MPLS. After you have it work via IPv4, then add MPLS
and remove any IPv4 routing info on the LSR.
For further testing of iptables and spec_nh, change the following lines in
the target() function (from net/ipv4/netfilter/ipt_spec_nh.c):
if ((spec_nh = spec_nh_find(spec_nh_info->proto)))
spec_nh->func((*pskb)->dst, spec_nh_info->data, spec_nh);
-- to --
printk("SPEC_NH proto: 0x%04x\n", spec_nh_info->proto);
if ((spec_nh = spec_nh_find(spec_nh_info->proto))) {
printk("SPEC_NH ptr: %p\n", spec_nh);
spec_nh->func((*pskb)->dst, spec_nh_info->data, spec_nh);
}
These printks will result show up in the output of dmesg after you have tried
to send traffic that hits this rule in iptables.
On Mon, Jun 07, 2004 at 07:44:11AM +0300, Itrat Rasod Quadri wrote:
> Hello,
>
> I am waiting for your feedback regarding iptables. Kindly give me further
> guidance.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
> >From Windows to Linux, servers to mobile, InstallShield X is the one
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--
James R. Leu
jl...@mi...
|