Re: [mpls-linux-general] Egress Router, how?
Status: Beta
Brought to you by:
jleu
|
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... |