Re: [mpls-linux-general] Binding a MOI to a tunnel in kernel 2.6
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-06-03 14:00:48
|
Can you send me the output of 'dmesg' after doing the above steps? Thanks On Thu, Jun 03, 2004 at 06:32:14PM +1000, Jon...@cs... wrote: > Dear all, > > Just upgraded one of my linux mpls boxes to Fedora Core 2 and linux mpls > 1.992. Sorry if this question has been asked before... But how can I > bind a MOI to a tunnel?? > > Basically, I tried to use "echo 0xkey > > /sys/mpls/mpls_tunnel/mtp-tunnel_name/moi. But nothing seems being set > if I look at /proc/net/mpls. > > Did I do anything stupid or am I just looking at the wrong place?? This > is the log of events... > > [root@saturn]# mplsadm2 -AO 0 -o push:gen:2000:set:eth1:ipv4:10.70.10.1 > MPLSADM mplsadm.c:692:main: Out segment input: 0 > MPLSADM mplsadm.c:688:main: Out instr input: > push:gen:2000:set:eth1:ipv4:10.70.10.1 > Key: 0x00000003 > Out Segment add: Success > MPLSADM mplsadm.c:292:fill_instructions: Instruction: push > MPLSADM mplsadm.c:229:fill_label: Label type: gen > MPLSADM mplsadm.c:292:fill_instructions: Instruction: set > MPLSADM mplsadm.c:181:parse_nh_info: eth1 > MPLSADM mplsadm.c:182:parse_nh_info: 10.70.10.1 > MPLSADM mplsadm.c:204:parse_nh_info: Nexthop protocol: ipv4 > MPLSADM mplsadm.c:596:fill_instructions: Length: 2 > Out Instr: Success > > [root@saturn]# mplsadm2 -AT tunnel1 > MPLSADM mplsadm.c:696:main: Tunnel input: tunnel1 > > [root@saturn]# ifconfig tunnel1 10.70.10.2 netmask 255.255.255.255 > > [root@saturn]# mplsadm2 -BO 0x00000003 -T tunnel1 > MPLSADM mplsadm.c:692:main: Out segment input: 0x00000003 > MPLSADM mplsadm.c:696:main: Tunnel input: tunnel1 > Using mplsadm2 to bind/unbind MOIs to tunnels is deprecated in 2.6 > Use: > echo "<key>|0" > /sys/mpls/mpls_tunnel/mtp-tunnel1/moi > to bind / unbind a MOI to a tunnel > Bind/Unbind MOI: Invalid argument > > [root@saturn]# echo "0x3" > /sys/mpls/mpls_tunnel/mtp-tunnel1/moi > > [root@saturn]# cat /sys/mpls/mpls_tunnel/mtp-tunnel1/moi > moi: 0 > > [root@saturn]# cat /proc/net/mpls/tunnels > tunnel1 0x00000000 > > Any comments/suggestions are much appreciated... > > Cheers, > Jonathan > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |