Re: [mpls-linux-general] mpls nhlfe change key >> RTNETLINK answers: Operation not permitted
Status: Beta
Brought to you by:
jleu
From: James L. <jl...@mi...> - 2009-08-04 12:58:11
|
Turn on MPLS kernel debugging: echo 1 > /proc/net/mpls/debug Run the series of commands again, and then run 'dmesg' to see the output of the debugging and see if you can find the function that is failing. Send your findings to the list. On Tue, Aug 04, 2009 at 02:13:04AM -0700, kuldonk doenk wrote: > to: mr jleu & all > I try to build MPLS testbed. > under this configuration. > > > LERA - LSR - LERB > eth1(192.168.2.1) eth0(192.168.2.2) eth1xxxx > > on LERA : > > [root@localhost ~]# dmesg | grep -i mpls > Linux version 2.6.26.6-49.fc8.mpls.1.962 > (jleu@dev8-1) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Mon Nov 17 > 22:10:38 CST 2008 > MPLS: version 1.962 > MPLS: protocol driver interface - > <jl...@mi...> > usb usb1: Manufacturer: Linux > 2.6.26.6-49.fc8.mpls.1.962 ehci_hcd > usb usb2: Manufacturer: Linux > 2.6.26.6-49.fc8.mpls.1.962 uhci_hcd > usb usb3: Manufacturer: Linux > 2.6.26.6-49.fc8.mpls.1.962 uhci_hcd > usb usb4: Manufacturer: Linux > 2.6.26.6-49.fc8.mpls.1.962 uhci_hcd > usb usb5: Manufacturer: Linux > 2.6.26.6-49.fc8.mpls.1.962 uhci_hcd > [root@localhost ~]# echo "1" > > /proc/sys/net/mpls/debug > [root@localhost ~]# cat > /proc/sys/net/mpls/debug > 1 > [root@localhost ~]# modprobe -r mpls4 > [root@localhost ~]# mpls nhlfe add key 0 > NHLFE entry key 0x00000002 mtu 0 > propagate_ttl > (0 bytes, 0 pkts) > [root@localhost ~]# mpls nhlfe change key > 0x2 instructions push gen 16 nexthop eth1 ipv4 192.168.2.2 > RTNETLINK answers: Operation not permitted > [root@localhost ~]# mpls nhlfe show > NHLFE entry key 0x00000002 mtu 0 > propagate_ttl > (0 bytes, 0 pkts) > > why result like this?? RTNETLINK answers: Operation not permitted > > thanks. > > > bestregard > > kuldonk > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |