[mpls-linux-devel] mpls-linux 1.946 released
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2005-01-24 04:40:45
|
I have just uploaded the binary and source RPMs for mpls-linux 1.946, tarballs will follow soon. Release Name: 1.946 Notes: The binaries RPMs are built on a Fedora Core 2 installation. The source RPMs can be used to build binary RPMs for other RPM systems. Their is no longer a mplsadm2 utility. The CLI for creating LSPs is now implemented in the 'mpls' utility which is part of the iproute2 package. Changes: Kernel changes ----------------- -remove the procfs interface -remove most of the sysfs interface -remove the IOCTL API -finish the netlink API -MPLS tunnel interface is no longer a module -add counter support to the netlink API iproute2 changes ------------------- -add all instructions to the 'mpls' utility -add tunnel support to the 'mpls' utility -add counter support to the 'mpls' utility -add mpls-linux version to -V command iptables changes ------------------ -add mpls-linux version to the -V command quagga ------ -add the new MPLS framework I will be updating the mpls-linux.sf.net web page with updated examples using the 'mpls' utility and the new quagga CLI. For now here are some simple examples: 'mpls' utility usage -------------------- mpls nhlfe add key 0 instructions push gen 16 nexthop wlan0 ipv4 192.168.2.1 (output: "Key: 0x2") mpls ilm add label gen 16 labelspace 0 mpls labelspace add dev eth0 labelspace 0 mpls xc add ilm_label gen 16 ilm_labelspace 0 nhlfe_key 0x2 mpls tunnel add dev mpls0 key 0x2 ip route add 10.0.0.0/24 via 192.168.2.1 spec_nh 0x8847 0x2 quagga MPLS CLI --------------- Ingress LER ----------- iler# conf t iler(config)# ip route 10.0.0.0/24 gen 16 nexthop eth1 192.168.2.1 iler(config)# end iler# show mpls forwarding Insegments: Total 0 Outsegments: Interface Label Next Hop Owner eth1 16 192.168.2.1 STATIC Total 1 Cross Connects: Total 0 iler# show ip route 10.0.0.0/24 Routing entry for 10.0.0.0/24 Known via "static", distance 1, metric 0, best * 192.168.2.1, via eth1 (label 16) iler# LSR --- lsr# conf t lsr(config)# mpls static 0 lsr(config-ls)# label-map gen 16 swap gen 17 nexthop eth1 192.168.3.1 lsr(config-ls)# exit lsr(config)# int eth0 lsr(config-if)# mpls labelspace 0 lsr(config-if)# end lsr# show mpls forwarding Insegments: Lbl Spc Label Owner 0 16 STATIC Total 1 Outsegments: Interface Label Next Hop Owner eth1 17 192.168.3.1 STATIC Total 1 Cross Connects: Lbl Spc In Label Out Label Interface Next Hop Owner 0 16 17 eth1 192.168.3.1 STATIC Total 1 lsr# show interface eth0 Interface eth0 is up, line protocol detection is disabled index 8 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST> HWaddr: 00:05:5d:a6:e4:33 MPLS labelspace 0 inet 192.168.2.1/24 broadcast 192.168.2.255 inet6 fe80::205:5dff:fea6:e433/64 input packets 2737, bytes 1650440, dropped 0, multicast packets 0 input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0 output packets 2862, bytes 452923, dropped 0 output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0 collisions 0 lsr# Egress LER ---------- eler# conf t eler(config)# int eth0 eler(config-if)# mpls labelspace 0 eler(config-if)# exit eler(config)# mpls static 0 eler(config-ls)# label-map gen 17 pop eler(config-ls)# end eler# show mpls forwarding Insegments: Lbl Spc Label Owner 0 17 STATIC Total 1 Outsegments: Total 0 Cross Connects: Total 0 eler# show int eth0 Interface eth0 is up, line protocol detection is disabled index 8 metric 1 mtu 1500 <UP,BROADCAST,MULTICAST> HWaddr: 00:05:5d:a6:e4:33 MPLS labelspace 0 inet 192.168.3.1/24 broadcast 192.168.3.255 inet6 fe80::205:5dff:fea6:e433/64 input packets 2759, bytes 1657918, dropped 0, multicast packets 0 input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0 output packets 2881, bytes 454579, dropped 0 output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0 collisions 0 eler# Please post questions to the mpl...@li... -- James R. Leu jl...@mi... |