Re: [mpls-linux-general] Need yur help again
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2002-09-17 11:22:59
|
README.ingress was a howto for ingress based policing. You can still do ingress based policing but I have not re-written the howto for this. If you are realy trying to do ingress based policing, figure out how to do it without MPLS and I can add the deftails of howto make it work with MPLS. What are you trying to do? If you are just trying to map traffic to an LSP you can use 1 of 3 metods. Modified iproute2, modified iptables, mpls tunnel interface. modified iproute2 (after you have patched and compiled iproute2): ip route add 1.1.1.0/24 via 2.2.2.2 lsp 0x2 modified iptables (after you have patched and compiled iptables): iptables -A OUTPUT -t mangle -d 1.1.1.0/24 -j --set-key 0x2 mpls tunnel inteface: mplsadm2 -A -T mpls0 mplsadm2 -A -T mpls0 -B -O 0x2 ifconfig mpls0 up ifconfig mpls0 0.0.0.0 route add -net 1.1.1.0/24 mpls0 In all of the above examples 0x2 is the index of an outlabel you have created. Jim BTW all of the above examples are in the documentation in either the pactches directory or in utils directory. On Tue, Sep 17, 2002 at 06:50:28AM +0000, Sunny Emmanuel wrote: > > Hi, > > I been able to make an mpls domain having 3 LSRs and 2 stub networks. Its > the same example that comes with yur previous patch i.e. mpls-linux-1.0 > (docs/README.ingress) I am following the same steps as mentioned by u but am > not been able to ping from Host A(10.1.1.2) to Host B(10.2.1.10). am using > linux-2.4.19 and mpls-linux-1.170. Further, the file README.ingress is not > present in mpls-linux-1.170. Pls tell me wht to do. Should i use > ldp-portable-0.200. Pls help me. > > I look forward for yur reply. > > Thankz > > Sunny Emmanuel > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > ------------------------------------------------------- > Sponsored by: AMD - Your access to the experts on Hammer Technology! > Open Source & Linux Developers, register now for the AMD Developer > Symposium. Code: EX8664 http://www.developwithamd.com/developerlab > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |