[mpls-linux-general] (no subject)
Status: Beta
Brought to you by:
jleu
From: rong c. <che...@ho...> - 2006-01-31 08:24:32
|
I have done what you said: 1. Install Fedora Core 3 on all pc"s > >> 2. download the kernel 2.6.9 from > >> www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.9.tar.bz2 > >> 1. move dowloaded file to /usr/src/ > >> 3. download mpls files and move them to /usr/src/ directory: > >> 1. iproute-2.6.9-3mpls1_946.i386.rpm > >> 2. mpls-linux-1.946a.tar.bz2 > >> 4. in /usr/src/ do this: > >> 1. tar xfvj linux-2.6.9.tar.bz2 > >> 2. tar xfvj mpls-linux-1.946a.tar.bz2 > >> 5. next: > >> 1. cd linux-2.6.9 > >> 2. pathc ?p1 < ../mpls-linux/patches/linux-kernel.diff > >> 6. after you pathced the kernel with mpls, you have to configure it > >> 1. www.digitalhermit.com/linux/Kernel-Build-HOWTO.html > >> <http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html> > >> 2. + Device Drivers > >> | > >> +-> + Networking Support > >> | > >> +-> + Networking Support > >> | > >> +-> + Networking Options > >> | > >> +-> [y] Multiprotocol Label Switching > >> | > >> +-> + TCP/IP networking > >> | > >> +-> [y] IP: MPLS support > >> | > >> +-> + Networking packet filtering (replaces ipchains) > >> | > >> +-> + IP: Netfilter Configuration > >> | > >> +-> [y] IP tables support (required for filtering/masq/NAT) > >> | > >> +-> [y] spec_nh target support > >> > >> [root@panos linux-2.6.9]# make > >> [root@panos linux-2.6.9]# make modules_install > >> [root@panos linux-2.6.9]# make install > >> 3. and do reboot > >> 7. after these steps there is one thing to do: > >> 1. in /usr/src/ directory do this (if is needed file here) > >> 2. rpm ?Uvh iproute-2.6.9-3mpls1_946.i386.rpm but when I run "mpls nhlfe add key 0" I got error RTNETLINK answers: Invalid argument and "mpls nhlfe show" got strange error NHLFE entry key 0x00000000 mtu 1702127664 (0 bytes, 0 pkts, 0 dropped) NHLFE entry key 0x00000000 mtu 1819213824 (0 bytes, 0 pkts, 0 dropped) NHLFE entry key 0x00000000 mtu 1685417325 propagate_ttl (0 bytes, 0 pkts, 0 dropped) NHLFE entry key 0x00000000 mtu 1953853036 propagate_ttl (0 bytes, 0 pkts, 0 dropped) NHLFE entry key 0x00000000 mtu 1735550256 (0 bytes, 0 pkts, 0 dropped) NHLFE entry key 0x00000000 mtu 1936290864 (0 bytes, 0 pkts, 0 dropped) "mpls labelspace add dev eth0 labelspace 0" got error RTNETLINK answers: Cannot assign requested address But other tools like iptables, ip work well. . Could you help me ? thank you!!!! davis chen |