Thread: RE: [mpls-linux-general] Egress Router, how?
Status: Beta
Brought to you by:
jleu
|
From: T. T. <t_t...@ho...> - 2004-05-24 09:58:34
|
Hi.
I have a similar problem.
I have executed "MPLS Hierarchy" in README and succeeded to setup 200 and
202 LSP.
101
200 201 202
A------B------C------D
But, I had a problem at "On C" setting about 101 and 201. The command is
# mplsadm2 -I gen:101:0 -i pop:peek
In Instr: No such device or address
It didn't seem to be set properly.
When I have executed "mplsadm2 -d", the output of the above command is
mpls_set_in_label_instructions: enter
mpls_in_info_hold: enter
mpls_in_info_hold: new count 2
mpls_in_info_hold: exit
mpls_instruction_build: enter
mpls_instruction_build: exit(2)
mpls_instruction_clear: enter
mpls_instruction_clear: exit
mpls_in_info_release: enter
mpls_in_info_release: new count 1
mpls_in_info_release: exit
mpls_set_in_label_structions: exit
What should I do?
I hope any help.
>From: Jung Janos <jj...@hs...>
>To: mpl...@li...
>Subject: [mpls-linux-general] Egress Router, how?
>Date: Wed, 10 Mar 2004 16:07:18 +0100 (MET)
>
>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?
_________________________________________________________________
メッセンジャーで総額1億円プレゼント! http://im.msn.co.jp/home.htm
|
|
From: T. T. <t_t...@ho...> - 2004-05-25 02:01:38
|
Mr. Leu Thanks for your quick reply. I have reset LSPs on C as following. # mplsadm2 -L eth1:0 # mplsadm2 -A -I gen:101:0 # mplsadm2 -A -I gen:201:0 # mplsadm2 -I gen:101:0 -i pop:peek In Instr: No such device or address But they seemed to be set properly except the last command again. How should I do this? The information of the machine is OS : Redhat 8.0 kernel : 2.4.22 mpls : mpls-linux-1.172 If you could take a few minutes to answer my question, I would really appreciate it. Best regards >From: "James R. Leu" <jl...@mi...> >Reply-To: jl...@mi... >To: "T. Take" <t_t...@ho...> >CC: mpl...@li... >Subject: Re: [mpls-linux-general] Egress Router, how? >Date: Mon, 24 May 2004 09:05:47 -0500 > >On Mon, May 24, 2004 at 06:58:28PM +0900, T. Take wrote: > > Hi. > > > > I have a similar problem. > > I have executed "MPLS Hierarchy" in README and succeeded to setup 200 and > > 202 LSP. > > > > 101 > > 200 201 202 > > A------B------C------D > >Here is how I do it: > >on C >---- >mplsadm2 -A -I gen:101:0 >mplsadm2 -A -I gen:201:0 >mplsadm2 -I gen:101:0 -i pop:peek > >on B >---- >mplsadm2 -A -O 0 >mplsadm2 -O 0x2 -o push:gen:101:set:eth1:192.169.1.2 >mplsadm2 -A -O 0 >mplsadm2 -O 0x3 -o push:gen:201:fwd:0x2 >mplsadm2 -A -I gen:200:0 >mplsadm2 -B -I gen:200:0 -O 0x3 > > > > > But, I had a problem at "On C" setting about 101 and 201. The command is > > > > # mplsadm2 -I gen:101:0 -i pop:peek > > In Instr: No such device or address > > > > It didn't seem to be set properly. > > When I have executed "mplsadm2 -d", the output of the above command is > > > > mpls_set_in_label_instructions: enter > > mpls_in_info_hold: enter > > mpls_in_info_hold: new count 2 > > mpls_in_info_hold: exit > > mpls_instruction_build: enter > > mpls_instruction_build: exit(2) > > mpls_instruction_clear: enter > > mpls_instruction_clear: exit > > mpls_in_info_release: enter > > mpls_in_info_release: new count 1 > > mpls_in_info_release: exit > > mpls_set_in_label_structions: exit > > > > What should I do? > > I hope any help. _________________________________________________________________ メッセンジャーで総額1億円プレゼント! http://im.msn.co.jp/home.htm |
|
From: James R. L. <jl...@mi...> - 2004-05-25 02:26:11
|
On Tue, May 25, 2004 at 11:01:31AM +0900, T. Take wrote: > Mr. Leu > > Thanks for your quick reply. > > I have reset LSPs on C as following. > > # mplsadm2 -L eth1:0 > # mplsadm2 -A -I gen:101:0 > # mplsadm2 -A -I gen:201:0 > # mplsadm2 -I gen:101:0 -i pop:peek > In Instr: No such device or address Hmm. I just excuted the above commands on 1.930 (on a 2.6.1 kernel) and it works fine. Obviously something must have changed since 1.172 and 1.930. I do not have a 2.4 kernel to test on. I will try and build a 2.4 environment to test and debug on. My gut response is to tell you to upgrade to 1.930 (which is based on a 2.6 kernel). > But they seemed to be set properly except the last command again. > How should I do this? > > The information of the machine is > > OS : Redhat 8.0 > kernel : 2.4.22 > mpls : mpls-linux-1.172 > > If you could take a few minutes to answer my question, I would really > appreciate it. > > Best regards > > >From: "James R. Leu" <jl...@mi...> > >Reply-To: jl...@mi... > >To: "T. Take" <t_t...@ho...> > >CC: mpl...@li... > >Subject: Re: [mpls-linux-general] Egress Router, how? > >Date: Mon, 24 May 2004 09:05:47 -0500 > > > >On Mon, May 24, 2004 at 06:58:28PM +0900, T. Take wrote: > >> Hi. > >> > >> I have a similar problem. > >> I have executed "MPLS Hierarchy" in README and succeeded to setup 200 > and > >> 202 LSP. > >> > >> 101 > >> 200 201 202 > >> A------B------C------D > > > >Here is how I do it: > > > >on C > >---- > >mplsadm2 -A -I gen:101:0 > >mplsadm2 -A -I gen:201:0 > >mplsadm2 -I gen:101:0 -i pop:peek > > > >on B > >---- > >mplsadm2 -A -O 0 > >mplsadm2 -O 0x2 -o push:gen:101:set:eth1:192.169.1.2 > >mplsadm2 -A -O 0 > >mplsadm2 -O 0x3 -o push:gen:201:fwd:0x2 > >mplsadm2 -A -I gen:200:0 > >mplsadm2 -B -I gen:200:0 -O 0x3 > > > >> > >> But, I had a problem at "On C" setting about 101 and 201. The command > is > >> > >> # mplsadm2 -I gen:101:0 -i pop:peek > >> In Instr: No such device or address > >> > >> It didn't seem to be set properly. > >> When I have executed "mplsadm2 -d", the output of the above command is > >> > >> mpls_set_in_label_instructions: enter > >> mpls_in_info_hold: enter > >> mpls_in_info_hold: new count 2 > >> mpls_in_info_hold: exit > >> mpls_instruction_build: enter > >> mpls_instruction_build: exit(2) > >> mpls_instruction_clear: enter > >> mpls_instruction_clear: exit > >> mpls_in_info_release: enter > >> mpls_in_info_release: new count 1 > >> mpls_in_info_release: exit > >> mpls_set_in_label_structions: exit > >> > >> What should I do? > >> I hope any help. > > _________________________________________________________________ > ?$B%a%C%;%s%8%c!<$GAm3[1?$B2/1_%W%l%<%s%H!* http://im.msn.co.jp/home.htm -- James R. Leu jl...@mi... |
|
From: T. T. <t_t...@ho...> - 2004-06-15 05:58:06
|
Hello. I have tried to update. kernel: 2.6.1 mplsadm: 1.922 I executed the following command, but I didn't succeed. # make mrproper # patch -p1 < ../mpls-linux/patches/linux-kernel.diff # cp /boot/config-2.4.18 .config # make oldconfig # make menuconfig # make CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD [M] net/mpls/mpls.o net/mpls/mpls_netlink.o: In function `mpls_netlink_init': net/mpls/mpls_netlink.o(.init.text+0x0): multiple definition of `init_module' net/mpls/mpls_init.o(.init.text+0xb0): first defined here ld: Warning: size of symbol `init_module' changed from 472 to 48 in net/mpls/mpl s_netlink.o net/mpls/mpls_netlink.o: In function `cleanup_module': net/mpls/mpls_netlink.o(.exit.text+0x0): multiple definition of `cleanup_module' net/mpls/mpls_init.o(.exit.text+0x20): first defined here ld: Warning: size of symbol `cleanup_module' changed from 231 to 8 in net/mpls/m pls_netlink.o make[2]: *** [net/mpls/mpls.o] error 1 make[1]: *** [net/mpls] error 2 make: *** [net] error 2 If you could take a few minutes to answer my question, I would really appreciate it. Best regards >From: "James R. Leu" <jl...@mi...> >Reply-To: jl...@mi... >To: "T. Take" <t_t...@ho...> >CC: mpl...@li... >Subject: Re: [mpls-linux-general] Egress Router, how? >Date: Mon, 24 May 2004 21:26:05 -0500 > >On Tue, May 25, 2004 at 11:01:31AM +0900, T. Take wrote: > > Mr. Leu > > > > Thanks for your quick reply. > > > > I have reset LSPs on C as following. > > > > # mplsadm2 -L eth1:0 > > # mplsadm2 -A -I gen:101:0 > > # mplsadm2 -A -I gen:201:0 > > # mplsadm2 -I gen:101:0 -i pop:peek > > In Instr: No such device or address > >Hmm. I just excuted the above commands on 1.930 (on a 2.6.1 kernel) and >it works fine. Obviously something must have changed since 1.172 and 1.930. >I do not have a 2.4 kernel to test on. I will try and build a 2.4 environment >to test and debug on. > >My gut response is to tell you to upgrade to 1.930 (which is based on a >2.6 kernel). > > > > But they seemed to be set properly except the last command again. > > How should I do this? > > > > The information of the machine is > > > > OS : Redhat 8.0 > > kernel : 2.4.22 > > mpls : mpls-linux-1.172 > > > > If you could take a few minutes to answer my question, I would really > > appreciate it. > > > > Best regards > > > > >From: "James R. Leu" <jl...@mi...> > > >Reply-To: jl...@mi... > > >To: "T. Take" <t_t...@ho...> > > >CC: mpl...@li... > > >Subject: Re: [mpls-linux-general] Egress Router, how? > > >Date: Mon, 24 May 2004 09:05:47 -0500 > > > > > >On Mon, May 24, 2004 at 06:58:28PM +0900, T. Take wrote: > > >> Hi. > > >> > > >> I have a similar problem. > > >> I have executed "MPLS Hierarchy" in README and succeeded to setup 200 > > and > > >> 202 LSP. > > >> > > >> 101 > > >> 200 201 202 > > >> A------B------C------D > > > > > >Here is how I do it: > > > > > >on C > > >---- > > >mplsadm2 -A -I gen:101:0 > > >mplsadm2 -A -I gen:201:0 > > >mplsadm2 -I gen:101:0 -i pop:peek > > > > > >on B > > >---- > > >mplsadm2 -A -O 0 > > >mplsadm2 -O 0x2 -o push:gen:101:set:eth1:192.169.1.2 > > >mplsadm2 -A -O 0 > > >mplsadm2 -O 0x3 -o push:gen:201:fwd:0x2 > > >mplsadm2 -A -I gen:200:0 > > >mplsadm2 -B -I gen:200:0 -O 0x3 > > > > > >> > > >> But, I had a problem at "On C" setting about 101 and 201. The command > > is > > >> > > >> # mplsadm2 -I gen:101:0 -i pop:peek > > >> In Instr: No such device or address > > >> > > >> It didn't seem to be set properly. > > >> When I have executed "mplsadm2 -d", the output of the above command is > > >> > > >> mpls_set_in_label_instructions: enter > > >> mpls_in_info_hold: enter > > >> mpls_in_info_hold: new count 2 > > >> mpls_in_info_hold: exit > > >> mpls_instruction_build: enter > > >> mpls_instruction_build: exit(2) > > >> mpls_instruction_clear: enter > > >> mpls_instruction_clear: exit > > >> mpls_in_info_release: enter > > >> mpls_in_info_release: new count 1 > > >> mpls_in_info_release: exit > > >> mpls_set_in_label_structions: exit > > >> > > >> What should I do? > > >> I hope any help. _________________________________________________________________ メッセンジャーで総額1億円プレゼント! http://im.msn.co.jp/home.htm |
|
From: James R. L. <jl...@mi...> - 2004-06-15 14:27:53
|
What makes you think your .config from 2.4.18 will work on a 2.6.1 kernel? Make sure to that MPLS is not a module. On Tue, Jun 15, 2004 at 02:57:58PM +0900, T. Take wrote: > Hello. > > I have tried to update. > > kernel: 2.6.1 > mplsadm: 1.922 > > I executed the following command, but I didn't succeed. > > # make mrproper > # patch -p1 < ../mpls-linux/patches/linux-kernel.diff > # cp /boot/config-2.4.18 .config > # make oldconfig > # make menuconfig > # make > > CHK include/linux/compile.h > UPD include/linux/compile.h > CC init/version.o > LD init/built-in.o > LD [M] net/mpls/mpls.o > net/mpls/mpls_netlink.o: In function `mpls_netlink_init': > net/mpls/mpls_netlink.o(.init.text+0x0): multiple definition of > `init_module' > net/mpls/mpls_init.o(.init.text+0xb0): first defined here > ld: Warning: size of symbol `init_module' changed from 472 to 48 in > net/mpls/mpl > s_netlink.o > net/mpls/mpls_netlink.o: In function `cleanup_module': > net/mpls/mpls_netlink.o(.exit.text+0x0): multiple definition of > `cleanup_module' > net/mpls/mpls_init.o(.exit.text+0x20): first defined here > ld: Warning: size of symbol `cleanup_module' changed from 231 to 8 in > net/mpls/m > pls_netlink.o > make[2]: *** [net/mpls/mpls.o] error 1 > make[1]: *** [net/mpls] error 2 > make: *** [net] error 2 > > > > If you could take a few minutes to answer my question, I would really > appreciate it. > > Best regards > > >From: "James R. Leu" <jl...@mi...> > >Reply-To: jl...@mi... > >To: "T. Take" <t_t...@ho...> > >CC: mpl...@li... > >Subject: Re: [mpls-linux-general] Egress Router, how? > >Date: Mon, 24 May 2004 21:26:05 -0500 > > > >On Tue, May 25, 2004 at 11:01:31AM +0900, T. Take wrote: > >> Mr. Leu > >> > >> Thanks for your quick reply. > >> > >> I have reset LSPs on C as following. > >> > >> # mplsadm2 -L eth1:0 > >> # mplsadm2 -A -I gen:101:0 > >> # mplsadm2 -A -I gen:201:0 > >> # mplsadm2 -I gen:101:0 -i pop:peek > >> In Instr: No such device or address > > > >Hmm. I just excuted the above commands on 1.930 (on a 2.6.1 kernel) and > >it works fine. Obviously something must have changed since 1.172 and > 1.930. > >I do not have a 2.4 kernel to test on. I will try and build a 2.4 > environment > >to test and debug on. > > > >My gut response is to tell you to upgrade to 1.930 (which is based on a > >2.6 kernel). > > > > > >> But they seemed to be set properly except the last command again. > >> How should I do this? > >> > >> The information of the machine is > >> > >> OS : Redhat 8.0 > >> kernel : 2.4.22 > >> mpls : mpls-linux-1.172 > >> > >> If you could take a few minutes to answer my question, I would really > >> appreciate it. > >> > >> Best regards > >> > >> >From: "James R. Leu" <jl...@mi...> > >> >Reply-To: jl...@mi... > >> >To: "T. Take" <t_t...@ho...> > >> >CC: mpl...@li... > >> >Subject: Re: [mpls-linux-general] Egress Router, how? > >> >Date: Mon, 24 May 2004 09:05:47 -0500 > >> > > >> >On Mon, May 24, 2004 at 06:58:28PM +0900, T. Take wrote: > >> >> Hi. > >> >> > >> >> I have a similar problem. > >> >> I have executed "MPLS Hierarchy" in README and succeeded to setup > 200 > >> and > >> >> 202 LSP. > >> >> > >> >> 101 > >> >> 200 201 202 > >> >> A------B------C------D > >> > > >> >Here is how I do it: > >> > > >> >on C > >> >---- > >> >mplsadm2 -A -I gen:101:0 > >> >mplsadm2 -A -I gen:201:0 > >> >mplsadm2 -I gen:101:0 -i pop:peek > >> > > >> >on B > >> >---- > >> >mplsadm2 -A -O 0 > >> >mplsadm2 -O 0x2 -o push:gen:101:set:eth1:192.169.1.2 > >> >mplsadm2 -A -O 0 > >> >mplsadm2 -O 0x3 -o push:gen:201:fwd:0x2 > >> >mplsadm2 -A -I gen:200:0 > >> >mplsadm2 -B -I gen:200:0 -O 0x3 > >> > > >> >> > >> >> But, I had a problem at "On C" setting about 101 and 201. The > command > >> is > >> >> > >> >> # mplsadm2 -I gen:101:0 -i pop:peek > >> >> In Instr: No such device or address > >> >> > >> >> It didn't seem to be set properly. > >> >> When I have executed "mplsadm2 -d", the output of the above command > is > >> >> > >> >> mpls_set_in_label_instructions: enter > >> >> mpls_in_info_hold: enter > >> >> mpls_in_info_hold: new count 2 > >> >> mpls_in_info_hold: exit > >> >> mpls_instruction_build: enter > >> >> mpls_instruction_build: exit(2) > >> >> mpls_instruction_clear: enter > >> >> mpls_instruction_clear: exit > >> >> mpls_in_info_release: enter > >> >> mpls_in_info_release: new count 1 > >> >> mpls_in_info_release: exit > >> >> mpls_set_in_label_structions: exit > >> >> > >> >> What should I do? > >> >> I hope any help. > > _________________________________________________________________ > ?$B%a%C%;%s%8%c!<$GAm3[1?$B2/1_%W%l%<%s%H!* http://im.msn.co.jp/home.htm > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > 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-05-24 14:09:08
|
On Mon, May 24, 2004 at 06:58:28PM +0900, T. Take wrote: > Hi. > > I have a similar problem. > I have executed "MPLS Hierarchy" in README and succeeded to setup 200 and > 202 LSP. > > 101 > 200 201 202 > A------B------C------D Here is how I do it: on C ---- mplsadm2 -A -I gen:101:0 mplsadm2 -A -I gen:201:0 mplsadm2 -I gen:101:0 -i pop:peek on B ---- mplsadm2 -A -O 0 mplsadm2 -O 0x2 -o push:gen:101:set:eth1:192.169.1.2 mplsadm2 -A -O 0 mplsadm2 -O 0x3 -o push:gen:201:fwd:0x2 mplsadm2 -A -I gen:200:0 mplsadm2 -B -I gen:200:0 -O 0x3 > > But, I had a problem at "On C" setting about 101 and 201. The command is > > # mplsadm2 -I gen:101:0 -i pop:peek > In Instr: No such device or address > > It didn't seem to be set properly. > When I have executed "mplsadm2 -d", the output of the above command is > > mpls_set_in_label_instructions: enter > mpls_in_info_hold: enter > mpls_in_info_hold: new count 2 > mpls_in_info_hold: exit > mpls_instruction_build: enter > mpls_instruction_build: exit(2) > mpls_instruction_clear: enter > mpls_instruction_clear: exit > mpls_in_info_release: enter > mpls_in_info_release: new count 1 > mpls_in_info_release: exit > mpls_set_in_label_structions: exit > > What should I do? > I hope any help. > > >From: Jung Janos <jj...@hs...> > >To: mpl...@li... > >Subject: [mpls-linux-general] Egress Router, how? > >Date: Wed, 10 Mar 2004 16:07:18 +0100 (MET) > > > >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? > > _________________________________________________________________ > ?$B%a%C%;%s%8%c!<$GAm3[1?$B2/1_%W%l%<%s%H!* http://im.msn.co.jp/home.htm > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |