[mpls-linux-general] LSP ????
Status: Beta
Brought to you by:
jleu
|
From: taufico j. <tau...@ya...> - 2005-09-06 17:22:36
|
my MPLS test bed
A B C D E
==1.1---1.2==2.1---2.2==4.2---4.1==5.1---5.2==
3.1----------------------------3.2
linux pc= A,B,C,D, and E
note: B and D consists 3 NICs
: A,C and E consists 2 NICs
: "---" cable
: "==" linuc pc
Hello...I already try the example from (how to set up LSP) through this web page http://mpls-linux.sourceforge.net/simple.php . Thus the set up was successful between A and B (please refer to my test bed above). I also tried to set up LSP between B and A ..and it also was succesful.
My questions are:
1) I got confius when I want to set up LSP between A and C, also between B and D and so forth. How the set up will be? How to set up the ip route between them ?
2) This test-bed intended to transmit MPLS packet from A to E using "ping" command. The packet has two choices, either go through (A)1.1 --1.2--2.1--2.2--4.2--4.1--5.1--5.2(E) or (A)1.1--1.2--3.1--3.2--5.1--5.2(E). For example, output packet from A (gen 16) will go to B to C to D and finally E, while ouput packet from A (gen 20) will go to B to D and finally E. How this network design can be achieved ?
3) Before the LSP has been set up between A and B, I had set up the kernel routing table at each computer to enable computer A to ping each NIC. Do I have to change anything in "kernel routing table" in order to create Label routing table ?
4) From your example given :
uml1
----
[root@uml1 root]# cat /sys/mpls/version
1.946
[root@uml1 root]# mpls nhlfe add key 0
Key: 0x00000002
[root@uml1 root]# mpls nhlfe change key 0x2 instructions push gen 10000 nexthop eth1 ipv4 11.0.1.2
[root@uml1 root]# ip route add 11.0.1.2/32 via 11.0.1.2 spec_nh 0x8847 0x2
[root@uml1 root]# mpls nhlfe show
NHLFE entry key 0x00000002 mtu 1496 propagate_ttl
push gen 10000 set eth1 ipv4 11.0.1.2 (0 bytes, 0 pkts, 0 dropped)
[root@uml1 root]# ip route show
11.0.1.2 via 11.0.1.2 dev eth1 spec_nh 0x8847 0x2 192.168.2.0/24 dev eth0 scope link
11.0.1.0/24 dev eth1 proto kernel scope link src 11.0.1.1
127.0.0.0/8 dev lo scope link
[root@uml1 root]#
3i) What is the meaning of
"add key 0"
"key 0x2"
"spec_nh 0x8847 0x2"
From your example, I know the packet is labeled with 10000 and uml2 is set up to receive only MPLS packet with label 1000.
Can somebody help me..my project is nearly success...
Send instant messages to your online friends http://asia.messenger.yahoo.com |