mpls-linux-general Mailing List for MPLS for Linux (Page 103)
Status: Beta
Brought to you by:
jleu
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(26) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(22) |
Feb
(19) |
Mar
(19) |
Apr
(45) |
May
(52) |
Jun
(101) |
Jul
(79) |
Aug
(24) |
Sep
(43) |
Oct
(54) |
Nov
(71) |
Dec
(53) |
| 2002 |
Jan
(111) |
Feb
(123) |
Mar
(67) |
Apr
(61) |
May
(75) |
Jun
(26) |
Jul
(36) |
Aug
(41) |
Sep
(79) |
Oct
(85) |
Nov
(58) |
Dec
(39) |
| 2003 |
Jan
(26) |
Feb
(61) |
Mar
(80) |
Apr
(56) |
May
(39) |
Jun
(44) |
Jul
(28) |
Aug
(25) |
Sep
(4) |
Oct
(20) |
Nov
(38) |
Dec
(9) |
| 2004 |
Jan
(14) |
Feb
(14) |
Mar
(68) |
Apr
(17) |
May
(45) |
Jun
(42) |
Jul
(41) |
Aug
(23) |
Sep
(46) |
Oct
(89) |
Nov
(55) |
Dec
(33) |
| 2005 |
Jan
(74) |
Feb
(39) |
Mar
(105) |
Apr
(96) |
May
(43) |
Jun
(48) |
Jul
(21) |
Aug
(22) |
Sep
(33) |
Oct
(28) |
Nov
(29) |
Dec
(81) |
| 2006 |
Jan
(37) |
Feb
(32) |
Mar
(147) |
Apr
(37) |
May
(33) |
Jun
(28) |
Jul
(15) |
Aug
(20) |
Sep
(15) |
Oct
(23) |
Nov
(30) |
Dec
(40) |
| 2007 |
Jan
(20) |
Feb
(24) |
Mar
(65) |
Apr
(69) |
May
(41) |
Jun
(53) |
Jul
(39) |
Aug
(76) |
Sep
(53) |
Oct
(43) |
Nov
(26) |
Dec
(24) |
| 2008 |
Jan
(19) |
Feb
(67) |
Mar
(91) |
Apr
(75) |
May
(47) |
Jun
(63) |
Jul
(68) |
Aug
(39) |
Sep
(44) |
Oct
(33) |
Nov
(62) |
Dec
(84) |
| 2009 |
Jan
(14) |
Feb
(39) |
Mar
(55) |
Apr
(63) |
May
(16) |
Jun
(9) |
Jul
(4) |
Aug
(6) |
Sep
(1) |
Oct
(2) |
Nov
(10) |
Dec
(5) |
| 2010 |
Jan
(3) |
Feb
(1) |
Mar
(5) |
Apr
(13) |
May
(4) |
Jun
(5) |
Jul
(2) |
Aug
(8) |
Sep
(6) |
Oct
(1) |
Nov
(2) |
Dec
(2) |
| 2011 |
Jan
(1) |
Feb
(21) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(6) |
Sep
|
Oct
|
Nov
(2) |
Dec
(6) |
| 2012 |
Jan
(5) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(5) |
Aug
(3) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
|
From: priya S. <mpl...@ya...> - 2004-03-23 18:19:10
|
haii
I have this problem with lsp setup. I have a
simple network setup as shown below.
---- LSR1 ----
| |
Host1 --- LER1 LER2--- Host2
| |
---- LSR2 ----
I have a IP to FEC binding in LER2 and the routing
table and mpls_out contents are as below (which is
fine and as expected)
root@localhost LER2]# ip route sh
10.0.4.0/24 dev eth1 scope link
10.0.1.0/24 via 10.0.3.1 dev eth2 lsp 0x3 proto zebra
metric 20 equalize
10.0.3.0/24 dev eth2 scope link
10.0.12.0/24 dev eth0 scope link
127.0.0.0/8 dev lo scope link
[root@localhost LER2]# cat /proc/net/mpls_out
0x00000003 68500/5753838/0 2 PUSH(gen 10002)
SET(eth2,10.0.3.1)
0x00000004 447/36612/0 1 PUSH(gen 10005)
SET(eth2,10.0.3.1)
0x00000008 15/738/0 1 PUSH(gen 10020)
SET(eth2,10.0.3.1)
BUT, I donot have a similar IP--FEC binding at LER1.
The ip route show and the cat /proc/net/mpls_out
commands show the following output (which packets take
which LSPs-- 0x1a or 0x1b in mpls_out below)
[root@localhost LER1]# ip route sh
10.0.4.0/24 via 10.0.2.2 dev eth2 proto zebra metric
20 equalize
10.0.1.0/24 dev eth1 scope link
10.0.2.0/24 dev eth2 scope link
10.0.3.0/24 via 10.0.1.2 dev eth1 proto zebra metric
20 equalize
10.0.12.0/24 via 10.0.1.2 dev eth1 proto zebra
metric 30 equalize
10.0.11.0/24 dev eth0 scope link
127.0.0.0/8 dev lo scope link
[root@localhost LER1]# cat /proc/net/mpls_out
0x0000001a 2845/238980/0 2 PUSH(gen 10109)
SET(eth1,10.0.1.2)
0x0000001b 0/0/0 1 PUSH(gen 10111) SET(eth1,10.0.1.2)
What could be the problem? The FEC binding at LER2 was
automatic but not at the LER1. I just enabled the
interfaces for LER1, LSR1 , LSR2, LER2 on the mpls
network using "mpls ldp".
Also please let me know if there is any
documentation that could explain as to how the ldp for
mpls-linux sets up labels for all the networks in the
LSRs and LERs.
Thanks in advance
Praveen
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time. |
|
From: James R. L. <jl...@mi...> - 2004-03-22 03:27:00
|
I think you do not understand the purpose of the 'ip route'
commands. They are only needed on the LERs and are supposed to map
traffic to the LSP.
In this example you will want the ingress route to be the interface
address of the egress, and vice versa.
The LSRs do not need 'ip route' they are not supposed to be routing,
they are 'switching'
On Sun, Mar 21, 2004 at 09:11:28PM +0300, iq...@cc... wrote:
> These are all the commands I have executed on all the boxes respectively
>
> List of commands for ingress
>
> mplsadm2 -A -O 0
> mplsadm2 -O 0x2 -o push:gen:16:set:eth0:ipv4:172.16.70.86
> iproute add 172.16.70.86/32 via 172.16.70.86 lsp 0x2
^^^^^^^^^^^^
172.16.70.83?
> mplsadm2 -L eth0:0
> mplsadm2 -A -I gen:19:0
>
> List of commands for egress
>
> mplsadm2 -A -O 0
> mplsadm2 -O 0x2 -o push:gen:17:set:eth0:ipv4:172.16.70.83
> iproute add 172.16.70.83/32 via 172.16.70.83 lsp 0x2
^^^^^^^^^^^^
172.16.70.86?
> mplsadm2 -L eth0:0
> mplsadm2 -A -I gen:18:0
>
> List of commands for LSR
>
> mplsadm2 -A -O 0
> mplsadm2 -O 0x2 -o push:gen:18:set:eth1:ipv4:172.16.70.82
> iproute add 172.16.70.82/32 via 172.16.70.82 lsp 0x2
>
> mplsadm2 -A -O 0
> mplsadm2 -O 0x3 -o push:gen:19:set:eth0:ipv4:172.16.70.87
> iproute add 172.16.70.87/32 via 172.16.70.87 lsp 0x3
>
> mplsadm2 -L eth0:0
> mplsadm2 -A -I gen:16:0
>
> mplsadm2 -L eth1:0
> mplsadm2 -A -I gen:17:0
>
> mplsadm2 -B -I gen:16:0 -O 0x2
> mplsadm2 -B -I gen:17:0 -O 0x3
>
> Hopefully now you can catch my mistake. Thanks in advance.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--
James R. Leu
jl...@mi...
|
|
From: <iq...@cc...> - 2004-03-21 17:36:07
|
These are all the commands I have executed on all the boxes respectively List of commands for ingress mplsadm2 -A -O 0 mplsadm2 -O 0x2 -o push:gen:16:set:eth0:ipv4:172.16.70.86 iproute add 172.16.70.86/32 via 172.16.70.86 lsp 0x2 mplsadm2 -L eth0:0 mplsadm2 -A -I gen:19:0 List of commands for egress mplsadm2 -A -O 0 mplsadm2 -O 0x2 -o push:gen:17:set:eth0:ipv4:172.16.70.83 iproute add 172.16.70.83/32 via 172.16.70.83 lsp 0x2 mplsadm2 -L eth0:0 mplsadm2 -A -I gen:18:0 List of commands for LSR mplsadm2 -A -O 0 mplsadm2 -O 0x2 -o push:gen:18:set:eth1:ipv4:172.16.70.82 iproute add 172.16.70.82/32 via 172.16.70.82 lsp 0x2 mplsadm2 -A -O 0 mplsadm2 -O 0x3 -o push:gen:19:set:eth0:ipv4:172.16.70.87 iproute add 172.16.70.87/32 via 172.16.70.87 lsp 0x3 mplsadm2 -L eth0:0 mplsadm2 -A -I gen:16:0 mplsadm2 -L eth1:0 mplsadm2 -A -I gen:17:0 mplsadm2 -B -I gen:16:0 -O 0x2 mplsadm2 -B -I gen:17:0 -O 0x3 Hopefully now you can catch my mistake. Thanks in advance. |
|
From: James R. L. <jl...@mi...> - 2004-03-20 18:02:50
|
Did you bind a route to the LSP? Show me all of the command you have executed on each box and maybe I can point out any mistakes. On Sat, Mar 20, 2004 at 06:00:41PM +0300, iq...@cc... wrote: > Thanks for the idea, I overcame the problem of > > Bind In2Out add:No such process > > Now I have the following entries in mpls_in on my LSR > > 0x40004400 19/1672/0 gen 17 0 8 POP FWD(0x00000002) > 0x40004000 14/1232/0 gen 16 0 3 POP FWD(0x00000003) > > but I still am unable to ping Egress from Ingress. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2004-03-20 18:01:09
|
0x8847 is MPLS's protocol id. (think ethernet header) On Sat, Mar 20, 2004 at 12:22:51PM +0100, Zordan Arres wrote: > > > Try this command instead: > > > > > > /sbin/iptables -A OUTPUT -d 1.1.1.2/32 -j spec_nh --spec_nh > > 0x8847:0x2 > > > > > > Where 1.1.1.2/32 is some destination you want mapped to the LSP and > > > 0x2 is the key for the out-going label. > > Ok, it seems to work ... But what means the 0x8847 ? > Are there any changes on other commands ? Yes. the iproute2 command has changed in a similar way: ip route add 1.1.1.1/32 via 11.0.1.2 spec_nh 0x8847 0x2 > Thanks for your quick help > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: <iq...@cc...> - 2004-03-20 14:25:25
|
Thanks for the idea, I overcame the problem of Bind In2Out add:No such process Now I have the following entries in mpls_in on my LSR 0x40004400 19/1672/0 gen 17 0 8 POP FWD(0x00000002) 0x40004000 14/1232/0 gen 16 0 3 POP FWD(0x00000003) but I still am unable to ping Egress from Ingress. |
|
From: Zordan A. <zor...@gm...> - 2004-03-20 11:23:03
|
> > Try this command instead: > > > > /sbin/iptables -A OUTPUT -d 1.1.1.2/32 -j spec_nh --spec_nh > 0x8847:0x2 > > > > Where 1.1.1.2/32 is some destination you want mapped to the LSP and > > 0x2 is the key for the out-going label. Ok, it seems to work ... But what means the 0x8847 ? Are there any changes on other commands ? Thanks for your quick help |
|
From: James R. L. <jl...@mi...> - 2004-03-20 03:19:53
|
See question in line. On Sat, Mar 13, 2004 at 11:23:17AM +0300, Itrat Rasod Quadri wrote: > mpls_* for my ingress is > > 0x40004c00 6/528/0 gen 19 0 7 POP PEEK > eth0 0 10 > 0x00000002 9/756/0 1 PUSH(gen 16) SET(eth0,172.16.70.86) > > mpls_* for my egress is > > 0x40004800 2/176/0 gen 18 0 3 POP PEEK > eth0 0 9 > 0x00000002 9/756/0 1 PUSH(gen 17) SET(eth0,172.16.70.83) > > mpls_out for my LSR is > > 0x00000002 6/504/0 1 PUSH(gen 19) SET(eth0,172.16.70.87) > 0x00000003 45/3780/0 1 PUSH(gen 18) SET(eth1,172.16.70.82) > What is the contents of mpls_in on the LSR? > Now when I try to run > > ./mplsadm2 -B -I gen:17:0 -O 0x2 > > I get the message > > Bind In2Out add:No such process > > What am I doing wrong > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: Itrat R. Q. <iq...@cc...> - 2004-03-20 03:10:14
|
Can you kindly look into my previous mail regarding the setting up of LSR. I will be glad if you can give me some direction. |
|
From: James R. L. <jl...@mi...> - 2004-03-19 15:25:40
|
On Fri, Mar 19, 2004 at 01:26:08PM +0100, Zordan Arres wrote: > $ rpm -qa | grep iptables > iptables-ipv6-1.2.9-1.2spec_nh1 > iptables-1.2.9-1.2spec_nh1 > > $rpm -ql iptables-1.2.9-1.2spec_nh1 > ... > /sbin/iptables > /sbin/iptables-restore > /sbin/iptables-save > ... > > $which iptables > /usr/local/sbin/iptables > > but even when i used > $ /sbin/iptables -t mangle -A OUTPUT -j MPLS --set-key 0x2 You are running a 2.6 kernel? The format of the iptables and iproute commands have changed (with respect to MPLS). I have implemented a non-MPLS specific nexthop system called (SPEC NH for special nexthop). The SPEC NH system is implemented in the 2.6 kernels and not in the 2.4 kernels. Try this command instead: /sbin/iptables -A OUTPUT -d 1.1.1.2/32 -j spec_nh --spec_nh 0x8847:0x2 Where 1.1.1.2/32 is some destination you want mapped to the LSP and 0x2 is the key for the out-going label. > the same error occured: > couldn't load target: /usr/local/lib/iptables/libipt_MPLS.so: cannot open > shared object file > > $iptables --version > iptables-1.2.9 > > > Today i checked your P4-dir and i found a libipt_MPLS.c . I tried to copy > that file > into my extension dir and recompile it. but then it stopped because the > lib6ipt_MPLS.c > wasn't found ... and that file isn't in the p4-dir. > > first i used the rpm (even that doesn't work), then i found another > extension for > iptables that i want to use (layer 7 filter at sourceforge) and so i get > your sources and patch them. > the result is that the new extension works very well, but not the mpls ... > did i forget anything ? > > hope you can help me > > zordan > > -- > +++ NEU bei GMX und erstmalig in Deutschland: T?V-gepr?fter Virenschutz +++ > 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2004-03-19 15:18:25
|
This is behaving as designed. When the interface goes down, MPLS needs to release all of the info for that interface. In the case of out segments it just removed the nexthop info. On Fri, Mar 19, 2004 at 04:54:40PM +1100, Jon...@cs... wrote: > Dear all, >=20 > Just wondering if this is a desirable feature or not... >=20 > I use mplsadm2 to set up a LSP across three Linux mpls boxes (say, A, B > and C). If I rebooted box B, the next hop information of box A > "sometimes" disappeared!!! >=20 > For example, the original information of /proc/net/mpls_out was like > this: >=20 > 0x0000000e 0/0/0 2 PUSH(gen 712111) SET(eth2,10.70.10.1)=20 > 0x0000000f 0/0/0 2 PUSH(gen 712112) SET(eth2,10.70.10.1)=20 > 0x00000010 0/0/0 2 SET(eth1,10.60.10.2)=20 >=20 > If I rebooted the next hop mpls router (10.70.10.1), the section > "SET(eth2,10.70.10.1)" was automatically removed from the > /proc/net/mpls_out. i.e. the file looked like this: >=20 > 0x0000000e 1476/157256/0 2 PUSH(gen 712111)=20 > 0x0000000f 1549/168728/0 2 PUSH(gen 712112)=20 > 0x00000010 2977/311864/0 2 SET(eth1,10.60.10.2)=20 >=20 > Is it supposed to be like this?? >=20 > Thanks for your comments... >=20 > Best Regards, > Jonathan >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op?k > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |
|
From: Zordan A. <zor...@gm...> - 2004-03-19 12:26:26
|
$ rpm -qa | grep iptables iptables-ipv6-1.2.9-1.2spec_nh1 iptables-1.2.9-1.2spec_nh1 $rpm -ql iptables-1.2.9-1.2spec_nh1 ... /sbin/iptables /sbin/iptables-restore /sbin/iptables-save ... $which iptables /usr/local/sbin/iptables but even when i used $ /sbin/iptables -t mangle -A OUTPUT -j MPLS --set-key 0x2 the same error occured: couldn't load target: /usr/local/lib/iptables/libipt_MPLS.so: cannot open shared object file $iptables --version iptables-1.2.9 Today i checked your P4-dir and i found a libipt_MPLS.c . I tried to copy that file into my extension dir and recompile it. but then it stopped because the lib6ipt_MPLS.c wasn't found ... and that file isn't in the p4-dir. first i used the rpm (even that doesn't work), then i found another extension for iptables that i want to use (layer 7 filter at sourceforge) and so i get your sources and patch them. the result is that the new extension works very well, but not the mpls ... did i forget anything ? hope you can help me zordan -- +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz |
|
From: <Jon...@cs...> - 2004-03-19 05:55:17
|
Dear all, Just wondering if this is a desirable feature or not... I use mplsadm2 to set up a LSP across three Linux mpls boxes (say, A, B and C). If I rebooted box B, the next hop information of box A "sometimes" disappeared!!! For example, the original information of /proc/net/mpls_out was like this: 0x0000000e 0/0/0 2 PUSH(gen 712111) SET(eth2,10.70.10.1)=20 0x0000000f 0/0/0 2 PUSH(gen 712112) SET(eth2,10.70.10.1)=20 0x00000010 0/0/0 2 SET(eth1,10.60.10.2)=20 If I rebooted the next hop mpls router (10.70.10.1), the section "SET(eth2,10.70.10.1)" was automatically removed from the /proc/net/mpls_out. i.e. the file looked like this: 0x0000000e 1476/157256/0 2 PUSH(gen 712111)=20 0x0000000f 1549/168728/0 2 PUSH(gen 712112)=20 0x00000010 2977/311864/0 2 SET(eth1,10.60.10.2)=20 Is it supposed to be like this?? Thanks for your comments... Best Regards, Jonathan |
|
From: James R. L. <jl...@mi...> - 2004-03-18 17:59:42
|
Most likely you are not running the correct copy of iptables. (or you do not have permission to load the iptables extentions). Do a: rpm -qa | grep iptables Then do a 'rpm -ql' with the result from the previous command. For example: [jleu jleu-laptop 11:49am] ~-> rpm -qa | grep iptables iptables-1.2.9-2.3.1spec_nh iptables-ipv6-1.2.9-2.3.1spec_nh [jleu jleu-laptop 11:50am] ~-> rpm -ql iptables-1.2.9-2.3.1spec_nh /etc/rc.d/init.d/iptables /etc/sysconfig/iptables-config /lib/iptables /lib/iptables/libipt_CLASSIFY.so /lib/iptables/libipt_CONNMARK.so ... Then do a 'which iptables' and make sure the path to the one your running matches the path to the one in the RPM. If you still can't figure it out, send me the full script of a terminal session where you execute the above commands, the command you are trying to get working, and a 'iptables --version' On Thu, Mar 18, 2004 at 05:12:00PM +0100, Zordan Arres wrote: > Hello, > > i'm just new with mpls for linux. > i've installed all the packages from the dl-archiv and tried to > make a rule in iptables like this: > iptables -A OUPUT -d 192.168.13.1 -t mangle -j MPLS --set-key 0x2 > > at first the command set-key wasn't found and when i del it from > the command i get the error: libipt_MPLS.so wasn't found ... > > what did i wrong and how can i fix it? why didn't the rpm install the .so ? > > > best regards > > Zordan Arres > > -- > +++ NEU bei GMX und erstmalig in Deutschland: T?V-gepr?fter Virenschutz +++ > 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: Zordan A. <zor...@gm...> - 2004-03-18 16:12:07
|
Hello, i'm just new with mpls for linux. i've installed all the packages from the dl-archiv and tried to make a rule in iptables like this: iptables -A OUPUT -d 192.168.13.1 -t mangle -j MPLS --set-key 0x2 at first the command set-key wasn't found and when i del it from the command i get the error: libipt_MPLS.so wasn't found ... what did i wrong and how can i fix it? why didn't the rpm install the .so ? best regards Zordan Arres -- +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz |
|
From: Itrat R. Q. <iq...@cc...> - 2004-03-13 08:10:08
|
mpls_* for my ingress is 0x40004c00 6/528/0 gen 19 0 7 POP PEEK eth0 0 10 0x00000002 9/756/0 1 PUSH(gen 16) SET(eth0,172.16.70.86) mpls_* for my egress is 0x40004800 2/176/0 gen 18 0 3 POP PEEK eth0 0 9 0x00000002 9/756/0 1 PUSH(gen 17) SET(eth0,172.16.70.83) mpls_out for my LSR is 0x00000002 6/504/0 1 PUSH(gen 19) SET(eth0,172.16.70.87) 0x00000003 45/3780/0 1 PUSH(gen 18) SET(eth1,172.16.70.82) Now when I try to run ./mplsadm2 -B -I gen:17:0 -O 0x2 I get the message Bind In2Out add:No such process What am I doing wrong |
|
From: James R. L. <jl...@mi...> - 2004-03-11 20:07:57
|
On Fri, Mar 12, 2004 at 12:37:53AM +0530, K Santhosh Kumar wrote:
> Hi
>
> I am getting the following error ('Illegal seek') when
> I created an out label. But /proc/net/mpls_out shows the right entries.
> I checked the LSP. It is working properly i.e.,
> the destination machine pinging properly using the lsp I created.
> Even turning on debugging mode does not help.
>
> I do not understand what this error stands for? Any ideas.....
>
>
>
> [root@veronica root]# mplsadm2 -A -O 1 -o push:gen:18:set:eth0:ipv4:10.105.1.26
> Key: 0x00000003
> Out Segment add: Success
> Out Instr: Illegal seek
The problem is a bug with older version of mplsadm2. You cannot create an
outsegment and set it's instructions in one command. Do it in two commands
and it will work fine:
mplsadm2 -A -O 0
mplsadm2 -O <key output from previous command> -o push:gen:18:set:eth0:ipv4:10.105.1.26
> -----------------------
> If you don't stand for something, you'll fall for everything.
> visit me at
> www.cse.iitb.ac.in/~santhosh
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--
James R. Leu
jl...@mi...
|
|
From: K S. K. <san...@cs...> - 2004-03-11 19:31:42
|
Hi
I am getting the following error ('Illegal seek') when
I created an out label. But /proc/net/mpls_out shows the right entries.
I checked the LSP. It is working properly i.e.,
the destination machine pinging properly using the lsp I created.
Even turning on debugging mode does not help.
I do not understand what this error stands for? Any ideas.....
[root@veronica root]# mplsadm2 -A -O 1 -o push:gen:18:set:eth0:ipv4:10.105.1.26
Key: 0x00000003
Out Segment add: Success
Out Instr: Illegal seek
-----------------------
If you don't stand for something, you'll fall for everything.
visit me at
www.cse.iitb.ac.in/~santhosh
|
|
From: James R. L. <jl...@mi...> - 2004-03-10 15:44:09
|
Are you running a MPLS enabled kernel? Which version? Take a look at http://mpls-linux.sf.net/ on how to get debugging info for mplsadm2 issues. On Wed, Mar 10, 2004 at 04:07:18PM +0100, Jung Janos wrote: > Hi! > > I have a simple network...: > > > > > > > PC2 PC1 > 10.130.0.0/16 > eth0 -----------switch------eth1 > 0.6 0.20 > --------- --------- > | | | | > | | | | > | | | | > --------- --------- > 0.6 0.20 > eth1------------switch------eth0 > 10.131.0.0/16 > > PC2 sends on his eth0 interface MPLS packets with label=1024 (not via > mplsadm) > (with destination IP=10.131.0.6 (his other IP)) > PC1 receives this packets, and i would like PC1 to pop the label > and forward it as an IP packet (check the route table, and then > forward it to PC2-eth1) > PC1 runns mplsadm2... > > How should i do that? > > i tried: > PC1: > mplsadm2 -vL eth1:0 > mplsadm2 -vAI gen:1024:0 > mplsadm2 -vI gen:1024:0 -i pop:peek > no such device or address > > any idea????????? > How should i do that? > > Regards > JJ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: Jung J. <jj...@hs...> - 2004-03-10 15:25:04
|
Hi! I have a simple network...: PC2 PC1 10.130.0.0/16 eth0 -----------switch------eth1 0.6 0.20 --------- --------- | | | | | | | | | | | | --------- --------- 0.6 0.20 eth1------------switch------eth0 10.131.0.0/16 PC2 sends on his eth0 interface MPLS packets with label=1024 (not via mplsadm) (with destination IP=10.131.0.6 (his other IP)) PC1 receives this packets, and i would like PC1 to pop the label and forward it as an IP packet (check the route table, and then forward it to PC2-eth1) PC1 runns mplsadm2... How should i do that? i tried: PC1: mplsadm2 -vL eth1:0 mplsadm2 -vAI gen:1024:0 mplsadm2 -vI gen:1024:0 -i pop:peek no such device or address any idea????????? How should i do that? Regards JJ |
|
From: Mahalakshmi <ma...@ma...> - 2004-03-10 12:28:57
|
Hi, Iam working on setting up an environment of MPLS with Traffic = Engineering capability.Can anybody let me know where I can get the = source code for MPLS-TE, RSVP-TE and OSPF-TE? Thanks & Regards, Mahalakshmi.S ********************************************************* Disclaimer This message (including any attachments) contains=20 confidential information intended for a specific=20 individual and purpose, and is protected by law.=20 If you are not the intended recipient, you should=20 delete this message and are hereby notified that=20 any disclosure, copying, or distribution of this message, or the taking of any action based on it,=20 is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com |
|
From: James R. L. <jl...@mi...> - 2004-03-08 01:29:46
|
All development is occuring on 2.6. I suggest moving to a 2.6 UML kernel. I use UML for my development environment. Get mpls-linux-1.922.tar.gz from: http://sourceforge.net/project/showfiles.php?group_id=15443 You might want to check out some of the UML tools I have posted to ftp://nero.doit.wisc.edu/pub/uml/ On Mon, Mar 08, 2004 at 12:57:01AM +0100, Josef Perlinger wrote: > Greetings to all, > > I use Debian sarge and want to do some MPLS Network Simulation with User > Mode Linux > > i have the Kernel 2.4.24 and wanted to patch it with the MPLS > linux-kernel.diff to > enable the MPLS Support. > > but i always get errors when i want to make a Kernel Package for the UML > MPLS Kernel: > > With linux-kernel-patch.diff (Version 1.722) I get the following error > message: > > vmlinux.o(.text+0xfa568): In function `rt_set_nexthop': > : undefined reference to `mpls_set_nexthop' > vmlinux.o(.text+0x1275f9): In function `inet_ioctl': > : undefined reference to `mpls_ioctl' > vmlinux.o(__ksymtab+0x2750): undefined reference to `mpls_output' > vmlinux.o(__ksymtab+0x2758): undefined reference to `mpls_get_moi' > vmlinux.o(__ksymtab+0x2760): undefined reference to `mpls_set_nexthop' > collect2: ld returned 1 exit status > make[1]: *** [linux] Error 1 > make[1]: Leaving directory > `/root/user-mode-linux-2.4.24-1um/kernel-source-2.4.24' > make: *** [build-stamp] Error 2 > > With linux-kernel-patch.diff (Version 1.922) I get the following error > message: > > vmlinux.o(.text+0x115be7): In function `rt_set_nexthop': > /root/user-mode-linux-2.4.24-1um/kernel-source-2.4.24/net/ipv4/route.c:1282: > undefined reference to `spec_nh_find' > vmlinux.o(.text.init+0x8d7d): In function `net_dev_init': > /root/user-mode-linux-2.4.24-1um/kernel-source-2.4.24/net/core/dev.c:2882: > undefined reference to `spec_nh_init' > > > Can anyone send me the right patch, or has anyone experiences with debian, > mpls and usermodelinux? > > > I hope anyone can help me, i stuck at this problem for a long time now. > > Best regards > > Josef > > Josef Perlinger > Student FH-Sbg/TKS 2000 > Tel.: +43 664 4024906 > ICQ: 166227595 > Email: jo...@pe... > Austria > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2004-03-08 01:25:31
|
What mplsadm2 command did you use to create the outgoing label? On Sun, Mar 07, 2004 at 04:02:23PM +0300, iq...@cc... wrote: > After I carry out the following command > > ip route add 11.0.1.2/32 via 11.0.1.2 lsp 0x2 > > and then do "cat /proc/net/mpls_out" > > I get "0x00000002 0/0/0 1 PUSH(gen 10000) SET(eth1,255.255.255.255)" > > instead of "0x00000002 0/0/0 1 PUSH(gen 10000) SET(eth1,11.0.1.2)" > > Should I change the mpls_out file myself or is there some way to fix it? > > Waiting for ur help. > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: Josef P. <jo...@pe...> - 2004-03-08 00:13:06
|
Greetings to all, I use Debian sarge and want to do some MPLS Network Simulation with User Mode Linux i have the Kernel 2.4.24 and wanted to patch it with the MPLS linux-kernel.diff to enable the MPLS Support. but i always get errors when i want to make a Kernel Package for the UML MPLS Kernel: With linux-kernel-patch.diff (Version 1.722) I get the following error message: vmlinux.o(.text+0xfa568): In function `rt_set_nexthop': : undefined reference to `mpls_set_nexthop' vmlinux.o(.text+0x1275f9): In function `inet_ioctl': : undefined reference to `mpls_ioctl' vmlinux.o(__ksymtab+0x2750): undefined reference to `mpls_output' vmlinux.o(__ksymtab+0x2758): undefined reference to `mpls_get_moi' vmlinux.o(__ksymtab+0x2760): undefined reference to `mpls_set_nexthop' collect2: ld returned 1 exit status make[1]: *** [linux] Error 1 make[1]: Leaving directory `/root/user-mode-linux-2.4.24-1um/kernel-source-2.4.24' make: *** [build-stamp] Error 2 With linux-kernel-patch.diff (Version 1.922) I get the following error message: vmlinux.o(.text+0x115be7): In function `rt_set_nexthop': /root/user-mode-linux-2.4.24-1um/kernel-source-2.4.24/net/ipv4/route.c:1282: undefined reference to `spec_nh_find' vmlinux.o(.text.init+0x8d7d): In function `net_dev_init': /root/user-mode-linux-2.4.24-1um/kernel-source-2.4.24/net/core/dev.c:2882: undefined reference to `spec_nh_init' Can anyone send me the right patch, or has anyone experiences with debian, mpls and usermodelinux? I hope anyone can help me, i stuck at this problem for a long time now. Best regards Josef Josef Perlinger Student FH-Sbg/TKS 2000 Tel.: +43 664 4024906 ICQ: 166227595 Email: jo...@pe... Austria |
|
From: <iq...@cc...> - 2004-03-07 19:57:46
|
After I carry out the following command ip route add 11.0.1.2/32 via 11.0.1.2 lsp 0x2 and then do "cat /proc/net/mpls_out" I get "0x00000002 0/0/0 1 PUSH(gen 10000) SET(eth1,255.255.255.255)" instead of "0x00000002 0/0/0 1 PUSH(gen 10000) SET(eth1,11.0.1.2)" Should I change the mpls_out file myself or is there some way to fix it? Waiting for ur help. |