Re: [mpls-linux-general] Is possible to strip-on labels on traffic incoming/outgoing to/from specifi
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-10-11 14:14:10
|
On Thu, Sep 29, 2005 at 05:17:16PM -0400, Rodzina Adamsow wrote: > Hello, >=20 > I was looking in achival postings and documentation and I could not find > answer for my question. Is possible to use mpls to put labels on packets > outgoing from specific ports ? >=20 > If I make commands: >=20 > #mpls nhlfe add key 0 > #mpls nhlfe change key 0x02 instructions push gen 90115 nexthop eth0 > ipv4 117.102.93.81 > #ip route add 117.102.93.81/32 via 117.102.93.81 spec_nh 0x8847 0x2 >=20 > then all packets going to 117.102.93.81 will have label 90115. Yes, use the iptables interface to MPLS which would be something like: iptables -d 117.102.93.81/32 -m tcp --port 20 -j spec_nh --spec_nh 0x8847:0= x2 >=20 > But what if there are multiple services with different output ports and= =20 > there is a need only to label outgoing packets from one certain service? > For example SSH @ port 22 of FTP @ port 20 ? >=20 > And similar question about incoming traffic. > Is possible to strip-off labels from packets incoming to specific port? > For example Samba @ port 612 ? >=20 > And one more thing. > Is hrere anyone who succesfully installed zebra-0.94-1+ldp0.310.i386.rpm > and quagga-0.97.3-1.FC3mpls1_946a.i386.rpm on OS with > libreadline.so.4.3 ? >=20 > I have libreadline.so.4.3 and I got errors: > rpm -iv zebra-0.94-1+ldp0.310.i386.rpm > error: Failed dependencies: > libreadline.so.4 is needed by zebra-0.94-1+ldp0.310 >=20 > rpm -iv quagga-0.97.3-1.FC3mpls1_946a.i386.rpm > error: Failed dependencies: > libreadline.so.4 is needed by quagga-0.97.3-1.FC3mpls1_946a >=20 >=20 > Whjat is wrong? > Do I have to install older version of libreadline.so ? >=20 > Thank U for help in advance. > Robert >=20 >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |